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

[Bug] Check UnsharpenMask #1613

Open
ternaus opened this issue Mar 29, 2024 · 0 comments
Open

[Bug] Check UnsharpenMask #1613

ternaus opened this issue Mar 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ternaus
Copy link
Collaborator

ternaus commented Mar 29, 2024

We have in Docstring:

blur_limit: maximum Gaussian kernel size for blurring the input image.
          Must be zero or odd and in range [0, inf). If set to 0 it will be computed from sigma
          as `round(sigma * (3 if img.dtype == np.uint8 else 4) * 2 + 1) + 1`.
          If set single value `blur_limit` will be in range (0, blur_limit).
          Default: (3, 7).
      sigma_limit: Gaussian kernel standard deviation. Must be in range [0, inf).
          If set single value `sigma_limit` will be in range (0, sigma_limit).
          If set to 0 sigma will be computed as `sigma = 0.3*((ksize-1)*0.5 - 1) + 0.8`. Default: 0.

But it does not look as it is happening in the code.

Check paper: arxiv.org/pdf/2107.10833.pdf

@ternaus ternaus added the bug Something isn't working label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant