Emgu CV Library Documentation
Cmp Method (img2, cmp_type)
NamespacesEmgu.CVImage<(Of <(TColor, TDepth>)>)Cmp(Image<(Of <(TColor, TDepth>)>), CMP_TYPE)

www.emgu.com/wiki
This function compare the current image with img2 and returns the comparison mask
Declaration Syntax
C#Visual BasicVisual C++
public Image<TColor, byte> Cmp(
	Image<TColor, TDepth> img2,
	CMP_TYPE cmp_type
)
Public Function Cmp ( _
	img2 As Image(Of TColor, TDepth), _
	cmp_type As CMP_TYPE _
) As Image(Of TColor, Byte)
public:
Image<TColor, unsigned char>^ Cmp(
	Image<TColor, TDepth>^ img2, 
	CMP_TYPE cmp_type
)
Parameters
img2 (Image<(Of <(TColor, TDepth>)>))
The other image to compare with
cmp_type (CMP_TYPE)
The comparison type
Return Value
The result of the comparison as a mask

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