Click or drag to resize

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)
Syntax
public Image<Gray, byte> InRange(
	TColor lower,
	TColor higher
)

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