ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

black white instead depth image from /zed/depth/depth_registered

asked 2018-04-25 11:19:09 -0500

abdelkrim gravatar image

when i subscribe to /zed/depth/depth_registered i got a black white image i calibrate the the zed camera by sdk tools

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-04-25 12:20:34 -0500

If you view the depth image in RVIZ it will show as a black and white image. The pixel values are actually the depth in metres with undefined pixels set to zero. When RVIZ views these it assumes the pixels are float intensity values which a clamped between 0-1. This results in almost the entire image being white with some black areas where the depth is not defined.

There is a point cloud topic you can subscribe to which will show a 3D view of the depth data, or if you subscribe to the depth topic in your own node you can use the full range of the depth data in metres.

Hope this helps.

edit flag offensive delete link more

Comments

iview the depth image by cv2.imshow how can use the full range of the depth data in metres.

abdelkrim gravatar image abdelkrim  ( 2018-04-25 12:24:02 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2018-04-25 11:19:09 -0500

Seen: 634 times

Last updated: Apr 25 '18