Getting the Affine transformations from the Stitcher
Hello
I am interested in using OpenCV's Stitcher to create a panorama from N number of images but extracting the affine transformation from each image. Will this be possible ? I have looked in this example:
https://github.com/opencv/opencv/blob...
And I found this class that might help, https://docs.opencv.org/trunk/df/d15/... but it only mentions rotations.. What about translation?
read this tutorial and affine motion is here
Thanks! I read this: "Affine model expecting affine transformation with 6 DOF or 4 DOF implemented in cv::detail::AffineBestOf2NearestMatcher cv::detail::AffineBasedEstimator cv::detail::BundleAdjusterAffine cv::detail::BundleAdjusterAffinePartial cv::AffineWarper"
This is what I want but how do I use the 4 DOF ? It is not clear. I know I can pass a flag "–estimator affine" but that can either use 6 DOF or 4 DOF ? I dont know which one.
At bottom of the page :
Try with affine I think it will work. You must set affine for all parameters bundle homography and adjuster