[WIP] add findEssentialMat for two different cameras#17551
[WIP] add findEssentialMat for two different cameras#17551tompollok wants to merge 6 commits intoopencv:masterfrom tompollok:master
Conversation
|
Should i rebase to 3.4? Can i also add an recoverPose overload that only takes the points and matrices as input and returns R and t? |
|
Thank you for contribution! 3.4 is not necessary here. Please add tests for new functionality. |
|
There is an issue with the threshold parameter in this implementation. Due to the fact, that i undistort the points, they are in normalized coordinates. When passing them to the findEssentialMatrix function i have to scale the threshold parameter. But given the fact that it can be two different cameras with different intrinsics, i dont know whats a good way to scale it. So what could be potentially done is to scale thresh by dividing by fx of one of the cameras? Doesnt sound perfect to me. Any other ideas? |
|
If using magsac instead of opencv RANSAC, then the thresh could be ommited completely if i understand correctly. Is there any information which RANSAC will be implemented by the GSOC? It seems like opencv RANSAC is really needing some work towards state of the art. https://local-features-tutorial.github.io/pdfs/Local_features_from_paper_to_practice.pdf |
|
@tompollok BTW, There is RANSAC sub-topic in OE-20 (#11015) - good place for your findings. |
|
@tompollok, thank you for the contribution. I could not figure out how to edit your PR in-place, because adding a test required changing another file, not from the list. So I created new PR with your commits preserved: #17816 |

Adds findEssentialMatrix for two cameras with different matrices. Uses the undistortion workaround discussed in #17329
related to #17329
Pull Request Readiness Checklist
See details at https://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.