How do i pass camera calibration to camera1394stereo
Hi.
I am using the camera1394
to interface my stereo camera, but seem to have some issues with passing my two yaml files consisting of the calibration of left and right image frame.
it seem to be possible within the launch file stereo_camera_full.launch
to pass the path for both files, but the output image isn't getting rectified. What could be wrong?
The yaml for the left camera looks like this
image_width: 1024
image_height: 768
camera_name: 00b09d010081dfed_left
camera_matrix:
rows: 3
cols: 3
data: [1316.323891, 0.000000, 495.064953, 0.000000, 1315.460351, 402.329771, 0.000000, 0.000000, 1.000000]
distortion_model: plumb_bob
distortion_coefficients:
rows: 1
cols: 5
data: [-0.458174, 0.447407, 0.000943, 0.000848, 0.000000]
rectification_matrix:
rows: 3
cols: 3
data: [0.999007, -0.001112, -0.044545, 0.001032, 0.999998, -0.001817, 0.044547, 0.001769, 0.999006]
projection_matrix:
rows: 3
cols: 4
data: [1297.706317, 0.000000, 566.988556, 0.000000, 0.000000, 1297.706317, 404.590614, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000]
Asked by 215 on 2016-03-23 09:28:11 UTC
Comments
Are you using these directions? http://wiki.ros.org/camera1394/Tutorials/UsingMultipleIEEE1394Cameras#Stereo_Cameras
Asked by joq on 2016-03-23 10:44:42 UTC
Are you using
camera1394
orcamera1394stereo
? Where did you findstereo_camera_full.launch
?Asked by joq on 2016-03-23 10:48:13 UTC
This is the one i use http://wiki.ros.org/camera1394stereo
Asked by 215 on 2016-03-23 13:59:20 UTC
That package is different from
camera1394
, so I added that tag to your question. Hopefully, those maintainers will see it now.Asked by joq on 2016-03-23 14:35:08 UTC
it's right, to get rectified image you should run the stereo_image_proc node.The stereo_camera_full.launch just publish the yaml file.
Asked by qqwrz114 on 2016-04-16 21:10:34 UTC