You are here: Start » AVL.NET » AVS.ColorDistance_CIE94 Method

AVS.ColorDistance_CIE94 Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ColorDistance_CIE94
(
	AvlNet.Pixel inPixelA,
	AvlNet.Pixel inPixelB,
	float inKL,
	float inKC,
	float inKH,
	float inK1,
	float inK2,
	out float outDistance
)

Parameters

Name Type Range Default Description
inPixelAAvlNet.Pixel
inPixelBAvlNet.Pixel
inKLfloat<0.0f, INF>1.0fThe luminance weighting factor (best to use 1.0 for graphic arts and 2.0 for textiles). Default value: 1.0f.
inKCfloat<0.0f, INF>1.0fThe chroma weighting factor (usually 1.0). Default value: 1.0f.
inKHfloat<0.0f, INF>1.0fThe hue weighting factor (usually 1.0). Default value: 1.0f.
inK1float<0.0f, 1.0f>0.045fThe secondary chroma weighting factor (best to use 0.045 for graphic arts and 0.048 for textiles). Default value: 0.045f.
inK2float<0.0f, 1.0f>0.015fThe secondary luminance weighting factor (best to use 0.015 for graphic arts and 0.014 for textiles). Default value: 0.015f.
outDistancefloat

See also