You are here: Start » FIL.NET » Function Reference » Image » Image Metrics » FIL.ColorDistance_CIEDE2000
Compares two pixels using CIEDE2000 delta E. Assumes RGB color space.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ColorDistance_CIEDE2000 ( FilNet.Pixel inPixelA, FilNet.Pixel inPixelB, float inKL, float inKC, float inKH, out float outDistance )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPixelA | FilNet.Pixel | |||
![]() | inPixelB | FilNet.Pixel | |||
![]() | inKL | float | <0.0f, INF> | 1.0f | The luminance weighting factor. Default value: 1.0f. |
![]() | inKC | float | <0.0f, INF> | 1.0f | The chroma weighting factor. Default value: 1.0f. |
![]() | inKH | float | <0.0f, INF> | 1.0f | The hue weighting factor. Default value: 1.0f. |
![]() | outDistance | float |
Errors
List of possible exceptions:
Error type | Description |
---|---|
RuntimeError | Each pixel component must be nonnegative in ColorDistance_CIEDE2000. |