http://www.emgu.com
Compare the current image with img2 and returns the comparison mask

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

Syntax

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

Parameters

img2
Type: Emgu.CV..::..Image<(Of <(<'TColor, TDepth>)>)>
The other image to compare with
cmpType
Type: Emgu.CV.CvEnum..::..CMP_TYPE
The comparison type

Return Value

Type: Image<(Of <(<'TColor, Byte>)>)>
The result of the comparison as a mask

See Also