fixstars / libSGM

Stereo Semi Global Matching by cuda
Apache License 2.0
618 stars 189 forks source link

How to be more robust on sky region where there is less patern #55

Open lingjiankong opened 4 years ago

lingjiankong commented 4 years ago

Hi guys. Thanks for the awesome library. It has been working great.

On regions such as the sky, the disparity can be very noisy. My questions are

  1. Are there any parameters that we can tweak to get more robust detection on sky where there is virtually no pattern? Ideally we want to output disparity values of 0 on sky.
  2. Are there any ways to get the confidence map for disparity so that we can post filter ourselves?

Thanks!

jnblanchet commented 4 years ago

You can play with the uniqueness parameter. Try setting it to 0.8 or so.