ThresholdType Enumeration |
http://www.emgu.com
Types of thresholding
Namespace: Emgu.CV.CvEnumAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic enum ThresholdType
Public Enumeration ThresholdType
public enum class ThresholdType
Members
| Member name | Value | Description |
---|
| Binary | 0 |
value = value > threshold ? max_value : 0
|
| BinaryInv | 1 |
value = value > threshold ? 0 : max_value
|
| Trunc | 2 |
value = value > threshold ? threshold : value
|
| ToZero | 3 |
value = value > threshold ? value : 0
|
| ToZeroInv | 4 |
value = value > threshold ? 0 : value
|
| Mask | 7 | |
| Otsu | 8 |
use Otsu algorithm to choose the optimal threshold value;
combine the flag with one of the above CV_THRESH_* values
|
See Also