Enum ColorComparisonMode

ColorComparisonMode enumeration

Specifies how colors are compared during the Magic Wand algorithm.

public enum ColorComparisonMode

Values

NameValueDescription
RgbDefault0Colors are compared in the RGB color space. Every color difference must satisfy the threshold.
YuvDefault1Colors are compared in the YUV color space. Every color difference must satisfy the threshold.
YuvLessLumaSensitive2Colors are compared in the YUV color space. Color information differences must satisfy the threshold, the threshold for luminance component is doubled.
Custom3Color comparison algorithm is defined by user.

See Also