You are here: Start » AVL.NET » Invoke.ColorDistanceImage

Invoke.ColorDistanceImage

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ColorDistanceImage
(
	Avl.Image inImage,
	Optional<Avl.Region> inRoi,
	Avl.Pixel inRgbColor,
	float inChromaAmount,
	Avl.Image outValueImage
)

Parameters

Name Type Range Default Description
inImageAvl.ImageUnsigned color image used in comparison.
inRoiAtl.Optional<Avl.Region>Range of pixels to be processed. Default value: atl::NIL.
inRgbColorAvl.PixelColor to compare the image to.
inChromaAmountfloat<0.0f, 1.0f>0.7fProportion of chromatic information in distance computation. Default value: 0.7f.
outValueImageAvl.ImageUnsigned image of distances.

See also