Future<Mat> apply(Mat inMat) async => cvRunAsync1((callback) => cgapi.gapi_GComputation_apply(ref, inMat.ref, callback), (c, p) { c.complete(Mat.fromPointer(p.cast())); });