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/image_color) and depth topic (/camera/depth_registered/image_raw) and I try to blend the two images using opencv function like this:
and when I'm little bit far from the kinect, the shift disappear:
The question, as you can understand is why I get the shift ?
Have you calibrated the camera?
normally using the depth_registered topic we get the camera calibrated
Try to visualize depth_registered/points topic in rviz and see if you have an offset there.
OK thank you I'll look that