Table of Contents 1. Normalize the scale of all pictures in a file 2. View the RGB value of each pixel of an image 3. Switch the specified color to other colors (switch red to white in the code) 4. Switch all pictures in a file from png to jpg 5. Rename all images in […]
Tag: png
[Convert data set format] dcm to nii, mhd to nii, nii to nii.gz, nrrd to nii, jpg to png, patch the image,
Blogger WeChat cvxiayixiao [Segment Anything Model] Column on computer vision detection and segmentation tasks. Link [Public Data Set Preprocessing] Especially the acceptance and preprocessing of medical public data sets, code explanations are provided. Link [opencv + image processing] Opencv code library explanation, combined with image processing knowledge, is not just a library adjustment. Link [opencv […]
labelme: Convert label files in json format to png format
Single transfer Use the labelme_json_to_dataset command in labelme. 1. First create the labelme virtual environment. conda create –name=labelme python=3.6 2. If you create a labelme virtual environment, activate this environment first and then install it. conda activate labelme pip install labelme conda activate + virtual environment name Mine is called labelme. Of course, if you […]
Js uses ffmpeg to add png or gif to video
Js uses ffmpeg to add png or gif to the video ffmpeg The usage scenario is to edit the video on the web and add pictures and gifs. Note: All the following use cases are based on vue3 setup. At the same time, different @ffmpeg versions will lead to different APIs used. You need to […]
[E-book conversion] Read the pdg files in the specified folder and convert them to png and then to PDF, perfect
When I downloaded a book from an e-book download website and wanted to read it, I opened it and found: It’s not in PDF format, it’s in .pdg. Although it can be opened with Paint, it would affect the reading speed too much. So I thought, since it’s a picture, can I convert it to […]
Labelme does data labeling and batch processing of json files into png methods
Labelme data label production 1. Labelme installation 1. Download and install Anaconda 2. Virtual environment construction and labelme package installation (1) Virtual environment construction (2) labelme package installation 2. Use of Labelme: Label production 1. Label images with categories (make fault samples) 2. Label uncategorized images (make positive samples) 3. Convert the json file generated […]
C# manually parses grayscale PNG images into Bitmap
Question: When directly using the file path to load an 8-bit grayscale PNG image as a Bitmap, the format of the Bitmap will be Format32bppArgb instead of Format8bppIndexed. This will affect some judgments, so you need to manually parse the PNG data to construct the Bitmap step 1. Determine file format If you don’t know […]
vue3 – Import and use Element Plus icons, iconify icons, and local SVG/PNG icons on demand
GitHub Demo address Online preview vue3 – Import and use Element Plus icons, iconify icons, and local SVG/PNG icons on demand [GitHub Demo address](https://github.com/iotjin/jh-vue3-admin) [Online preview](https://iotjin.github.io/jh-vue3-admin) 1. iconify plug-in Install use renderings 2. Use iconify through automatic import Install Element Plus Install the automatic import plug-in Install the automatic import Icon plug-in Using Element Plus […]
[ACDC Data Set]: Preprocess ACDC cardiac 3D MRI image data set to VOC data set format, convert nii to jpg, label to png
[Segment Anything Model] Column link for segmentation, welcome to learn. [Blogger WeChat]cvxiaoyixiao This column is the introduction and preprocessing of public data sets and is being updated continuously. Article directory 1 ACDC data set introduction 2 ACDC data set sample 3 Preprocessing ACDC target 4 Processing result sample 5 Code 6 Divide test set and […]
#005 Python implements batch Word to PNG images
A netizen left a message in the WordtoPDF article asking whether there is WORDTOPNG. If there is demand, it must be arranged. We will chat after the business scenario is completed. 1. Idea First method: Use the WORD TO PDF library (win32com.client) to implement After checking the information, I found that the WdSaveFormat in the […]