Depth image from a Disparity image
Hi there,
I am using a Bumblebee2 stereo camera, and with the "stereo_image_proc" node, I am able to get the disparity image of the scene, as well as the point cloud...
But It would be more useful for me to have a normal grey-scale image. I know it is straightforward to get it from the disparity information, just applying the formula Z(depth) = T*f (camera parameters) / d (disparity), but I guess there should be another done performing this as well as the interpolation of the "NaN", "0", or "inf" pixels of the disparity image...
Any help? I've been looking around but couldn't find any.
Thanks!