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.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public Image<TColor, TDepth> ThresholdToZero(
TColor threshold
) |
Visual Basic (Declaration) |
---|
Public Function ThresholdToZero ( _
threshold As TColor _
) As Image(Of TColor, TDepth) |
Visual C++ |
---|
public:
Image<TColor, TDepth>^ ThresholdToZero(
TColor threshold
) |
Parameters
- threshold
- Type: TColor
The threshold value
Return Value
dst(x,y) = src(x,y), if src(x,y)>threshold; 0, otherwise
See Also