DeNoise
From Avisynth wiki
(Difference between revisions)
(Edit parameters) |
(→Syntax and Parameters) |
||
Line 23: | Line 23: | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef| | + | :{{Template:FuncDef| minvar (clip, int "sf", int "xgrid", int "ygrid", int "lx", int "ty", int "wd", int "ht", bool "uv", bool "a", bool "show")}} |
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
− | :::Input clip. | + | ::: Input clip. |
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|sf|int|0}} |
− | ::: | + | ::: Frame number in which specified window is located. |
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|xgrid|int|5}} |
− | ::: | + | ::: Number of pixels along x axis in moving grid. |
+ | |||
+ | ::* Between 3 to 9 | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|ygrid|int|xgrid}} |
− | ::: | + | ::: Number of pixels along y axis in moving grid. |
+ | |||
+ | |||
+ | |||
+ | ::* Between 3 to 9 | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|lx|int|None. Must be specified}} |
− | ::: | + | ::: Window left x computing global variance. |
+ | |||
+ | |||
+ | |||
+ | ::* Within clip | ||
+ | ::* Less than rx | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|ty|int|None. Must be specified}} |
− | ::: | + | ::: Window top y for computing global variance. |
+ | |||
+ | |||
+ | |||
+ | ::* Within clip | ||
+ | ::* Less than by | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|wd|int|None. Must be specified}} |
− | ::: | + | ::: Window width for computing global variance. |
+ | |||
+ | |||
+ | |||
+ | ::* lx + wd be within frame | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|ht|int|None. Must be specified}} |
− | ::: | + | ::: Window height for computing global variance. |
+ | |||
+ | |||
+ | |||
+ | ::* ty + ht be within frame | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|uv|bool|true}} |
− | ::: | + | ::: Whether U and V of YUY2 and YUV formats to be processed. |
+ | |||
+ | |||
+ | |||
+ | ::* true for uv process, false for not process | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|a|bool|false}} |
− | ::: | + | ::: Whether A value of RGB formats to be processed. |
+ | |||
+ | |||
+ | |||
+ | ::* true yes, false no | ||
<br> | <br> | ||
− | ::{{Par2| | + | ::{{Par2|show|bool|false}} |
− | ::: | + | ::: Whether variance values are to be displayed as an error message. |
+ | |||
+ | |||
+ | |||
+ | ::* true yes, false no | ||
<br> | <br> | ||
Revision as of 06:00, 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
Using Variance of a given window, minimizes noise and tries to preserve edges and a full description is at click me.
Requirements
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.
- int xgrid = 5
- Between 3 to 9
- int ygrid = xgrid
- Number of pixels along y axis in moving grid.
- int ygrid = xgrid
- Between 3 to 9
- int lx = None. Must be specified
- Window left x computing global variance.
- int lx = None. Must be specified
- Within clip
- Less than rx
- int ty = None. Must be specified
- Window top y for computing global variance.
- int ty = None. Must be specified
- Within clip
- Less than by
- int wd = None. Must be specified
- Window width for computing global variance.
- int wd = None. Must be specified
- lx + wd be within frame
- int ht = None. Must be specified
- Window height for computing global variance.
- int ht = None. Must be specified
- ty + ht be within frame
- bool uv = true
- Whether U and V of YUY2 and YUV formats to be processed.
- bool uv = true
- true for uv process, false for not process
- bool a = false
- Whether A value of RGB formats to be processed.
- bool a = false
- true yes, false no
- bool show = false
- Whether variance values are to be displayed as an error message.
- bool show = false
- true yes, false no
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 ←