equalizeHistAsync function

Future<Mat> equalizeHistAsync(
  1. Mat src
)

EqualizeHist Equalizes the histogram of a grayscale image.

For further details, please see: https:///docs.opencv.org/master/d6/dc7/group__imgproc__hist.html#ga7e54091f0c937d49bf84152a16f76d6e

Implementation

Future<Mat> equalizeHistAsync(Mat src) async {
  cvAssert(src.channels == 1, "src must be grayscale");
  return cvRunAsync<Mat>((callback) => cffi.EqualizeHist_Async(src.ref, callback), matCompleter);
}