Scalar applyMISO(Mat inMat) { final p = calloc<cgapi.Scalar>(); cvRun(() => cgapi.gapi_GComputation_apply_1(ref, inMat.ref, p)); return Scalar.fromPointer(p); }