http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Types of thresholding
Namespace: Emgu.CV.CvEnumAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public enum THRESH |
Visual Basic |
---|
Public Enumeration THRESH |
Visual C++ |
---|
public enum class THRESH |
Members
Member name | Value | Description | |
---|---|---|---|
CV_THRESH_BINARY | 0 | value = value > threshold ? max_value : 0 | |
CV_THRESH_BINARY_INV | 1 | value = value > threshold ? 0 : max_value | |
CV_THRESH_TRUNC | 2 | value = value > threshold ? threshold : value | |
CV_THRESH_TOZERO | 3 | value = value > threshold ? value : 0 | |
CV_THRESH_TOZERO_INV | 4 | value = value > threshold ? 0 : value | |
CV_THRESH_MASK | 7 | ||
CV_THRESH_OTSU | 8 | use Otsu algorithm to choose the optimal threshold value; combine the flag with one of the above CV_THRESH_* values |