Applies fixed-level thresholding to single-channel array. The function is typically used to get bi-level (binary) image out of grayscale image (cvCmpS could be also used for this purpose) or for removing a noise, i.e. filtering out pixels with too small or too large values. There are several types of thresholding the function supports that are determined by threshold_type
|C#||Visual Basic||Visual C++|
Assembly: Emgu.CV (Module: Emgu.CV) Version: 18.104.22.168 (22.214.171.124)
- src (IntPtr)
- Source array (single-channel, 8-bit of 32-bit floating point).
- dst (IntPtr)
- Destination array; must be either the same type as src or 8-bit.
- threshold (Double)
- Threshold value
- max_value (Double)
- Maximum value to use with CV_THRESH_BINARY and CV_THRESH_BINARY_INV thresholding types
- threshold_type (THRESH)
- Thresholding type