Robotics StackExchange | Archived questions

Depth registered and rgb shift why ?

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/imagecolor) and depth topic (/camera/depthregistered/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 ?

Asked by ROSkinect on 2014-07-24 04:26:24 UTC

Comments

Have you calibrated the camera?

Asked by McMurdo on 2014-07-24 05:16:29 UTC

normally using the depth_registered topic we get the camera calibrated

Asked by ROSkinect on 2014-07-24 05:36:10 UTC

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

Asked by McMurdo on 2014-07-24 05:58:44 UTC

OK thank you I'll look that

Asked by ROSkinect on 2014-07-24 06:35:06 UTC

Answers