mixChannels function

VecMat mixChannels(
  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

VecMat mixChannels(VecMat src, VecMat dst, VecI32 fromTo) {
  cvRun(() => ccore.cv_mixChannels(src.ref, dst.ref, fromTo.ref, ffi.nullptr));
  return dst;
}