Method Compare
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Compare(InputArray, InputArray, OutputArray, CmpTypes)
Performs the per-element comparison of two arrays or an array and scalar value.
public static void Compare(InputArray src1, InputArray src2, OutputArray dst, CmpTypes cmpop)
Parameters
src1InputArrayfirst input array or a scalar; when it is an array, it must have a single channel.
src2InputArraysecond input array or a scalar; when it is an array, it must have a single channel.
dstOutputArrayoutput array of type ref CV_8U that has the same size and the same number of channels as the input arrays.
cmpopCmpTypesa flag, that specifies correspondence between the arrays (cv::CmpTypes)