estimateTransform method

StitcherStatus estimateTransform(
  1. VecMat images, {
  2. VecMat? masks,
})

These functions try to match the given images and to estimate rotations of each camera. https://docs.opencv.org/4.x/d2/d8d/classcv_1_1Stitcher.html#a4c25557af4d40a79a4d1f23d9548131d

Implementation

StitcherStatus estimateTransform(VecMat images, {VecMat? masks}) {
  final rptr = calloc<ffi.Int>();
  masks ??= VecMat.fromList([]);
  cvRun(() => cstitching.cv_Stitcher_estimateTransform(ref, images.ref, masks!.ref, rptr, ffi.nullptr));
  final rval = StitcherStatus.fromInt(rptr.value);
  calloc.free(rptr);
  return rval;
}