http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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)
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
C# |
---|
public static void cvInRangeS( IntPtr src, MCvScalar lower, MCvScalar upper, IntPtr dst ) |
Visual Basic |
---|
Public Shared Sub cvInRangeS ( _ src As IntPtr, _ lower As MCvScalar, _ upper As MCvScalar, _ dst As IntPtr _ ) |
Visual C++ |
---|
public: static void cvInRangeS( IntPtr src, MCvScalar lower, MCvScalar upper, IntPtr dst ) |
Parameters
- src
- Type: System..::..IntPtr
The first source array
- lower
- Type: Emgu.CV.Structure..::..MCvScalar
The inclusive lower boundary
- upper
- Type: Emgu.CV.Structure..::..MCvScalar
The exclusive upper boundary
- dst
- Type: System..::..IntPtr
The destination array, must have 8u or 8s type