http://www.emgu.com
This function compare the current matrix with mat2 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 Matrix<byte> Cmp(
	Matrix<TDepth> mat2,
	CMP_TYPE type
)
Visual Basic
Public Function Cmp ( 
	mat2 As Matrix(Of TDepth),
	type As CMP_TYPE
) As Matrix(Of Byte)
Visual C++
public:
Matrix<unsigned char>^ Cmp(
	Matrix<TDepth>^ mat2, 
	CMP_TYPE type
)
F#
member Cmp : 
        mat2 : Matrix<'TDepth> * 
        type : CMP_TYPE -> Matrix<byte> 

Parameters

mat2
Type: Emgu.CV..::..Matrix<(Of <(<'TDepth>)>)>
The other matrix to compare with
type
Type: Emgu.CV.CvEnum..::..CMP_TYPE
Comparison type

Return Value

Type: Matrix<(Of <(<'Byte>)>)>
The comparison mask

See Also