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 two arrays and fills the destination mask array:
dst(I)=src1(I) op src2(I),
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 type, except the destination, and 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 cvCmp( IntPtr src1, IntPtr src2, IntPtr dst, CMP_TYPE cmpOp ) |
Visual Basic |
---|
Public Shared Sub cvCmp ( _ src1 As IntPtr, _ src2 As IntPtr, _ dst As IntPtr, _ cmpOp As CMP_TYPE _ ) |
Visual C++ |
---|
public: static void cvCmp( IntPtr src1, IntPtr src2, IntPtr dst, CMP_TYPE cmpOp ) |
Parameters
- src1
- Type: System..::..IntPtr
The first image to compare with
- src2
- Type: System..::..IntPtr
The second image to comapare with
- dst
- Type: System..::..IntPtr
dst(I) is set to 0xff (all '1'-bits) if the particular relation between the elements is true and 0 otherwise.
- cmpOp
- Type: Emgu.CV.CvEnum..::..CMP_TYPE
The comparison operator type