Emgu CV Library Documentation
cvInRangeS Method (src, lower, upper, dst)
NamespacesEmgu.CVCvInvokecvInRangeS(IntPtr, MCvScalar, MCvScalar, IntPtr)

www.emgu.com/wiki
Does the range check for every element of the input array: dst(I)=lower0 <= src(I)0 < upper0 for a single-channel array, dst(I)=lower0 <= src(I)0 < upper0 && lower1 <= src(I)1 < upper1 for a two-channel array 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 size (or ROI size)
Declaration Syntax
C#Visual BasicVisual C++
public static void cvInRangeS(
	IntPtr src,
	MCvScalar lower,
	MCvScalar upper,
	IntPtr dst
)
Public Shared Sub cvInRangeS ( _
	src As IntPtr, _
	lower As MCvScalar, _
	upper As MCvScalar, _
	dst As IntPtr _
)
public:
static void cvInRangeS(
	IntPtr src, 
	MCvScalar lower, 
	MCvScalar upper, 
	IntPtr dst
)
Parameters
src (IntPtr)
The first source array
lower (MCvScalar)
The inclusive lower boundary
upper (MCvScalar)
The exclusive upper boundary
dst (IntPtr)
The destination array, must have 8u or 8s type

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)