Compare the current image with value and returns the comparison mask

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

Syntax

C#
public Image<TColor, byte> Cmp(
	double value,
	CMP_TYPE comparisonType
)
Visual Basic (Declaration)
Public Function Cmp ( _
	value As Double, _
	comparisonType As CMP_TYPE _
) As Image(Of TColor, Byte)
Visual C++
public:
Image<TColor, unsigned char>^ Cmp(
	double value, 
	CMP_TYPE comparisonType
)

Parameters

value
Type: System..::.Double
The value to compare with
comparisonType
Type: Emgu.CV.CvEnum..::.CMP_TYPE
The comparison type

Return Value

The result of the comparison as a mask

See Also