Click or drag to resize

CvInvokeInRange Method

http://www.emgu.com
Performs range check for every element of the input array: dst(I)=lower(I)_0 <= src(I)_0 <= upper(I)_0 For single-channel arrays, dst(I)=lower(I)_0 <= src(I)_0 <= upper(I)_0 && lower(I)_1 <= src(I)_1 <= upper(I)_1 For two-channel arrays etc. dst(I) is set to 0xff (all '1'-bits) if src(I) is within the range and 0 otherwise. All the arrays must have the same type, except the destination, and the same size (or ROI size)

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void InRange(
	IInputArray src,
	IInputArray lower,
	IInputArray upper,
	IOutputArray dst
)

Parameters

src
Type: Emgu.CVIInputArray
The source image
lower
Type: Emgu.CVIInputArray
The lower values stored in an image of same type & size as src
upper
Type: Emgu.CVIInputArray
The upper values stored in an image of same type & size as src
dst
Type: Emgu.CVIOutputArray
The resulting mask
See Also