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

question about JPG image #37

Open
xzhub opened this issue Jul 11, 2020 · 0 comments
Open

question about JPG image #37

xzhub opened this issue Jul 11, 2020 · 0 comments

Comments

@xzhub
Copy link

xzhub commented Jul 11, 2020

I've read the Q&A about the JPG image issue. I am not quite understand the reason: after loading the image into memory, they are just array numbers, what are the differences between JPG's array(matrix) and PNG's array?

I did a test to convert JPG back to PNG then feed to CBDNet, I can see the result is much better. I am wondering if this is a matplotlib.pyplot/pillow issue? maybe it can not read the JPG data correctly?

BTW, I am using this code since it provides me a easy to use interface: https://gitlab.com/Yggdrasyll/cbdnet-denoiser

Here is the test result.
Origin:
crop1
Result directly processed from origin JPG image:
FromJPG
Convert JPG to PNG by Mac's preview, then feed to CBDNet:
fromJPGsPNG

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

1 participant