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

AVS.ColorDistanceImage Method

Compares each pixel with the specified color using chromatic and non-chromatic information.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ColorDistanceImage
(
	AvlNet.Image inImage,
	AvlNet.Pixel inRgbColor,
	float inChromaAmount,
	AvlNet.Image outValueImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageUnsigned color image used in comparison.
inRgbColorAvlNet.PixelColor to compare the image to.
inChromaAmountfloat<0.0f, 1.0f>0.7fProportion of chromatic information in distance computation. Default value: 0.7f.
outValueImageAvlNet.ImageUnsigned image of distances.

Function Overrides

See also