Anime4KCPP
From Avisynth wiki
(Difference between revisions)
m (typo) |
(v2.0.0 doc update) |
||
Line 2: | Line 2: | ||
{{Filter3 | {{Filter3 | ||
|1=[https://github.com/TianZerL TianZerL] | |1=[https://github.com/TianZerL TianZerL] | ||
− | |2= | + | |2=v2.0.0 |
− | |3=[https://github.com/TianZerL/Anime4KCPP/releases Anime4KCPP_AviSynthPlus_plugin- | + | |3=[https://github.com/TianZerL/Anime4KCPP/releases Anime4KCPP_AviSynthPlus_plugin-2.0.0-Win64-msvc.7z] |
|4=Resize | |4=Resize | ||
|5=[https://github.com/TianZerL/Anime4KCPP/blob/master/LICENSE MIT] | |5=[https://github.com/TianZerL/Anime4KCPP/blob/master/LICENSE MIT] | ||
Line 9: | Line 9: | ||
== Description == | == Description == | ||
− | Anime4K is a simple high-quality anime upscale algorithm | + | Anime4K is a simple high-quality anime upscale algorithm with GPU acceleration support.<br> |
+ | |||
+ | 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. | ||
*See: https://github.com/TianZerL/Anime4KCPP/wiki/AviSynthPlus-plugin | *See: https://github.com/TianZerL/Anime4KCPP/wiki/AviSynthPlus-plugin | ||
Line 16: | Line 19: | ||
* [x64]: [[AviSynth+]] | * [x64]: [[AviSynth+]] | ||
* Supported color formats: [[RGB24]] | * Supported color formats: [[RGB24]] | ||
+ | ** YUV444 also supported when <code>ACNet=true</code> | ||
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
===Anime4KCPP=== | ===Anime4KCPP=== | ||
− | :{{Template:FuncDef| Anime4KCPP (clip "src", int "passes", int "pushColorCount", float "strengthColor", float "strengthGradient", int "zoomFactor", bool "GPUMode", int "platformID", int "deviceID")}} | + | :{{Template:FuncDef| Anime4KCPP (clip "src", int "passes", int "pushColorCount", float "strengthColor", float "strengthGradient", int "zoomFactor", bool "ACNet", bool "GPUMode", int "platformID", int "deviceID")}} |
<br> | <br> | ||
Line 40: | Line 44: | ||
::{{Par2|zoomFactor|int|1}} | ::{{Par2|zoomFactor|int|1}} | ||
:::Upscaling ratio for resizing. | :::Upscaling ratio for resizing. | ||
+ | <br> | ||
+ | ::{{Par2|ACNet|bool|false}} | ||
+ | :::Set to <code>true</code> to enable ACNet. | ||
<br> | <br> | ||
::{{Par2|GPUMode|bool|false}} | ::{{Par2|GPUMode|bool|false}} | ||
Line 58: | Line 65: | ||
Anime4KCPP with default settings: | Anime4KCPP with default settings: | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
− | Anime4KCPP(passes=2, pushColorCount=2, strengthColor=0.3, strengthGradient=1.0, zoomFactor=1, GPUMode=false, platformID=0, deviceID=0) | + | Anime4KCPP(passes=2, pushColorCount=2, strengthColor=0.3, strengthGradient=1.0, zoomFactor=1, ACNet=false, GPUMode=false, platformID=0, deviceID=0) |
<br> | <br> | ||
== Changelog == | == Changelog == | ||
Version Date Changes<br> | Version Date Changes<br> | ||
− | beta 2020/05/24 - Initial release | + | 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.<br> | ||
+ | beta 2020/05/24 - Initial beta release for AviSynth+ | ||
<br> | <br> | ||
== External Links == | == External Links == |
Revision as of 18:17, 5 June 2020
Abstract | |
---|---|
Author | TianZerL |
Version | v2.0.0 |
Download | Anime4KCPP_AviSynthPlus_plugin-2.0.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
Syntax and Parameters
Anime4KCPP
- Anime4KCPP (clip "src", int "passes", int "pushColorCount", float "strengthColor", float "strengthGradient", int "zoomFactor", bool "ACNet", bool "GPUMode", int "platformID", int "deviceID")
- clip src =
- Input clip must be RGB24
- 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
- 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, platformID=0, deviceID=0)
Changelog
Version Date Changes
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 ←