calcBackProjectAsync function

Future<Mat> calcBackProjectAsync(
  1. VecMat src,
  2. VecI32 channels,
  3. Mat hist,
  4. VecF32 ranges, {
  5. double scale = 1.0,
})

CalcBackProject calculates the back projection of a histogram.

For futher details, please see: https://docs.opencv.org/4.10.0/d6/dc7/group__imgproc__hist.html#gab644bc90e7475cc047aa1b25dbcbd8df

Implementation

Future<Mat> calcBackProjectAsync(
  VecMat src,
  VecI32 channels,
  Mat hist,
  VecF32 ranges, {
  double scale = 1.0,
}) async =>
    cvRunAsync(
      (callback) =>
          cimgproc.CalcBackProject_Async(src.ref, channels.ref, hist.ref, ranges.ref, scale, callback),
      matCompleter,
    );