Anime4KCPP
From Avisynth wiki
Abstract | |
---|---|
Author | TianZerL |
Version | v2.3.0 |
Download | Anime4KCPP_AviSynthPlus_plugin-2.3.0-Win64-msvc.7z |
Category | Resize |
License | MIT |
Discussion |
Contents |
Description
Anime4K is a simple high-quality anime upscale algorithm with GPU acceleration support.
Starting with v2.0.0 it also provides its own CNN (Convolutional Neural Network) algorithm ACNet:
- ACNet is a CNN based anime upscale algorithm. It aims to provide both high-quality and high-performance.
Requirements
- [x64]: AviSynth+
- Supported color formats: RGB24, YV24
- YUV444, YUV422, and YUV420 is also supported when
ACNet=true
- YUV444, YUV422, and YUV420 is also supported when
Syntax and Parameters
Anime4KCPP
- Anime4KCPP (clip "src", int "passes", int "pushColorCount", float "strengthColor", float "strengthGradient", int "zoomFactor", bool "ACNet", bool "GPUMode", bool "HDN", int "HDNlevel", int "platformID", int "deviceID")
- clip src =
- Input clip must be RGB24 or YV24 (YUV444P8) if
ACNet=false
.. - YV24 (YUV444P8), YV16 (YUV420P8), and YV12 (YUV420P8) are also supported if
ACNet=true
.
- Input clip must be RGB24 or YV24 (YUV444P8) if
- clip src =
- int passes = 2
- Passes for processing.
- int passes = 2
- int pushColorCount = 2
- Limit the number of color pushes, make sure the edge won't be too thin
- int pushColorCount = 2
- float strengthColor = 0.3
- Strength for pushing color, range 0.0 to 1.0, higher for thinner.
- float strengthColor = 0.3
- float strengthGradient = 1.0
- Strength for pushing gradient, range 0.0 to 1.0, higher for sharper.
- float strengthGradient = 1.0
- int zoomFactor = 1
- Upscaling ratio for resizing.
- int zoomFactor = 1
- bool ACNet = false
- Set to
true
to enable ACNet.
- Set to
- bool ACNet = false
- bool GPUMode = false
- Enable GPU acceleration.
- bool GPUMode = false
- bool HDN = false
- Enable HDN mode for ACNet.
- bool HDN = false
- int HDNLevel = 1
- Set HDN level, higher for better denoising but may cause blur and lack of detail, range 1 to 3.
- int HDNLevel = 1
- int platformID = 0
- int deviceID = 0
- For specifying the GPU.
- int platformID = 0
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, \ ACNet=false, GPUMode=false, HDN=false, HDNlevel=1, platformID=0, deviceID=0)
Changelog
Version Date Changes
v2.3.0 2020/08/07 - Add HDNlevel switching for ACNet, range from 1 to 3, higher for better denoising but may cause blur and lack of detail. - Improve performance.
v2.2.1 2020/06/30 - Fixed weird borders in some AMD cards. - AviSynthPlus and VapourSynth plugin * Add YUV444 input support for Anime4K09. * Reduce memory consumption. * Improve performance.
v2.2.0 2020/06/22 - AviSynthPlus plugin * Add all YUV 8 bit format (YUV444, YUV422 and YUV420) input support of ACNet. * Improve performance, now you can use it to real time playback, see how. - VapourSynth plugin * Add safe mode, and default is on, it usually faster, no extra pixels (weird border #11), but may use more memory. * Add all YUV 8 bit format (YUV444, YUV422 and YUV420) input support of ACNet, need safe mode is turned on (otherwise only RGB24 and YUV444 is supported).
v2.1.0 2020/06/13 - Add HDN mode of ACNet for better denoise. - Improve quality of ACNet. - Improve performance of ACNet.
v2.0.0 2020/06/05 - New CNN based algorithm ACNet, greatly improve quality while ensuring performance, all platforms support it now! - YUV444 input support (only for ACNet) for VapourSynth and AviSynth+. - Improve performance. - Miscellaneous bug fixes. - Other detail enhancements.
beta 2020/05/24 - Initial beta release for AviSynth+
External Links
- GitHub - Source code repository.
Back to External Filters ←