ColorThresholdParams

Description

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

Structure Fields

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

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