Emgu CV Library Documentation
THRESH Enumeration
NamespacesEmgu.CV.CvEnumTHRESH

www.emgu.com/wiki
Types of thresholding
Declaration Syntax
C#Visual BasicVisual 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

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)