Emgu CV Library Documentation
cvCmp Method (src1, src2, dst, cmpOp)
NamespacesEmgu.CVCvInvokecvCmp(IntPtr, IntPtr, IntPtr, CMP_TYPE)

www.emgu.com/wiki
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)
Declaration Syntax
C#Visual BasicVisual C++
public static void cvCmp(
	IntPtr src1,
	IntPtr src2,
	IntPtr dst,
	CMP_TYPE cmpOp
)
Public Shared Sub cvCmp ( _
	src1 As IntPtr, _
	src2 As IntPtr, _
	dst As IntPtr, _
	cmpOp As CMP_TYPE _
)
public:
static void cvCmp(
	IntPtr src1, 
	IntPtr src2, 
	IntPtr dst, 
	CMP_TYPE cmpOp
)
Parameters
src1 (IntPtr)
The first image to compare with
src2 (IntPtr)
The second image to comapare with
dst (IntPtr)
dst(I) is set to 0xff (all '1'-bits) if the particular relation between the elements is true and 0 otherwise.
cmpOp (CMP_TYPE)
The comparison operator type

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