You are here: Start » AVL.NET » Invoke.ColorDistance_CIE94
Compares two pixels using CIE94 delta E. Assumes RGB color space.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void ColorDistance_CIE94 ( Avl.Pixel inPixelA, Avl.Pixel inPixelB, float inKL, float inKC, float inKH, float inK1, float inK2, out float outDistance )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPixelA | Avl.Pixel | |||
![]()  | inPixelB | Avl.Pixel | |||
![]()  | inKL | float | <0.0f, INF> | 1.0f | The luminance weighting factor (best to use 1.0 for graphic arts and 2.0 for textiles). Default value: 1.0f. | 
![]()  | inKC | float | <0.0f, INF> | 1.0f | The chroma weighting factor (usually 1.0). Default value: 1.0f. | 
![]()  | inKH | float | <0.0f, INF> | 1.0f | The hue weighting factor (usually 1.0). Default value: 1.0f. | 
![]()  | inK1 | float | <0.0f, 1.0f> | 0.045f | The secondary chroma weighting factor (best to use 0.045 for graphic arts and 0.048 for textiles). Default value: 0.045f. | 
![]()  | inK2 | float | <0.0f, 1.0f> | 0.015f | The secondary luminance weighting factor (best to use 0.015 for graphic arts and 0.014 for textiles). Default value: 0.015f. | 
![]()  | outDistance | float | 


