Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tangential camera distortion (p1,p2 in opencv camera) #2627

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

jkulhanek
Copy link
Contributor

Tangential camera distortion parameters have flipped y in the current implementation. This is because OpenCV camera model assumes opencv coords, but the coords are passed as opengl. This PR moves the switch from opencv to opengl after the distortion.

Copy link
Contributor

@tancik tancik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

@jkulhanek jkulhanek enabled auto-merge (squash) November 22, 2023 15:45
@jkulhanek jkulhanek merged commit 38726da into main Nov 29, 2023
4 checks passed
@jkulhanek jkulhanek deleted the jkulhanek/fix-tangential-camera-distortion branch November 29, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants