ROS Kinect OpenCV for depth information of a particular pixel in real-time. [Solved]
I followed this tutorial and now I'm able to do image processing with OpenCV in ROS. but I want some more guidance. I want to extract the exact depth information using OpenCV ,ROS, Kinect. Now I'm able to detect a ball. I have the U,V coordinates of that ball. How can I get exact position of that ball with respect to Kinect in 3-dimensions? I mean x,y,z coordinate of the center of the ball if my Kinect camera is at origin for instance.
I hope you understood my problem.
Thanking you Waiting for your valuable replay.