[This is preliminary documentation and is subject to change.]

Compare the current image with img2 and returns the comparison mask

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.0.0 (2.0.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public Image<TColor, byte> Cmp(
	Image<TColor, TDepth> img2,
	CMP_TYPE cmpType
)
Public Function Cmp ( _
	img2 As Image(Of TColor, TDepth), _
	cmpType As CMP_TYPE _
) As Image(Of TColor, Byte)
public:
Image<TColor, unsigned char>^ Cmp(
	Image<TColor, TDepth>^ img2, 
	CMP_TYPE cmpType
)

Parameters

img2
Image<(Of <(TColor, TDepth>)>)
The other image to compare with
cmpType
CMP_TYPE
The comparison type

Return Value

The result of the comparison as a mask

See Also