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

Inference on non-raw images #6

Closed
korotaS opened this issue Nov 12, 2024 · 1 comment
Closed

Inference on non-raw images #6

korotaS opened this issue Nov 12, 2024 · 1 comment
Labels
good first issue Good for newcomers

Comments

@korotaS
Copy link

korotaS commented Nov 12, 2024

Hi, thanks for your great work!
Do I understand correctly that the inference is possible only on raw format images? Otherwise, how an ordinary image like JPEG or PNG can be inferenced and would it yield still those amazing results?

@Lyricccco
Copy link
Collaborator

Lyricccco commented Nov 14, 2024

Hi, thanks for your great work! Do I understand correctly that the inference is possible only on raw format images? Otherwise, how an ordinary image like JPEG or PNG can be inferenced and would it yield still those amazing results?

Hi, korotaS! Thanks so much for your interest and your great question. 😃

Yes, you're correct—DualDn is specifically designed to work with RAW images. But, instead of the way of speaking DualDn cannot inference on JPEG images, 🤔 I think it is better to say that DualDn chose to inference on RAW images.

The piont is, all odinary JPEG images caputed by cameras are originally come from the RAW images, follow the processing pipeline: RAW -> ISP -> sRGB, the sRGB images are the so-called JPEG, PNG images. And the noise is only introduced in RAW domain and be tangled within the ISP processing. sRGB denoising models (those directly denoising JPEG images) are trained to learn ISP-specific noise, which often results in a loss of generalization capability.

In our new Project website, we’ve added more results to illustrate DualDn outperforms previous SOTA sRGB denoising models (Restormer), SOTA RAW denoising models (CycleISP) and SOTA generalizable denoising models (Mask Denoising).

Goes for denoising in dual domains! Hahaa, that's exactly what we suggest people learning to do.

p.s. If you're still interested in denoising PNG images, it's possible to explore training or using a pre-trained sub-optimal sRGB denoiser within our differentiable ISP setup.

@Lyricccco Lyricccco added the good first issue Good for newcomers label Nov 14, 2024
@Lyricccco Lyricccco pinned this issue Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants