Go to file
Manolis Lourakis 8d0fbc6a1e
Merge pull request #21702 from mlourakis:4.x
Fixes and optimizations for the SQPnP solver

* Fixes and optimizations

- optimized the calculation of qa_sum by moving equal elements outside the loop
- unrolled copying of the lower triangle of omega
- substituted SVD with eigendecomposition in the factorization of omega (2-3 times faster)
- fixed the initialization of lambda in FOAM
- added a cheirality test that checks a solution on all 3D points rather than on their mean. The old test rejected valid poses in some cases
- fixed some typos & errors in comments

* reverted to SVD

Eigen decomposition seems to yield larger errors in certain tests, reverted to SVD

* nearestRotationMatrixSVD

Added nearestRotationMatrixSVD()
Previous nearestRotationMatrix() renamed to nearestRotationMatrixFOAM() and reverts to nearestRotationMatrixSVD() for singular matrices

* fixed checks order

Fixed the order of checks in PoseSolver::solveInternal()
2022-05-13 18:11:14 +00:00
.github GTest filtered list for 4.x 2022-05-11 18:08:44 +03:00
3rdparty Merge pull request #21937 from Kumataro:4.x-fix-21911 2022-05-13 17:32:05 +00:00
apps Merge pull request #21420 from lukasalexanderweber:4.x 2022-02-01 16:56:44 +00:00
cmake add mirrors for tim-vx and others in opencv_contrib 2022-04-21 14:48:40 +08:00
data fix files permissions 2020-04-13 04:29:55 +00:00
doc Fix typos in tutorials within docs/ 2022-03-17 16:06:54 -04:00
include exclude opencv_contrib modules 2020-02-26 15:12:45 +03:00
modules Merge pull request #21702 from mlourakis:4.x 2022-05-13 18:11:14 +00:00
platforms Update clang toolchain for RVV. 2022-02-16 16:01:38 +08:00
samples Merge pull request #21805 from rogday:pretty_fix 2022-04-20 04:55:04 +00:00
.editorconfig add .editorconfig 2018-10-11 17:57:51 +00:00
.gitattributes cmake: generate and install ffmpeg-download.ps1 2018-06-09 13:19:48 +03:00
.gitignore Merge pull request #17165 from komakai:objc-binding 2020-06-08 18:32:53 +00:00
CMakeLists.txt Merge pull request #21036 from fengyuentau:timvx_backend_support 2022-03-31 21:42:11 +00:00
CONTRIBUTING.md migration: github.com/opencv/opencv 2016-07-12 12:51:12 +03:00
COPYRIGHT copyright: 2022 2022-01-04 12:49:15 +00:00
LICENSE copyright: 2021 2021-01-01 13:40:32 +00:00
README.md fix 4.x links 2021-12-22 13:24:30 +00:00
SECURITY.md Added SECURITY.md 2019-11-07 13:10:42 +03:00

OpenCV: Open Source Computer Vision Library

Resources

Contributing

Please read the contribution guidelines before starting work on a pull request.

Summary of the guidelines:

  • One pull request per issue;
  • Choose the right base branch;
  • Include tests and documentation;
  • Clean up "oops" commits before submitting;
  • Follow the coding style guide.