is an option for DominantColors that specifies the minimum distance between returned colors.
MinColorDistance
is an option for DominantColors that specifies the minimum distance between returned colors.
Details
- In DominantColors, distances between representative colors are compared using ColorDistance.
Examples
open all close allBasic Examples (1)
By default, DominantColors uses an automatic value for minimum color distance:
i = [image];DominantColors[i]DominantColors[i, MinColorDistance -> 0]Scope (1)
In DominantColors, the number of returned colors increases as the minimum distance is decreased:
Table[DominantColors[[image], MinColorDistance -> d], {d, 1, 0, -.2}]//ColumnHistory
Text
Wolfram Research (2014), MinColorDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/MinColorDistance.html.
CMS
Wolfram Language. 2014. "MinColorDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MinColorDistance.html.
APA
Wolfram Language. (2014). MinColorDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MinColorDistance.html
BibTeX
@misc{reference.wolfram_2026_mincolordistance, author="Wolfram Research", title="{MinColorDistance}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/MinColorDistance.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_mincolordistance, organization={Wolfram Research}, title={MinColorDistance}, year={2014}, url={https://reference.wolfram.com/language/ref/MinColorDistance.html}, note=[Accessed: 12-June-2026]}