Threshold the image 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.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Image<TColor, TDepth> ThresholdBinary(
	TColor threshold,
	TColor maxValue
)
Public Function ThresholdBinary ( _
	threshold As TColor, _
	maxValue As TColor _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ ThresholdBinary(
	TColor threshold, 
	TColor maxValue
)

Parameters

threshold
TColor

[Missing <param name="threshold"/> documentation for "M:Emgu.CV.Image`2.ThresholdBinary(`0,`0)"]

maxValue
TColor

[Missing <param name="maxValue"/> documentation for "M:Emgu.CV.Image`2.ThresholdBinary(`0,`0)"]

Return Value

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

See Also