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}) {
  return using<StitcherStatus>((arena) {
    final rptr = arena<ffi.Int>();
    masks ??= VecMat.fromList([]);
    cvRun(() => cffi.Stitcher_EstimateTransform(ref, images.ref, masks!.ref, rptr));
    return StitcherStatus.fromInt(rptr.value);
  });
}