ImageTColor, TDepthThresholdBinary Method |
http://www.emgu.com
Threshold the image such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic 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
)
member ThresholdBinary :
threshold : 'TColor *
maxValue : 'TColor -> Image<'TColor, 'TDepth>
Parameters
- threshold
- Type: TColor
The threshold value - maxValue
- Type: TColor
The maximum value of the pixel on the result
Return Value
Type:
ImageTColor,
TDepthThe image such that: dst(x,y) = max_value, if src(x,y)>threshold; 0, otherwise
See Also