ColorThresholdParams

Description

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

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

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