depth camera interpretation of data ROS

289 views Asked by At

I am using ROS with a depth camera, and the data for each pixel is 4 bytes. Example: 0,0,192,127

I am trying to extract the distance to a point but I don't know what the 4 numbers represent.

1

There are 1 answers

0
Patrick Lo On BEST ANSWER

I think you might wanna search for cv_bridge to convert the sensor_msgs::Image to "real" data for further processing. Can have a look at the tutorial here.Link