http://www.emgu.com Checks that image elements lie between two scalars
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public Image<Gray, byte> InRange(
TColor lower,
TColor higher
) |
Visual Basic |
---|
Public Function InRange ( _
lower As TColor, _
higher As TColor _
) As Image(Of 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
res[i,j] = 255 if
lower <= this[i,j] <=
higher, 0 otherwise
See Also