ColorDistanceImage
Compares each pixel with the specified color using chromatic and non-chromatic information.
Applications:Color analysis insensitive to changes of illumination.
Syntax
C++
C#
Python
def ColorDistanceImage( inImage: Image, inRgbColor: Pixel, outValueImage: Image, /, *, inRoi: Region | None = None, inChromaAmount: float = 0.7 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inImage | Image | Unsigned color image used in comparison | ||
![]() |
inRoi | Region | None | None | Range of pixels to be processed | |
![]() |
inRgbColor | Pixel | Color to compare the image to | ||
![]() |
inChromaAmount | float | 0.0 - 1.0 | 0.7 | Proportion of chromatic information in distance computation |
![]() |
outValueImage | Image | Unsigned image of distances |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.


