You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Unsigned color image used in comparison. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | inRgbColor | Avl.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 | Avl.Image | Unsigned image of distances. |