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

Why my depth map is so bad ?

asked 2015-04-07 21:58:01 -0500

lilouch gravatar image


I don't know if it's normal to obtain this kind of depth map ? Can you tell me ?

What I did is the following: i have dataset with left and right image. Thank to stereo_image_proc, I obtained the pointCloud2 and disparity image. (I can't know if my disparity image is valid because image_view crash and i can't see with rqt_image_view)

Then I transformed the Disparity Image to Depth Map thank to this node

But I obtain a very weird result:

Do you know why ? And especially how i can solve this problem ?

Many thank,

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-08-14 04:36:04 -0500

I don't see what is weird about the result, closer points appear darker, while those further away are brighter, which is expected for depth images. Looks more like a visualization issue with image_view to me, as it does not set the min/max depth for coloring as you might would like. Not sure if there are command line options for doing so.

edit flag offensive delete link more

answered 2015-04-08 04:26:27 -0500

google gravatar image

updated 2015-04-08 04:28:35 -0500

hey buddy~ how to get depth map?

I'm get disparity using stereo_image_proc ( topic name is /stereo/disparity)

I want to get depth image

how to use disparity_image_proc?

what is typed?

P.S I'm sorry this is not answer, I try to solve this problem

edit flag offensive delete link more


As a nodelet. You have to build it in your package then you could run it. Thank

lilouch gravatar image lilouch  ( 2015-04-08 19:57:47 -0500 )edit

Question Tools

1 follower


Asked: 2015-04-07 21:58:01 -0500

Seen: 599 times

Last updated: Aug 14 '15