Click or drag to resize

ImageTColor, TDepthInRange Method (ImageTColor, TDepth, ImageTColor, TDepth)

http://www.emgu.com
Checks that image elements lie between values defined by two images of same size and type

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(
	Image<TColor, TDepth> lower,
	Image<TColor, TDepth> higher
)

Parameters

lower
Type: Emgu.CVImageTColor, TDepth
The inclusive lower limit of color value
higher
Type: Emgu.CVImageTColor, TDepth
The inclusive upper limit of color value

Return Value

Type: ImageGray, Byte
res[i,j] = 255 if lower[i,j] <= this[i,j] <= higher[i,j], 0 otherwise
See Also