http://www.emgu.com
Compare the current image with value 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(
	double value,
	CMP_TYPE comparisonType
)
Visual Basic
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
)
F#
member Cmp : 
        value : float * 
        comparisonType : CMP_TYPE -> Image<'TColor, byte> 

Parameters

value
Type: System..::..Double
The value to compare with
comparisonType
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