Checks that image elements lie between values defined by two images of same size and type

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

Parameters

lower
Image<(Of <(<'TColor, TDepth>)>)>
The lower limit of color value
higher
Image<(Of <(<'TColor, TDepth>)>)>
The upper limit of color value

Return Value

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

See Also