Currently, the default value for focal length when no camera info is provided defaults to 1.0 rendering whole approximate intrinsics and projection matrices useless. Based on this article, I propose a better approximation of the focal length based on the field of view of the camera.
For most of the use cases, users will either know the field of view of the camera the used, or they already calibrated it ahead of time.
If there is some documentation to fill. please let me know.
This PR should be straightforward to port it to Humble, Iron and Jazzy.
This is an automatic backport of pull request #985 done by Mergify.
Currently, the default value for focal length when no camera info is provided defaults to
1.0
rendering whole approximate intrinsics and projection matrices useless. Based on this article, I propose a better approximation of the focal length based on the field of view of the camera.For most of the use cases, users will either know the field of view of the camera the used, or they already calibrated it ahead of time.
If there is some documentation to fill. please let me know.
This PR should be straightforward to port it to
Humble
,Iron
andJazzy
.This is an automatic backport of pull request #985 done by Mergify.