You are here: Start » FIL.NET » Invoke.ColorDistance

Invoke.ColorDistance

Compares two pixels using chromatic and non-chromatic information. Assumes RGB color space.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void ColorDistance
(
	Fil.Pixel inPixelA,
	Fil.Pixel inPixelB,
	float inChromaAmount,
	out float outDistance
)

Parameters

Name Type Range Default Description
inPixelAFil.Pixel
inPixelBFil.Pixel
inChromaAmountfloat<0.0f, 1.0f>0.7fProportion of chromatic information in distance computation. Default value: 0.7f.
outDistancefloat

See also