hconcat function

Mat hconcat(
  1. InputArray src1,
  2. InputArray src2, {
  3. OutputArray? dst,
})

Hconcat applies horizontal concatenation to given matrices.

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

Implementation

Mat hconcat(InputArray src1, InputArray src2, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.cv_hconcat(src1.ref, src2.ref, dst!.ref, ffi.nullptr));
  return dst;
}