Batch image process tools mainly designed for dataset preprocessing
thread
The thread pool size for parallel operations
crop-rectangle
Crop a rectangle region of the imagenormalize
Normalize image to given rangemap-color
Map one RGB color to another in a given PNG image filemap-background-color
Map all the non-valid color in the image to a given colorsplit-images
Split large images to small pieces for augmentation purposessplit-images-with-bias
Split large images to small pieces for augmentation purposes with bias (Bias is added between each split)split-images-with-filter
Split large images to small pieces with a filter for enough valid pixelsclass2rgb
Map 8 bit grayscale PNG class image to RGB imagergb2class
Map RGB image to 8 bit grayscale PNG class imageresize-images
Resize all images in a given folder to a given size with a given filterrgb2rle
Convert RGB semantic segmentation PNG labels to RLE formatsplit-dataset
Split dataset into train and test setscount-classes
Count class for 8 bit PNG image & Calc class balance weightstrip-image-edge
Strip image edgesstich-images
Stich the splited images back togethercalc-mean-std
Calc the mean and std of a dataset for normalizationcalc-iou
Calc the IoU of two images
split-dataset
Split dataset into train and test sets Will store result in TXT filecount-types
Count the object number of each type in the datasetrgb2yolo
Convert RGB labels to YOLO TXT format