applyColorMapAsync function
ApplyColorMap applies a GNU Octave/MATLAB equivalent colormap on a given image. colormap: ColormapTypes For further details, please see: https:///docs.opencv.org/master/d3/d50/group__imgproc__colormap.html#gadf478a5e5ff49d8aa24e726ea6f65d15
Implementation
Future<Mat> applyColorMapAsync(InputArray src, int colormap, {OutputArray? dst}) async {
dst ??= Mat.empty();
return cvRunAsync0((callback) => cimgproc.cv_applyColorMap(src.ref, dst!.ref, colormap, callback), (c) {
return c.complete(dst);
});
}