mirror of
https://github.com/opencv/opencv.git
synced 2026-10-02 04:02:40 +03:00
[3d] Port estimateTranslation2D into 5.x #28023 Merge with opencv_extra PR: opencv/opencv_extra#1290 This PR ports the newly added function `estimateTranslation2D` that was merged into 4.x under this PR: opencv/opencv#27950 The implementation is now adapted to the 5.x branch and integrates cleanly with the updated refinement API. Specifically, this 5.x version makes use of the improved LevMarq interface to support optional non-linear refinement of the translation parameters. Functionality, tests, and documentation follow the same design and behavior as the original 4.x PR. Further details can be found in the linked PR above. ### Pull Request Readiness Checklist See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request - [x] I agree to contribute to the project under Apache 2 License. - [x] To the best of my knowledge, the proposed patch is not based on a code under GPL or another license that is incompatible with OpenCV - [x] The PR is proposed to the proper branch - [ ] There is a reference to the original bug report and related work - [x] There is accuracy test, performance test and test data in opencv_extra repository, if applicable Patch to opencv_extra has the same branch name. - [x] The feature is well documented and sample code can be built with the project CMake