hconcatAsync function

Future<Mat> hconcatAsync(
  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

Future<Mat> hconcatAsync(InputArray src1, InputArray src2, {OutputArray? dst}) async {
  dst ??= Mat.empty();
  return cvRunAsync0(
    (callback) => ccore.cv_hconcat(src1.ref, src2.ref, dst!.ref, callback),
    (c) {
      return c.complete(dst);
    },
  );
}