Anime4K Versions Save

A High-Quality Real Time Upscaler for Anime Video

v2.0-RC4

4 years ago

Installation Instructions for GLSL/MPV Version

Added a bilateral filter to Anime4K. This reduces noise and blocking on highly compressed video (mostly found on the web). Speed is not affected.

Anime4K now enhances edges even in cases where upscaling is not necessary, as seen in this comparison.

On a more personal note, I now feel as if ML based techniques for denoising line art are just mostly re-learning traditional computer graphics/image processing techniques, + ε. The small epsilon leads to a slightly better image quality, but at what cost to speed? (Of course this does not apply for extreme cases such as low resolution upscaling, denosing with a negative signal to noise ratio or image style transfer, since ConvNets can "generate" missing information).

image

v2.0-RC3

4 years ago

Installation Instructions for GLSL/MPV Version

The hand-crafted 'sharpening' curve has been replaced by one obtained with machine learning by minimizing MSE on the output image.

This allows the algorithm to apply strong edge refinement without too much banding or aliasing.

v2.0-RC2

4 years ago

Installation Instructions for GLSL/MPV Version

Further speed improvements without noticeable quality degradation. Three versions are provided:

  • Normal: 2.5ms
  • Fast: 1ms (Texture detector removed + Low resolution gradient computation)
  • UltraFast: 0.8ms (Crude gradient computation)

All tests are carried out using a Vega 64 GPU using default settings, with the MPV profiler (accessed by pressing Shift+I, then pressing 2).

Note that Fast and UltraFast versions might still produce aliasing artifacts since all gradient computation is done at the original video size (before upscaling).

v2.0-RC

4 years ago

Installation Instructions for GLSL/MPV Version

Major changes to the algorithm. It is now a completely continuous algorithm, discrete comparison kernels are removed. A useful side effect is that the refine step is now fully differentiable (future unification with Maching Learning!)

Major quality improvements without speed penalties. Texture loss and aliasing issues are solved. Improved 720p->1080p and 1080p->1440p upscaling quality. Due to it being completely continuous, it now also works with non-anime (real) videos such as movies, games and youtube videos.

Further details (algorithm details, explanation, examples and preprint) will be drafted soon.

v1.0-RC2

4 years ago

Installation Instructions for GLSL/MPV Version

Improved speed. (Reduction of 3ms, from 6ms down to 3ms on RX Vega 64) Slight decrease in quality compared to v1.0 RC1, should be unnoticeable in most cases.

Three versions are included:

  • Anime4K - 3ms
  • Anime4K_Fast - 1.5ms (Lower quality)
  • Anime4K_UltraFast - 1ms (Should be fast enough for integrated GPUs, lower quality, but still worth using)

Fast_UltraFast RC2_Comparison

v1.0-RC

4 years ago

Installation Instructions for GLSL/MPV Version

Reduced texture loss, aliasing and banding in Anime4K v1.0 RC at the cost of performance. It now takes 6ms. +2ms for line detection and +1ms for line targeted FXAA.

What's new:

  • A line detection algorithm.
  • Gradient maximization is only applied near lines using the line detector, instead of indiscriminately affecting the entire image. This has the effect of ignoring textures and out of focus elements.
  • Finally, one iteration of targeted FXAA is applied on the lines using the line detector to reduce aliasing.

ComparisonRC

v0.9

4 years ago

Installation Instructions for HLSL/MPC-BE Version Installation Instructions for GLSL/MPV Version

The Java pre-compiled binaries are removed due to cross-platform incompatibility issues. Please build the project yourself using maven.