ImageTColor, TDepthInRange Method (TColor, TColor) |
http://www.emgu.com Checks that image elements lie between two scalars
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic Image<Gray, byte> InRange(
TColor lower,
TColor higher
)
Public Function InRange (
lower As TColor,
higher As TColor
) As Image(Of Gray, Byte)
public:
Image<Gray, unsigned char>^ InRange(
TColor lower,
TColor higher
)
member InRange :
lower : 'TColor *
higher : 'TColor -> Image<Gray, byte>
Parameters
- lower
- Type: TColor
The inclusive lower limit of color value - higher
- Type: TColor
The inclusive upper limit of color value
Return Value
Type:
ImageGray,
Byte res[i,j] = 255 if
lower <= this[i,j] <=
higher, 0 otherwise
See Also