estimateTransformAsync method
Implementation
Future<StitcherStatus> estimateTransformAsync(VecMat images, {VecMat? masks}) async {
final rptr = calloc<ffi.Int>();
masks ??= VecMat.fromList([]);
return cvRunAsync0(
(callback) => cstitching.cv_Stitcher_estimateTransform(ref, images.ref, masks!.ref, rptr, callback),
(c) {
final rval = StitcherStatus.fromInt(rptr.value);
calloc.free(rptr);
return c.complete(rval);
},
);
}