calcHistAsync function
CalcHist Calculates a histogram of a set of images
For futher details, please see: https:///docs.opencv.org/master/d6/dc7/group__imgproc__hist.html#ga6ca1876785483836f72a77ced8ea759a
Implementation
Future<Mat> calcHistAsync(
VecMat src,
VecI32 channels,
Mat mask,
VecI32 histSize,
VecF32 ranges, {
bool accumulate = false,
}) async =>
cvRunAsync(
(callback) => cffi.CalcHist_Async(
src.ref,
channels.ref,
mask.ref,
histSize.ref,
ranges.ref,
accumulate,
callback,
),
matCompleter,
);