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 (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static void cvInRange(
	IntPtr src,
	IntPtr lower,
	IntPtr upper,
	IntPtr dst
)
Visual Basic
Public Shared Sub cvInRange ( _
	src As IntPtr, _
	lower As IntPtr, _
	upper As IntPtr, _
	dst As IntPtr _
)
Visual C++
public:
static void cvInRange(
	IntPtr src, 
	IntPtr lower, 
	IntPtr upper, 
	IntPtr dst
)

Parameters

src
Type: System..::..IntPtr
The source image
lower
Type: System..::..IntPtr
The lower values stored in an image of same type & size as src
upper
Type: System..::..IntPtr
The upper values stored in an image of same type & size as src
dst
Type: System..::..IntPtr
The resulting mask

See Also