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 to improve the strength of denoising by adjusting parameters? #22

Open
LAccordeur opened this issue Jul 4, 2018 · 4 comments
Open

Comments

@LAccordeur
Copy link

I had tried to change the sigma, the radius, the profile and other parameters, but these didn't work on some noise videos. Can you give me some advice?

@mysteryx93
Copy link

mysteryx93 commented Oct 17, 2021

Personally I haven't found BM3D to be ajustable at all in terms of denoising strength. Sigma=9 is what always worked best in my tests.

To increase denoising strength, one trick is to use SMDegrain as a first pass and pass it as the ref parameter. That's what xClean is doing.

@mawen1250
Copy link
Member

mawen1250 commented Oct 18, 2021

Basically "sigma" works as a threshold for frequency filtering.
It seems the strength of the noise is way higher above the threshold, so you may need to try much higher "sigma".

For very strong noise with temporal fluctuation, pure BM3D may not work very well.
As @mysteryx93 mentioned, passing a pre-filtered clip as "ref" may help. (while personally I haven't found a good enough filter at the time I wrote BM3D)

@mawen1250
Copy link
Member

mawen1250 commented Oct 18, 2021

Personally I haven't found BM3D to be ajustable at all in terms of denoising strength. Sigma=9 is what always worked best in my tests.

To increase denoising strength, one trick is to use SMDegrain as a first pass and pass it as the ref parameter. That's what xClean is doing.

Indeed, I also found that I constantly set sigma=8 whenever I use BM3D for denoising.
This might be because it's a good trade-off between noise reduction and over-smoothness.

@mysteryx93
Copy link

mysteryx93 commented Oct 18, 2021

What I found is that sigma changes the sharpness of the edges; with little or no impact on removed noise. Anything below 9 (or 8) is "not enough" and anything above 9 gives too sharp edges, from my tests.

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

3 participants