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 inconsistency in spherical Intrinsic_Spherical projection functor #2087

Merged
merged 1 commit into from Aug 20, 2022

Conversation

rjanvier
Copy link
Member

There is an inconsistency between the way spherical projection is computed in the ceres cost functor and the way it's defined in Camera_Spherical.hpp.
In the ceres functor the coordinates are shifted by -0.5 (top left is (0,0)) and in the Camera_Spherical.hpp file they are not (top left is (-0.5,-0.5)).
Apparently there are some other inconsistencies of this kind in the lib that might need to be addressed.

There is an inconsistency between the way spherical projection is computed in the ceres cost functor and the way it's defined in Camera_Spherical.hpp.
In the ceres functor the coordinates are shifted by -0.5 (top left is (0,0)) and in the Camera_Spherical.hpp file they are not (top left is (-0.5,-0.5)).
Apparently there are some other [inconsistencies](#1271) of this kind in the lib that might need to be addressed.
@pmoulon pmoulon merged commit 97fd1e2 into develop Aug 20, 2022
@pmoulon pmoulon self-assigned this Aug 20, 2022
@pmoulon pmoulon added this to the 2.1 milestone Aug 20, 2022
@pmoulon
Copy link
Member

pmoulon commented Aug 20, 2022

Thank you for your contribution. Sorry for the delay to merge.

@pmoulon pmoulon deleted the rjanvier-spherical-functor branch February 2, 2023 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants