nagadomi / waifu2x

Image Super-Resolution for Anime-Style Art
http://waifu2x.udp.jp/
MIT License
27.33k stars 2.71k forks source link

What's the best way to upscale a video greater than 2x with waifu2x? #353

Closed jp06 closed 3 years ago

jp06 commented 3 years ago

I hope it's not so bad of a question. For example, I have a 512x384 resolution video and I want to get the best results upscaling up to 2880x2160 with waifu2x. What's the best way to go about it? I've been reading some stuff on using waifu2x and I remember reading the first two below somewhere, while I just made up 3 and 4:

  1. Upscale 2x until before reaching desired resolution (e.g. 512x384 -> 1024x768 -> 2048x1536) while playing with denoise levels. Then, custom upscale to desired resolution (2048x1536 -> 2880x2160).
  2. Upscale in highest multiple of 2 before reaching desired resolution (e.g. x4, 512x384 -> 2048x1536). Then, custom upscale to desired resolution (2048x1536 -> 2880x2160).
  3. Upscale 2x until you reach or go over the desired resolution (e.g. 512x384 -> 1024x768 -> 2048x1536 -> 4096x3072) while playing with denoise levels. Then, downscale to desired resolution (4096x3072 -> 2880x2160).
  4. Upscale one time in lowest multiple of 2 until you go over or reach the desired resolution (e.g. x6, 512x384 -> 3072x2304). Then, downscale to desired resolution (3072x2304 -> 2880x2160).
  5. Upscale straight to desired resolution (e.g. 512x384 -> 2880x2160).

Or it just depends and I have to test myself?

jp06 commented 3 years ago

Just realized that there's no custom resolution upscaling in main repo.