colordistance - Distance Metrics for Image Color Similarity
Loads and displays images, selectively masks specified background colors, bins pixels by color using either data-dependent or automatically generated color bins, quantitatively measures color similarity among images using one of several distance metrics for comparing pixel color clusters, and clusters images by object color similarity. Uses CIELAB, RGB, or HSV color spaces. Originally written for use with organism coloration (reef fish color diversity, butterfly mimicry, etc), but easily applicable for any image set.
Last updated 1 years ago
7.93 score 37 stars 2 dependents 76 scripts 506 downloadscountcolors - Locates and Counts Pixels Within Color Range(s) in Images
Counts colors within color range(s) in images, and provides a masked version of the image with targeted pixels changed to a different color. Output includes the locations of the pixels in the images, and the proportion of the image within the target color range with optional background masking. Users can specify multiple color ranges for masking.
Last updated 5 years ago
5.34 score 10 stars 22 scripts 372 downloads