Depth registered and rgb shift why ?

asked 2014-07-24 04:26:24 -0500

ROSkinect gravatar image

updated 2014-07-24 04:44:57 -0500

ccapriotti gravatar image

According to the documentation: registration is matching depth to color, it means like the depth and rgb are in the same frame but why I get a shift between the two images.

What I actually do is subscribing to RBG kinect topic (/camera/rgb/image_color) and depth topic (/camera/depth_registered/image_raw) and I try to blend the two images using opencv function like this:

image description

and when I'm little bit far from the kinect, the shift disappear:

image description

The question, as you can understand is why I get the shift ?

edit retag flag offensive close merge delete

Comments

Have you calibrated the camera?

McMurdo gravatar image McMurdo  ( 2014-07-24 05:16:29 -0500 )edit

normally using the depth_registered topic we get the camera calibrated

ROSkinect gravatar image ROSkinect  ( 2014-07-24 05:36:10 -0500 )edit
1

Try to visualize depth_registered/points topic in rviz and see if you have an offset there.

McMurdo gravatar image McMurdo  ( 2014-07-24 05:58:44 -0500 )edit

OK thank you I'll look that

ROSkinect gravatar image ROSkinect  ( 2014-07-24 06:35:06 -0500 )edit