[This is preliminary documentation and is subject to change.]

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

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

Syntax

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

Parameters

threshold
TColor
The threshold to apply to the image

Return Value

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

See Also