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

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

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

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

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

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


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 -0600 )edit

Question Tools



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

Seen: 621 times

Last updated: Apr 25 '18