|  | Cv2Compare Method  | 
 
            Performs the per-element comparison of two arrays or an array and scalar value.
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
 Syntax
Syntaxpublic static void Compare(
	InputArray src1,
	InputArray src2,
	OutputArray dst,
	CmpTypes cmpop
)
Public Shared Sub Compare ( 
	src1 As InputArray,
	src2 As InputArray,
	dst As OutputArray,
	cmpop As CmpTypes
)
public:
static void Compare(
	InputArray^ src1, 
	InputArray^ src2, 
	OutputArray^ dst, 
	CmpTypes cmpop
)
static member Compare : 
        src1 : InputArray * 
        src2 : InputArray * 
        dst : OutputArray * 
        cmpop : CmpTypes -> unit 
Parameters
- src1
- Type: OpenCvSharpInputArray
 first input array or a scalar; when it is an array, it must have a single channel.
- src2
- Type: OpenCvSharpInputArray
 second input array or a scalar; when it is an array, it must have a single channel.
- dst
- Type: OpenCvSharpOutputArray
 output array of type ref CV_8U that has the same size and the same number of channels as the input arrays.
- cmpop
- Type: OpenCvSharpCmpTypes
 a flag, that specifies correspondence between the arrays (cv::CmpTypes)
 See Also
See Also