ColorDistance_CIEDE2000


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

Syntax

C++
C#
Python
 
def ColorDistance_CIEDE2000(
	inPixelA: Pixel,
	inPixelB: Pixel,
	/,
	*,
	inKL: float = 1.0,
	inKC: float = 1.0,
	inKH: float = 1.0
)
-> outDistance: float

Parameters

Name Type Range Default Description
Input value inPixelA Pixel
Input value inPixelB Pixel
Input value inKL float 0.0 - 1.0 The luminance weighting factor
Input value inKC float 0.0 - 1.0 The chroma weighting factor
Input value inKH float 0.0 - 1.0 The hue weighting factor
Output value outDistance float