http://www.emgu.com
Types of thresholding

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

Syntax

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

Members

Member nameValueDescription
CV_THRESH_BINARY0 value = value > threshold ? max_value : 0
CV_THRESH_BINARY_INV1 value = value > threshold ? 0 : max_value
CV_THRESH_TRUNC2 value = value > threshold ? threshold : value
CV_THRESH_TOZERO3 value = value > threshold ? value : 0
CV_THRESH_TOZERO_INV4 value = value > threshold ? 0 : value
CV_THRESH_MASK7
CV_THRESH_OTSU8 use Otsu algorithm to choose the optimal threshold value; combine the flag with one of the above CV_THRESH_* values

See Also