Scalar applyMIMISO(Mat in1, Mat in2) { final p = calloc<cvg.Scalar>(); cvRun(() => cgapi.gapi_GComputation_apply_3(ref, in1.ref, in2.ref, p)); return Scalar.fromPointer(p); }