ThresholdType Enumeration |
http://www.emgu.com
Types of thresholding
Namespace:
Emgu.CV.CvEnum
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
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 |
Mask
|
| Otsu | 8 |
use Otsu algorithm to choose the optimal threshold value;
combine the flag with one of the above CV_THRESH_* values
|
| Triangle | 16 |
Use Triangle algorithm to choose the optimal threshold value
|
See Also