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

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

Syntax

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

Parameters

threshold
TColor
The threshold value

Return Value

dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise

See Also