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 to compare waifu2x and anime4k #99

Closed
Daijobou opened this issue Sep 1, 2022 · 3 comments
Closed

Question to compare waifu2x and anime4k #99

Daijobou opened this issue Sep 1, 2022 · 3 comments

Comments

@Daijobou
Copy link

Daijobou commented Sep 1, 2022

Wow... this two algorithm are insane. I compiled anime4kcpp on ubuntu with windows 11 (wsl) and compared it with waifu2x.
Waifu2x its a little bit better (sharper, more details), so I wonder, is there a way for better output with anime4k or in this case waifu2x is a little bit better?

Original Test-Image (width:200px)
image

anime4k with options -w -L 1
image

Waifu2x (created from website)
image

Maybe you miss the differences, here marked with red. Waifu2x show more details. Anime4k is a little blurred.
image

I don't see any option to improve the quality further. Am I missing something? I don't have a GPU.
Can anyone help me out here? Thanks! :)

And one more question.
Here https://github.com/TianZerL/Anime4KCPP#result is right side a "Origin HR" image. What this means? Where does that come from? I don't see any setting for this.

@TianZerL
Copy link
Owner

TianZerL commented Sep 2, 2022

It is expected that Anime4KCPP is not as good as Waifu2X. The former aims at real-time processing, which means that the amount of CNN's parameters is much less. If you only want to get a high-quality single image instead of videos, I would suggest you use Waifu2X or more complicated algorithm.
Origin HR literally means "Origin High Resolution Image", it's the the target of processing.

@Daijobou
Copy link
Author

Daijobou commented Sep 2, 2022

Thanks for your fast response. So there is no way to make the image a little sharper with the help of additional filters?
Anime4KCPP its super good and ultra fast. Its needed on my notebook 0.2 seconds to create this image with Anime4KCPP. Even double the time would be fine for me.
Great work!

@TianZerL
Copy link
Owner

TianZerL commented Sep 2, 2022

If you want sharper image, don't enable HDN (without '-L' option). Excessive noise reduction will make the image lack of detail.
And I will recommend you waifu2x-ncnn-vulkan for single anime image processing.

@Daijobou Daijobou closed this as completed Sep 2, 2022
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

2 participants