compareHist function
CompareHist Compares two histograms. mode: HistCompMethods For further details, please see: https:///docs.opencv.org/master/d6/dc7/group__imgproc__hist.html#gaf4190090efa5c47cb367cf97a9a519bd
Implementation
double compareHist(Mat hist1, Mat hist2, {int method = 0}) {
return cvRunArena<double>((arena) {
final p = arena<ffi.Double>();
cvRun(() => cffi.CompareHist(hist1.ref, hist2.ref, method, p));
return p.value;
});
}