MaxColorDistance
is an option to specify the maximum distance allowed between colors.
Details
- Color distances are typically computed using ColorDistance. Most functions take a DistanceFunction option to specify a metric to be computed.
Examples
open allclose allBasic Examples (2)
MaxColorDistance can specify the maximum allowed distance between colors:
Increase the maximum distance to match more colors to red:
The default distance threshold might not always provide a match:
Use a higher MaxColorDistance to match a broader color range:
Properties & Relations (1)
In certain functions, setting MaxColorDistance is the same as giving a range in ColorsNear:
Text
Wolfram Research (2019), MaxColorDistance, Wolfram Language function, https://reference.wolfram.com/language/ref/MaxColorDistance.html.
CMS
Wolfram Language. 2019. "MaxColorDistance." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MaxColorDistance.html.
APA
Wolfram Language. (2019). MaxColorDistance. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MaxColorDistance.html