-
Notifications
You must be signed in to change notification settings - Fork 41
Description
Hi,
Is there, or will there be support for obtaining camera intrinsics using the ifm3d-ros driver?
If yes, are they only for the unrectified images?
Using "ifm3d schema --dump" I see the "INTR_CAL: 256" option.
I suppose the right place for camera intrinsics is the camera_info topic typically associated with image streams from cameras.
I suppose the straightforward way to implementing this is to use the INTR_CAL bit to receive the intrinsics once (just like the extrinsics), and then publishing the camera_info continuously along with the image data.
However, if the on-sensor image rectification is enabled, the intrinsic parameters are modified. For example, the distortion coefficients go towards zero.
When performing image rectification in OpenCV, I would obtain a new camera matrix with new parameters for the "rectified camera". These would depend on eg. my choice of how to crop the rectified image.