ROS Answers: Open Source Q&A Forum - RSS feedhttps://answers.ros.org/questions/Open source question and answer forum written in Python and DjangoenROS Answers is licensed under Creative Commons Attribution 3.0Sat, 28 Mar 2020 20:32:41 -0500Lidar depth-map interpolation using "guidance" imagehttps://answers.ros.org/question/347770/lidar-depth-map-interpolation-using-guidance-image/ Hey,
currently I'm working on a project to interpolate sparse lidar depth-maps/ to make them dense. Therefore I'm trying to use image as guidance information. Until now this works quite well, but I got a problem which I dont know how to solve it yet. I know thats not a specific ROS-Topic but I think a lot of you are quite familiar with computer vision topics, so I hope someone could help me.
What I'm trying right know is: Iterating through all unknown depth values in sparse lidar depth-map. The unknown pixel has an corresponding RGB value from the image. Know I am searching for the nearest known depth values (their RGB values are also known). With help of their relation between depth and RGB value, I can replace the unknown value by a predicted one (e.g. by linear transformation from RGB to depth).
My problem: There are some errors in the depth-map (caused maybe by motion of vehicle, spinning-rate of lidar -> each vertical-lidar-line is aquised in different time) so I got for small objects multiple depth values. This can be seen in the image [Here](https://ibb.co/kXvDwmX). For that points the same RGB value has multiple depth values which ruins my algorithm. There are a lot of algorithms which has solved the interpolation task like: [Here](http://www.cvlibs.net/datasets/kitti/eval_depth_detail.php?benchmark=depth_completion&result=1407cf7267fc88b9bef323f353d878df4ddae3aa) and they dont suffer from these problems. Unfortunately none of these algorithms has reported about how to solve that problem in their paper. Is their any known strategy to preprocess lidar pointclouds/depth-maps? Does anyone have an idea how I can solve that problem?
Has anyone an idea how to solve it?
Best
Horst
Sat, 28 Mar 2020 17:55:29 -0500https://answers.ros.org/question/347770/lidar-depth-map-interpolation-using-guidance-image/Comment by stevemacenski for <p>Hey,</p>
<p>currently I'm working on a project to interpolate sparse lidar depth-maps/ to make them dense. Therefore I'm trying to use image as guidance information. Until now this works quite well, but I got a problem which I dont know how to solve it yet. I know thats not a specific ROS-Topic but I think a lot of you are quite familiar with computer vision topics, so I hope someone could help me.</p>
<p>What I'm trying right know is: Iterating through all unknown depth values in sparse lidar depth-map. The unknown pixel has an corresponding RGB value from the image. Know I am searching for the nearest known depth values (their RGB values are also known). With help of their relation between depth and RGB value, I can replace the unknown value by a predicted one (e.g. by linear transformation from RGB to depth). </p>
<p>My problem: There are some errors in the depth-map (caused maybe by motion of vehicle, spinning-rate of lidar -> each vertical-lidar-line is aquised in different time) so I got for small objects multiple depth values. This can be seen in the image <a href="https://ibb.co/kXvDwmX">Here</a>. For that points the same RGB value has multiple depth values which ruins my algorithm. There are a lot of algorithms which has solved the interpolation task like: <a href="http://www.cvlibs.net/datasets/kitti/eval_depth_detail.php?benchmark=depth_completion&result=1407cf7267fc88b9bef323f353d878df4ddae3aa">Here</a> and they dont suffer from these problems. Unfortunately none of these algorithms has reported about how to solve that problem in their paper. Is their any known strategy to preprocess lidar pointclouds/depth-maps? Does anyone have an idea how I can solve that problem?</p>
<p>Has anyone an idea how to solve it?</p>
<p>Best</p>
<p>Horst</p>
https://answers.ros.org/question/347770/lidar-depth-map-interpolation-using-guidance-image/?comment=347771#post-id-347771Please restrict ros answers questions to ROS questionsSat, 28 Mar 2020 20:32:41 -0500https://answers.ros.org/question/347770/lidar-depth-map-interpolation-using-guidance-image/?comment=347771#post-id-347771