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 float 0.7f Proportion of chromatic information in distance computation
MaxDifference float 5.0f Maximum difference between image pixel and model color
Hysteresis float 0.0f Defines how much the threshold criterion is lowered for pixels neighboring with other foreground pixels