Types of thresholding
Namespace:
Emgu.CV.CvEnumAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public enum THRESH |
Visual Basic (Declaration) |
---|
Public Enumeration THRESH |
Visual C++ |
---|
public enum class THRESH |
Members
Member name | Description | |
---|---|---|
CV_THRESH_BINARY |
value = value > threshold ? max_value : 0
| |
CV_THRESH_BINARY_INV |
value = value > threshold ? 0 : max_value
| |
CV_THRESH_TRUNC |
value = value > threshold ? threshold : value
| |
CV_THRESH_TOZERO |
value = value > threshold ? value : 0
| |
CV_THRESH_TOZERO_INV |
value = value > threshold ? 0 : value
| |
CV_THRESH_MASK | ||
CV_THRESH_OTSU |
use Otsu algorithm to choose the optimal threshold value;
combine the flag with one of the above CV_THRESH_* values
|