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.2.1.1150 (2.2.1.1150)

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 value

Return Value

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

See Also