ethz-asl / kalibr

The Kalibr visual-inertial calibration toolbox
Other
4.43k stars 1.4k forks source link

camera extrinsic and re projection matrix #696

Open khuechuong opened 5 months ago

khuechuong commented 5 months ago

For camera only calibration, does it give extrinsic matrix since I need the re-projection matrix for proper image like in the cameraInfo ros message. The wiki page said it gives extrinsic but it only gives intrinsic. I need to project it so that the black stuff that appears when kalibr undistort it to not appear.

goldbattle commented 3 months ago

If you only have a single camera then the extrinsic are identity. If you have two cameras, then it will have the SE(3) 4x4 matrix transform between the two cameras in addition to both camera's intrinsics.

khuechuong commented 3 months ago

@goldbattle so then what would the projection matrix in camerainfo ros message? If I put the same intrinsic in, there are dark everywhere. Is there a node that trims the black stuff around?