Skip to content

Upscale Shaders

bloc97 edited this page May 28, 2020 · 26 revisions

Example (Original / Processed)

Files

Anime4K_Upscale_CNN_M_x2.glsl
Anime4K_Upscale_CNN_L_x2.glsl
Anime4K_Upscale_CNN_UL_x2.glsl
Anime4K_Upscale_DoG_x2.glsl
Anime4K_Upscale_Original_x2.glsl

Description

Performs super-resolution. Doubles image size with the expectation that the low resolution image is artifact-free. (I.e. No noise, blur or any other degradation.)

Special considerations

Any degradation remaining on the image will be amplified. It is better to use other shaders first to reduce noise or blur.

CNN_M and CNN_L variants also introduces small amounts of checkerboard artifacts due to the pixelshuffle layer and the low parameter count.

As this shader doubles the image size and quadruples the number of pixels, other shaders placed after this will be 4x slower.

Clone this wiki locally