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, NullableRef<AvlNet.Region> inRoi, AvlNet.Pixel inRgbColor, float inChromaAmount, AvlNet.Image outValueImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inImage | AvlNet.Image | Unsigned color image used in comparison. | |||
inRoi | AvlNet.NullableRef<AvlNet.Region> | Range of pixels to be processed. Default value: atl::NIL. | |||
inRgbColor | AvlNet.Pixel | Color to compare the image to. | |||
inChromaAmount | float | <0.0f, 1.0f> | 0.7f | Proportion of chromatic information in distance computation. Default value: 0.7f. | |
outValueImage | AvlNet.Image | Unsigned image of distances. |