You are here: Start » FIL.NET » Invoke.ColorDistanceImage
Compares each pixel with the specified color using chromatic and non-chromatic information.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void ColorDistanceImage ( Fil.Image inImage, Optional<Fil.Region> inRoi, Fil.Pixel inRgbColor, float inChromaAmount, Fil.Image outValueImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Unsigned color image used in comparison. | ||
![]() | inRoi | Ftl.Optional<Fil.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inRgbColor | Fil.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 | Fil.Image | Unsigned image of distances. |