http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Compares the corresponding elements of array and scalar and fills the destination mask array:
dst(I)=src(I) op scalar,
where op is '=', '>', '>=', '<', '<=' or '!='.
dst(I) is set to 0xff (all '1'-bits) if the particular relation between the elements is true 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 cvCmpS( IntPtr src, double value, IntPtr dst, CMP_TYPE cmpOp ) |
Visual Basic |
---|
Public Shared Sub cvCmpS ( _ src As IntPtr, _ value As Double, _ dst As IntPtr, _ cmpOp As CMP_TYPE _ ) |
Visual C++ |
---|
public: static void cvCmpS( IntPtr src, double value, IntPtr dst, CMP_TYPE cmpOp ) |
Parameters
- src
- Type: System..::..IntPtr
The source array, must have a single channel
- value
- Type: System..::..Double
The scalar value to compare each array element with
- dst
- Type: System..::..IntPtr
The destination array, must have 8u or 8s type
- cmpOp
- Type: Emgu.CV.CvEnum..::..CMP_TYPE
The flag specifying the relation between the elements to be checked