Ask Your Question
1

How can I get extrinsic camera parameters from the ROS camera_calibration package

asked 2015-03-06 05:11:48 -0600

Ronald gravatar image

updated 2015-03-10 04:02:26 -0600

I want to get more a more accurate point cloud and uv-mapping for the Softkinetic Depthsense by calibrating the intrinsic and extrinsic parameters of the depthsense using the ROS camera_calibration package.

The output matrices of the camera_calibration package are: 1) Distortion parameters (D) 2) Intrinsic camera matrix (K) 3) Rectification matrix (R) 4) Projection matrix of the processed (rectified) image (P)

The Depthsense SDK has the option to set the camera parameters in the StereoCameraParameters struct.

How do I get the camera pose (extrinsic parameters) from the camera_calibration output (D, K, R and P)?

The projection matrix (P) contains is the projection onto the rectified image. Decomposing this matrix into a translation and rotation would give the extrinsic parameters of the virtual, rectified camera. What I need to set in the Depthsense SDK are the real camera extrinsics.

edit retag flag offensive close merge delete

Comments

Hi , I wonder if you have solved this question. I also have the question about how to get the camera extrinsics . And I am desired to get your help. Thanks a lot!

Introcert gravatar imageIntrocert ( 2017-08-07 03:39:17 -0600 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-03-10 06:53:35 -0600

End-Effector gravatar image

updated 2015-03-10 06:57:59 -0600

I don't know if I'm answering correctly.

So in this pkg: https://github.com/warp1337/opencv_ca...

You can calibrate your camera, just follow the instructions. Camera calibration .xml file will be next to the executable when you finish. Open the .xml file and you will be able to see your camera Extrinsic parameters matrix.

I may be completely wrong, sorry.

edit flag offensive delete link more

Comments

Thank you for your answer. This may indeed be an option to get the extrinsic parameters as well. However, I think that the ros calibration_package also contains the extrinsic camera parameters. I just don't know how to get the extrinsic camera parameters from these four matrices (D, K, R and P).

Ronald gravatar imageRonald ( 2015-03-10 08:27:14 -0600 )edit
1

Even after reading this: http://wiki.ros.org/image_pipeline/Ca... I still don't see an option to get the camera extrinsics.

Ronald gravatar imageRonald ( 2015-03-10 08:28:37 -0600 )edit

You can't get extrinsic parameters with this method.

Jägermeister gravatar imageJägermeister ( 2019-02-22 06:41:29 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2015-03-06 05:11:48 -0600

Seen: 1,246 times

Last updated: Mar 10 '15