Anime4KCPP

From Avisynth wiki
Revision as of 16:42, 25 May 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author TianZerL
Version beta (2020/05/24)
Download Anime4KCPP_AviSynthPlus_plugin-beta-Win64-msvc.7z
Category Resize
License MIT
Discussion

Contents

Description

Anime4K is a simple high-quality anime upscale algorithm for anime. it does not use any machine learning approaches, and can be very fast in real-time processing or pretreatment.


Requirements


Syntax and Parameters

Anime4KCPP

Anime4KCPP (clip "src", int "passes", int "pushColorCount", float "strengthColor", float "strengthGradient", int "zoomFactor", bool "GPUMode", int "platformID", int "deviceID")


clip  src =
Input clip must be RGB24


int  passes = 2
Passes for processing.


int  pushColorCount = 2
Limit the number of color pushes, make sure the edge won't be too thin


float  strengthColor = 0.3
Strength for pushing color, range 0.0 to 1.0, higher for thinner.


float  strengthGradient = 1.0
Strength for pushing gradient, range 0.0 to 1.0, higher for sharper.


int  zoomFactor = 1
Upscaling ratio for resizing.


bool  GPUMode = false
Enable GPU acceleration


int  platformID = 0
int  deviceID = 0
For specifying the GPU.


listGPUs

This function will list the available platform IDs and device IDs by throwing an error, you can use them to specify the GPU for processing.

listGPUs ()


Examples

Anime4KCPP with default settings:

AviSource("Blah.avi")
Anime4KCPP(passes=2, pushColorCount=2, strengthColor=0.3, strengthGradient=1.0, zoomFactor=1, GPUMode=false, platformID=0, deviceID=0)


Changelog

Version      Date            Changes
beta 2020/05/24 - Initial release


External Links

  • GitHub - Source code repository.




Back to External Filters

Personal tools