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 incorrectly modifying cameras and images. #243

Open
dbs4261 opened this issue Jul 4, 2019 · 0 comments
Open

Undistort incorrectly modifying cameras and images. #243

dbs4261 opened this issue Jul 4, 2019 · 0 comments

Comments

@dbs4261
Copy link

dbs4261 commented Jul 4, 2019

I was having some issues with a data set and not having the undistortion come out how I expected. I tried processing the standard temple dataset only adjusting for the focal length. In this case the undistorted reconstruction and the undistorted images should be the same as the input reconstruction and the input images. This is not the case. The input principal point is the center of the image is (320, 240) on a 640x480 image and the output principal point is (277.525, 198.475) on a 638x438 image. I've been trying to make a fix on my own but I've found several inconsistencies and I cant tell what the correct procedure is. There is a primary bug caused by the shared intrinsics model, and undistort reconstruction repeatedly modifying it. There seems to be a secondary bug in the calculation of the scale caused by the shift of 0.5. This results in a scale that is not 1.0 cameras without distortion.

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

No branches or pull requests

1 participant