DominantColors
[image]DominantColors
[image, n]DominantColors
[image, n, prop]The option “ColorCoverage” specifies the minimum amount of coverage needed to include a dominant color in the result.
The option “MinColorDistance” specifies the distance (in LAB color space) up to which colors are merged and thus regarded as belonging to the same dominant color.
img = Import["ExampleData/hedy.tif"]
DominantColors[img]
DominantColors[img, 3]
DominantColors[img, 3, "Coverage"]
DominantColors[img, 3, "CoverageImage"]
DominantColors[img, 3, "Count"]
DominantColors[img, 2, "LABColor"]
DominantColors[img, MinColorDistance -> 0.5]
DominantColors[img, ColorCoverage -> 0.15]