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

AVS.ColorDistance Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ColorDistance
(
	AvlNet.Pixel inPixelA,
	AvlNet.Pixel inPixelB,
	float inChromaAmount,
	out float outDistance
)

Parameters

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

See also