addMat function

GMat addMat(
  1. GMat a,
  2. GMat b, {
  3. int ddepth = -1,
})

Implementation

GMat addMat(GMat a, GMat b, {int ddepth = -1}) {
  final p = calloc<cgapi.GMat>();
  cvRun(() => cgapi.gapi_add(a.ref, b.ref, ddepth, p));
  return GMat.fromPointer(p);
}