Table 1. Primary colordistance functions and descriptions.
Function | Description |
---|---|
loadImage | Import image as 3D array and generate filtered 2D pixel array(s) of non-masked objects |
convertColorSpace | Convert pixels between different color spaces (CIE Lab, RGB, and HSV) |
plotPixels | Plot pixels from an image in color space |
getImageHist and getHistList | Generate a 3D histogram based on color distribution in an image (or list of histograms for a set of images) |
getKMeanColors and getKMeansList | Generate color clusters using k-means clustering for an image (or list of clusters for a set of images) |
combineList | Combine a list of cluster features into a single cluster set |
getColorDistanceMatrix | Generate a distance matrix for a list of color histograms or cluster sets |
imageClusterPipeline | Generate and plot a color distance matrix from a set of images |