ColorThresholdParams

Description

This structure contains parameters for color-based thresholding of an image.

Structure fields and default values (if defined) are described below:

Name Type Default Description
RgbColor Pixel Color to compare the image to
ChromaAmount FloatType 0.7f Proportion of chromatic information in distance computation
MaxDifference FloatType 5.0f Maximum difference between image pixel and model color
Hysteresis FloatType 0.0f Defines how much the threshold criterion is lowered for pixels neighboring with other foreground pixels