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

Undistort using mrcal #1

Merged
merged 7 commits into from
Feb 5, 2024
Merged

Undistort using mrcal #1

merged 7 commits into from
Feb 5, 2024

Conversation

mcm001
Copy link
Collaborator

@mcm001 mcm001 commented Jan 6, 2024

Undistort from an arbitrary mrcal cameramodel into a normalized pinhole camera with the same focal length and optical center as the input

@mcm001
Copy link
Collaborator Author

mcm001 commented Jan 6, 2024

My main open question here is, do the core intrinsics (fx/fy/cx/cy) mean the same thing between models? Like is what I'm doing actually valid? The mrcal page says that u is calculated differently between splined-stereo and pinhole cameras, so it doesn't seem exactly right. But cv::solvepnp should just go do the opposite of my projection step even if the core intrinsics aren't exactly "right", so maybe it doesn't matter?

@mcm001 mcm001 changed the title Unproject from a mrcal cameramodel to regularized image coordinates Undistort using mrcal Jan 10, 2024
Copy link
Collaborator Author

@mcm001 mcm001 left a comment

Choose a reason for hiding this comment

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

obama prism

@mcm001 mcm001 merged commit da8c4e9 into main Feb 5, 2024
4 checks passed
@mcm001 mcm001 deleted the unproject branch February 5, 2024 21:13
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.

1 participant