ColorComparisonMode

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class ColorComparisonMode extends System.Enum

Specifies how colors are compared during the Magic Wand algorithm.

Fields

FieldDescription
RgbDefaultColors are compared in the RGB color space.
YuvDefaultColors are compared in the YUV color space.
YuvLessLumaSensitiveColors are compared in the YUV color space.
CustomColor comparison algorithm is defined by user.

RgbDefault

public static final int RgbDefault

Colors are compared in the RGB color space. Every color difference must satisfy the threshold.

YuvDefault

public static final int YuvDefault

Colors are compared in the YUV color space. Every color difference must satisfy the threshold.

YuvLessLumaSensitive

public static final int YuvLessLumaSensitive

Colors are compared in the YUV color space. Color information differences must satisfy the threshold, the threshold for luminance component is doubled.

Custom

public static final int Custom

Color comparison algorithm is defined by user.