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

Checks that image elements lie between two scalars

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, byte> InRange(
	TColor lower,
	TColor higher
)
Public Function InRange ( _
	lower As TColor, _
	higher As TColor _
) As Image(Of TColor, Byte)
public:
Image<TColor, unsigned char>^ InRange(
	TColor lower, 
	TColor higher
)

Parameters

lower
TColor
The lower limit of color value
higher
TColor
The upper limit of color value

Return Value

res[i,j] = 255 if inrange, 0 otherwise

See Also