Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we apply filtering after disparity is obtained? #49

Open
lingjiankong opened this issue Aug 27, 2019 · 6 comments
Open

How can we apply filtering after disparity is obtained? #49

lingjiankong opened this issue Aug 27, 2019 · 6 comments

Comments

@lingjiankong
Copy link

Hello! I am interested in obtain a smoother disparity map for point cloud generation. How can I apply a filtering / smoothing operation in libSGM (for example, similar to OpenCV's DisparityWLSFilter)? Which function / parameter should I call / tweak to obtain the smoother disparity?

Thanks!

@lingjiankong lingjiankong changed the title How can we apply filtering for after disparity obtained? How can we apply filtering after disparity is obtained? Aug 27, 2019
@mohanen
Copy link

mohanen commented Aug 28, 2019

Last time I checked WLS Filter didn't work out the way I expected. #20

Check out Bilateral, it may work out for you.

Also look into SDR, it has lot of parameter to tweak and some what preserved edges in an expected way.

@sotsuka-fixstars
Copy link
Contributor

We also found that SPS which has 11 parameters might work finer.

@lingjiankong
Copy link
Author

Last time I checked WLS Filter didn't work out the way I expected. #20

Check out Bilateral, it may work out for you.

Also look into SDR, it has lot of parameter to tweak and some what preserved edges in an expected way.

Thanks. I posted how to get OpenCV's DisparityWLSFilter working in #20, for people who are confused about the data type and interface.

@lingjiankong
Copy link
Author

lingjiankong commented Aug 29, 2019

@sotsuka-fixstars Are there any GPU-based filtering implementation that I can use? My goal is to free up as much CPU space as possible.

@sotsuka-fixstars
Copy link
Contributor

@lingjiankong At the moment, we don't have it.
OpenCV has CUDA-implemented Bilateral filter in cudaimgproc module.
https://docs.opencv.org/4.1.1/d0/d05/group__cudaimgproc.html#ga6abeaecdd4e7edc0bd1393a04f4f20bd

@ynma-hanvo
Copy link

ynma-hanvo commented Mar 3, 2022

Last time I checked WLS Filter didn't work out the way I expected. #20

Check out Bilateral, it may work out for you.

Also look into SDR, it has lot of parameter to tweak and some what preserved edges in an expected way.

is SDR able to run realtime?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants