Batch image process tools mainly designed for dataset preprocessing
threadThe thread pool size for parallel operations
crop-rectangleCrop a rectangle region of the imagenormalizeNormalize image to given rangemap-colorMap one RGB color to another in a given PNG image filemap-background-colorMap all the non-valid color in the image to a given colorsplit-imagesSplit large images to small pieces for augmentation purposessplit-images-with-biasSplit large images to small pieces for augmentation purposes with bias (Bias is added between each split)split-images-with-filterSplit large images to small pieces with a filter for enough valid pixelsclass2rgbMap 8 bit grayscale PNG class image to RGB imagergb2classMap RGB image to 8 bit grayscale PNG class imageresize-imagesResize all images in a given folder to a given size with a given filterrgb2rleConvert RGB semantic segmentation PNG labels to RLE formatsplit-datasetSplit dataset into train and test setscount-classesCount class for 8 bit PNG image & Calc class balance weightstrip-image-edgeStrip image edgesstich-imagesStich the splited images back togethercalc-mean-stdCalc the mean and std of a dataset for normalizationcalc-iouCalc the IoU of two images
split-datasetSplit dataset into train and test sets Will store result in TXT filecount-typesCount the object number of each type in the datasetrgb2yoloConvert RGB labels to YOLO TXT format