You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To do so, I would suggest the following alternative implementation of the OgreDistortionPass::Distort() function in gz/rendering/ogre/OgreDistortionPass :
where the k1 parameter from Brown-Conrady's distortion model acts as the w parameters (field-of-view of the ideal fish-eye lens) of Devernay-Faugeras' FOV distortion model, the center parameter is made to match the cx and cy intrinsics, and the other parameters k2,k3,p1 and p2 are ignored.
The equations for the model can be found below, with w subsituted by s.
The text was updated successfully, but these errors were encountered:
I think that would work. There's also a few more things that'll need to be done in order users to specify / change the type of distortion model to use in gazebo. That will likely have to happen through sdf, e.g.
gz-sensors will need to parse this new type attribute, possibly when creating a new image distortion model. Currently there is the ImageBrowDistortionModel that uses rendering api to create the distortion effect and set it to the camera. I think we would need to add a new API to set the distortion type.
Hi! I would like to request the addition of the Devernay-Faugeras FOV camera image distortion model to Gazebo Garden.
Desired behavior
Currently, only the Brown-Conrady camera image distortion model is available in Gazebo Garden. However, many robotics applications rely on the Devernay-Faugeras FOV camera image distortion model for its better representation of fish-eye lens and support by calibration tools (such as Kalibr).
To do so, I would suggest the following alternative implementation of the
OgreDistortionPass::Distort()
function ingz/rendering/ogre/OgreDistortionPass
:where the
k1
parameter from Brown-Conrady's distortion model acts as thew
parameters (field-of-view of the ideal fish-eye lens) of Devernay-Faugeras' FOV distortion model, thecenter
parameter is made to match thecx
andcy
intrinsics, and the other parametersk2
,k3
,p1
andp2
are ignored.The equations for the model can be found below, with
w
subsituted bys
.The text was updated successfully, but these errors were encountered: