-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Implementation of Aria Fisheye camera model #2786
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
Conversation
|
Converted to draft to debug |
|
To test the camera model implementation -
I have also uploaded the script of this test for further clarity. |
B1ueber2y
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can confirm that the code is correct from my pass.
ahojnnes
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, looks great.
src/colmap/sensor/models.h
Outdated
| const T theta_divr = | ||
| (r < std::numeric_limits<T>::epsilon()) ? static_cast<T>(1.0) : theta / r; | ||
|
|
||
| const T x = th_radial * theta_divr * u; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move the theta_divr mapping outside the distortion function, such that the distortion returns zero offset for extra params all zero
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok we could also do it a separate PR by also updating OpenCVFisheye. Lets keep it in the current way for now

This pull request implements a new camera model called the Aria Fisheye model. The Aria Fisheye model includes:
The camera model is described here -
https://facebookresearch.github.io/projectaria_tools/docs/tech_insights/camera_intrinsic_models#the-fisheyeradtanthinprism-fisheye624-model
For more details, one can also refer to the Project Aria implementation here -
https://github.com/facebookresearch/projectaria_tools/blob/main/core/calibration/camera_projections/FisheyeRadTanThinPrism.h
Thanks!