DeNoise
From Avisynth wiki
(Difference between revisions)
(→Description) |
(→Syntax and Parameters) |
||
Line 32: | Line 32: | ||
::{{Par2|xgrid|int|5}} | ::{{Par2|xgrid|int|5}} | ||
::: Number of pixels along x axis in moving grid. | ::: Number of pixels along x axis in moving grid. | ||
− | + | :::* Between 3 to 9 | |
− | + | ||
− | ::* Between 3 to 9 | + | |
<br> | <br> | ||
::{{Par2|ygrid|int|xgrid}} | ::{{Par2|ygrid|int|xgrid}} | ||
::: Number of pixels along y axis in moving grid. | ::: Number of pixels along y axis in moving grid. | ||
− | + | :::* Between 3 to 9 | |
− | + | ||
− | + | ||
− | ::* Between 3 to 9 | + | |
<br> | <br> | ||
::{{Par2|lx|int|None. Must be specified}} | ::{{Par2|lx|int|None. Must be specified}} | ||
::: Window left x computing global variance. | ::: Window left x computing global variance. | ||
− | + | :::* Within clip | |
− | + | :::* Less than rx | |
− | + | ||
− | ::* Within clip | + | |
− | ::* Less than rx | + | |
<br> | <br> | ||
::{{Par2|ty|int|None. Must be specified}} | ::{{Par2|ty|int|None. Must be specified}} | ||
::: Window top y for computing global variance. | ::: Window top y for computing global variance. | ||
− | + | :::* Within clip | |
− | + | :::* Less than by | |
− | + | ||
− | ::* Within clip | + | |
− | ::* Less than by | + | |
<br> | <br> | ||
::{{Par2|wd|int|None. Must be specified}} | ::{{Par2|wd|int|None. Must be specified}} | ||
::: Window width for computing global variance. | ::: Window width for computing global variance. | ||
− | + | :::* lx + wd be within frame | |
− | + | ||
− | + | ||
− | ::* lx + wd be within frame | + | |
<br> | <br> | ||
::{{Par2|ht|int|None. Must be specified}} | ::{{Par2|ht|int|None. Must be specified}} | ||
::: Window height for computing global variance. | ::: Window height for computing global variance. | ||
− | + | :::* ty + ht be within frame | |
− | + | ||
− | + | ||
− | ::* ty + ht be within frame | + | |
<br> | <br> | ||
::{{Par2|uv|bool|true}} | ::{{Par2|uv|bool|true}} | ||
::: Whether U and V of YUY2 and YUV formats to be processed. | ::: Whether U and V of YUY2 and YUV formats to be processed. | ||
− | + | :::* true = uv process | |
− | + | :::* false = do not process uv | |
− | + | ||
− | ::* true | + | |
<br> | <br> | ||
::{{Par2|a|bool|false}} | ::{{Par2|a|bool|false}} | ||
::: Whether A value of RGB formats to be processed. | ::: Whether A value of RGB formats to be processed. | ||
− | + | :::* true = yes | |
− | + | :::* false = no | |
− | + | ||
− | ::* true yes | + | |
<br> | <br> | ||
::{{Par2|show|bool|false}} | ::{{Par2|show|bool|false}} | ||
::: Whether variance values are to be displayed as an error message. | ::: Whether variance values are to be displayed as an error message. | ||
− | + | :::* true = yes | |
− | + | :::* false = no | |
− | + | ||
− | ::* true yes | + | |
− | + | ||
− | + | ||
− | + | ||
<br> | <br> | ||
Revision as of 20:31, 18 June 2018
Abstract | |
---|---|
Author | V.C.Mohan |
Version | 17 Oct 2017 |
Download | modPlus.7z |
Category | External filters |
License | GPLv3 |
Discussion | announced DeNoise plugin, modPlus |
Contents |
Description
This is an adaptive local noise reduction filter. It uses global variance of the noise, local mean and local variance in a moving grid of specified size. It tries to preserve edges as closely as possible. Full Description
Requirements
- AviSynth+ r2347 or later
Syntax and Parameters
- minvar (clip, int "sf", int "xgrid", int "ygrid", int "lx", int "ty", int "wd", int "ht", bool "uv", bool "a", bool "show")
- clip =
- Input clip.
- clip =
- int sf = 0
- Frame number in which specified window is located.
- int sf = 0
- int xgrid = 5
- Number of pixels along x axis in moving grid.
- Between 3 to 9
- Number of pixels along x axis in moving grid.
- int xgrid = 5
- int ygrid = xgrid
- Number of pixels along y axis in moving grid.
- Between 3 to 9
- Number of pixels along y axis in moving grid.
- int ygrid = xgrid
- int lx = None. Must be specified
- Window left x computing global variance.
- Within clip
- Less than rx
- Window left x computing global variance.
- int lx = None. Must be specified
- int ty = None. Must be specified
- Window top y for computing global variance.
- Within clip
- Less than by
- Window top y for computing global variance.
- int ty = None. Must be specified
- int wd = None. Must be specified
- Window width for computing global variance.
- lx + wd be within frame
- Window width for computing global variance.
- int wd = None. Must be specified
- int ht = None. Must be specified
- Window height for computing global variance.
- ty + ht be within frame
- Window height for computing global variance.
- int ht = None. Must be specified
- bool uv = true
- Whether U and V of YUY2 and YUV formats to be processed.
- true = uv process
- false = do not process uv
- Whether U and V of YUY2 and YUV formats to be processed.
- bool uv = true
- bool a = false
- Whether A value of RGB formats to be processed.
- true = yes
- false = no
- Whether A value of RGB formats to be processed.
- bool a = false
- bool show = false
- Whether variance values are to be displayed as an error message.
- true = yes
- false = no
- Whether variance values are to be displayed as an error message.
- bool show = false
Examples
## This is some example code to remove noise from an image. imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10) converttoyv16() minvar(sf = 35,lx=220,wd=245,ty=322,ht=150, uv = true)
Back to External Filters ←