Implementation of Aria Fisheye camera model#2786
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.
I can confirm that the code is correct from my pass.
ahojnnes
left a comment
There was a problem hiding this comment.
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.
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.
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!