Click or drag to resize

CvInvokeCompare Method

http://www.emgu.com
Compares the corresponding elements of two arrays and fills the destination mask array: dst(I)=src1(I) op src2(I), dst(I) is set to 0xff (all '1'-bits) if the particular relation between the elements is true and 0 otherwise. All the arrays must have the same type, except the destination, and the same size (or ROI size)

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Compare(
	IInputArray src1,
	IInputArray src2,
	IOutputArray dst,
	CmpType cmpOp
)

Parameters

src1
Type: Emgu.CVIInputArray
The first image to compare with
src2
Type: Emgu.CVIInputArray
The second image to compare with
dst
Type: Emgu.CVIOutputArray
dst(I) is set to 0xff (all '1'-bits) if the particular relation between the elements is true and 0 otherwise.
cmpOp
Type: Emgu.CV.CvEnumCmpType
The comparison operator type
See Also