Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Image » Image Metrics » ColorDistance_CIE94

ColorDistance_CIE94


Module: FoundationPro

Compares two pixels using CIE94 delta E. Assumes RGB color space.

Name Type Range Description
inPixelA Pixel
inPixelB Pixel
inKL Real 0.0 - The luminance weighting factor (best to use 1.0 for graphic arts and 2.0 for textiles)
inKC Real 0.0 - The chroma weighting factor (usually 1.0)
inKH Real 0.0 - The hue weighting factor (usually 1.0)
inK1 Real 0.0 - 1.0 The secondary chroma weighting factor (best to use 0.045 for graphic arts and 0.048 for textiles)
inK2 Real 0.0 - 1.0 The secondary luminance weighting factor (best to use 0.015 for graphic arts and 0.014 for textiles)
outDistance Real

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
RuntimeError Each pixel component must be nonnegative in ColorDistance_CIE94.

Complexity Level

This filter is available on Advanced Complexity Level.

Filter Group

This filter is member of ColorDistance filter group.