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.10.1935 (2.4.10.1935)

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
)
F#
static member cvInRange : 
        src : IntPtr * 
        lower : IntPtr * 
        upper : IntPtr * 
        dst : IntPtr -> unit 

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