Threshold the image inplace such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public void _ThresholdBinary(
	TColor threshold,
	TColor maxValue
)
Visual Basic (Declaration)
Public Sub _ThresholdBinary ( _
	threshold As TColor, _
	maxValue As TColor _
)
Visual C++
public:
void _ThresholdBinary(
	TColor threshold, 
	TColor maxValue
)

Parameters

threshold
Type: TColor
The threshold value
maxValue
Type: TColor
The maximum value of the pixel on the result

See Also