VsCnr2
From Avisynth wiki
(Difference between revisions)
(VsCnr2 1.0.1) |
(n=35 is wrong, changed this to ln=35) |
||
Line 72: | Line 72: | ||
vsCnr2 with default settings: | vsCnr2 with default settings: | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
− | Cnr2(mode="oxx", scdthr=10.0, | + | Cnr2(mode="oxx", scdthr=10.0, ln=35, lm=192, un=47, um=255, vn=47, vm=255, sceneChroma=false) |
<br> | <br> | ||
+ | |||
== Changelog == | == Changelog == | ||
Version Date Changes<br> | Version Date Changes<br> |
Latest revision as of 10:19, 19 September 2023
Abstract | |
---|---|
Author | Asd-g |
Version | v1.0.1 |
Download | vsCnr2-1.0.1.7z |
Category | Temporal Denoisers |
License | GPLv2 |
Discussion |
Contents |
[edit] Description
vsCnr2 is a temporal denoiser designed to denoise only the chroma.
According to the original author, this filter is suited for stationary rainbows or noisy analog captures.
Due to the way it works, Cnr2 is forced to run in a single thread. Cnr2 will also bottleneck the entire script, preventing it from using all the available CPU cores. One way to work around this issue is splitting the video into two or three chunks at scene changes, and filtering them in parallel with two or three instances of vspipe.
This is a port of the VapourSynth plugin Cnr2.
[edit] Requirements
- [x86]: AviSynth+ or AviSynth 2.6
- [x64]: AviSynth+
- Progressive input only
- Supported color formats: YV12, YV16, YV24, YV411
- AviSynth+: All planar YUV formats (8/10/12/14/16-bits) are supported.
- *** vcredist_x86.exe is required for vsCnr2-x86
- *** vcredist_x64.exe is required for vsCnr2-x64
[edit] Syntax and Parameters
- vsCnr2 (clip input, string "mode", float "scdthr", int "ln", int "lm", int "un", int "um", int "vn", int "vm", bool "sceneChroma")
- clip =
- A clip to process. It must be in YUV 8..16-bit planar format with chroma subsampling 420, 422, 440 or 444.
- clip =
- string mode = "oxx"
- Mode for each plane.
- The letter
o
means wide mode, which is less sensitive to changes in the pixels, and more effective. - The letter
x
means narrow mode, which is less effective.
- The letter
- Default: "oxx".
- Mode for each plane.
- string mode = "oxx"
- float scdthr = 10.0
- Scene change detection threshold as percentage of maximum possible change.
- Lower values make it more sensitive.
- Must be between 0.0 and 100.0.
- Default: 10.0.
- float scdthr = 10.0
- int ln = 35
- int lm = 192
- int un = 47
- int um = 255
- int vn = 47
- int vm = 255
ln, un, vn
- Sensitivity to movement in the Y, U, and V planes, respectively.
- Higher values will denoise more, at the risk of introducing ghosting in the chroma.
- Must be between 0 and 255.
- Default: ln = 35; un = 47, vn = 47.
- int ln = 35
lm, um, vm
- Strength of the denoising.
- Higher values will denoise harder.
- Must be between 0 and 255.
- Default: lm = 192; um = 255, vm = 255.
- bool sceneChroma = false
- If True, the chroma is considered in the scene change detection.
- Default: False.
- bool sceneChroma = false
[edit] Examples
vsCnr2 with default settings:
AviSource("Blah.avi") Cnr2(mode="oxx", scdthr=10.0, ln=35, lm=192, un=47, um=255, vn=47, vm=255, sceneChroma=false)
[edit] Changelog
Version Date Changes
1.0.1 2022/06/15 - ~13% faster code. 1.0.0 2021/05/04 - Initial release. - AviSynth+: self-registers as MT_SERIALIZED
[edit] External Links
- GitHub - Source code repository.
Back to External Filters ←