Back to FabImage 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
Input value
inPixelA Pixel
Input value
inPixelB Pixel
Input value
inKL Real 0.0 - The luminance weighting factor (best to use 1.0 for graphic arts and 2.0 for textiles)
Input value
inKC Real 0.0 - The chroma weighting factor (usually 1.0)
Input value
inKH Real 0.0 - The hue weighting factor (usually 1.0)
Input value
inK1 Real 0.0 - 1.0 The secondary chroma weighting factor (best to use 0.045 for graphic arts and 0.048 for textiles)
Input value
inK2 Real 0.0 - 1.0 The secondary luminance weighting factor (best to use 0.015 for graphic arts and 0.014 for textiles)
Output value
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.