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
Input value inImage Image Unsigned color image used in comparison
Input value inRoi Region | None None Range of pixels to be processed
Input value inRgbColor Pixel Color to compare the image to
Input value inChromaAmount float 0.0 - 1.0 0.7 Proportion of chromatic information in distance computation
Output value outValueImage Image Unsigned image of distances

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.