Emgu CV Library Documentation
Cmp Method (mat2, type)
NamespacesEmgu.CVMatrix<(Of <(TDepth>)>)Cmp(Matrix<(Of <(TDepth>)>), CMP_TYPE)

www.emgu.com/wiki
This function compare the current matrix with mat2 and returns the comparison mask
Declaration Syntax
C#Visual BasicVisual C++
public Matrix<byte> Cmp(
	Matrix<TDepth> mat2,
	CMP_TYPE type
)
Public Function Cmp ( _
	mat2 As Matrix(Of TDepth), _
	type As CMP_TYPE _
) As Matrix(Of Byte)
public:
Matrix<unsigned char>^ Cmp(
	Matrix<TDepth>^ mat2, 
	CMP_TYPE type
)
Parameters
mat2 (Matrix<(Of <(TDepth>)>))
The other matrix to compare with
type (CMP_TYPE)
Comparison type
Return Value
The comparison mask

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