merge function

Mat merge(
  1. VecMat mv, {
  2. OutputArray? dst,
})

Merge creates one multi-channel array out of several single-channel ones.

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

Implementation

Mat merge(VecMat mv, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.cv_merge(mv.ref, dst!.ref, ffi.nullptr));
  return dst;
}