mixChannelsAsync function

Future<VecMat> mixChannelsAsync(
  1. VecMat src,
  2. VecMat dst,
  3. VecI32 fromTo
)

Copies specified channels from input arrays to the specified channels of output arrays.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga51d768c270a1cdd3497255017c4504be

Implementation

Future<VecMat> mixChannelsAsync(VecMat src, VecMat dst, VecI32 fromTo) async {
  return cvRunAsync0(
    (callback) => ccore.cv_mixChannels(src.ref, dst.ref, fromTo.ref, callback),
    (c) {
      return c.complete(dst);
    },
  );
}