Threshold the image such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise
Namespace: Emgu.CVAssembly: 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> ThresholdBinaryInv(
TColor threshold,
TColor maxValue
)
Public Function ThresholdBinaryInv ( _
threshold As TColor, _
maxValue As TColor _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ ThresholdBinaryInv(
TColor threshold,
TColor maxValue
)
Parameters
- threshold
- TColor
The threshold value
- maxValue
- TColor
The maximum value of the pixel on the result
Return Value
The image such that: dst(x,y) = 0, if src(x,y)>threshold; max_value, otherwise
See Also