Types of thresholding

Namespace: Emgu.CV.CvEnum
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public enum THRESH
Public Enumeration THRESH
public enum class THRESH

Members

MemberDescription
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

See Also