DeNoise
From Avisynth wiki
(Difference between revisions)
m (→Requirements) |
(update parameters) |
||
Line 4: | Line 4: | ||
{{Filter3 | {{Filter3 | ||
|1=<!-- author -->[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan] | |1=<!-- author -->[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan] | ||
− | |2=<!-- version --> | + | |2=<!-- version -->17 Oct 2017 |
− | |3= | + | |3= [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z] |
− | |4=<!-- | + | |4=<!-- catagory --> External filters |
− | |5=<!-- license -->[ | + | |5=<!-- license -->[https://www.gnu.org/licenses/gpl-3.0.en.html GPLv3] |
− | |6=<!-- discussion URL -->[ | + | |6=<!-- discussion URL -->[https://forum.doom9.org/showthread.php?p=712586#post712586 announced DeNoise plugin], [https://forum.doom9.org/showthread.php?t=174162 modPlus]}} |
<br> | <br> | ||
== Description == | == Description == | ||
<!-- a one-sentence description --> | <!-- a one-sentence description --> | ||
− | Using Variance of a given window, minimizes noise and tries to preserve edges and a full description is at [http://www.avisynth.nl/users/vcmohan/ | + | Using Variance of a given window, minimizes noise and tries to preserve edges and a full description is at [http://www.avisynth.nl/users/vcmohan/modPlus/minvar.html click me]. |
<br> | <br> | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
− | * | + | * AviSynth+ r2347 or greater |
* <!-- source video: progressive | * <!-- source video: progressive | ||
− | * <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], | + | * <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], [[YV16]], [[YV24]], [[YV411]], [[Y8]] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<br> | <br> | ||
− | |||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
− | :{{Template:FuncDef|<!-- function name --> | + | :{{Template:FuncDef|<!-- function name -->minvar (''clip'', ''<!-- type -->int'' "<!-- name -->sf", ''<!-- type -->int'' "<!-- name -->xgrid", ''<!-- type -->int'' "<!-- name -->ygrid", ''<!-- type -->int'' "<!-- name -->lx", ''<!-- type -->int'' "<!-- name -->ty",''<!-- type -->int'' "<!-- name -->wd", ''<!-- type -->int'' "<!-- name -->ht", ''<!-- type -->bool'' "<!-- name -->uv", ''<!-- type -->bool'' "<!-- name -->a", ''<!-- type -->bool'' "<!-- name -->show")}} |
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
Line 101: | Line 96: | ||
imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10) | imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10) | ||
converttoyv16() | converttoyv16() | ||
− | + | minvar(clip=false,lx=220,rx=245,ty=322,by=402, uv = true, show = false) | |
<br> | <br> |
Revision as of 20:09, 4 April 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 =
- sf int = 0
- process starts on frame .
- sf int = 0
- ef int = last frame
- process ends on frame .
- ef int = last frame
- xgrid int = 5
- local grid size in x direction .
- xgrid int = 5
- ygrid int = xgrid
- local grid size along y.
- ygrid int = xgrid
- getvar bool = true
- Is variance to be determined from a window?
- getvar bool = true
- clip bool = a
- Is variance from first frame window is valid for entire clip? true. If false to be determined frame by frame.
- clip bool = a
- lx int = must be specified if getvar is true
- left x coord of window on 1st frame.
- lx int = must be specified if getvar is true
- ty int = must be specified if getvar is true
- top y coordinate of window on 1st frame.
- ty int = must be specified if getvar is true
- rx int = must be specified if getvar is true
- right x coord of window on 1st frame.
- rx int = must be specified if getvar is true
- by int = must be specified if getvar is true
- bottom y coordinate of window on 1st frame.
- by int = must be specified if getvar is true
- elx int = lx
- left x coord of window on last frame.
- elx int = lx
- ety int = ty
- top y coordinate of window on last frame.
- ety int = ty
- erx int = rx
- right x coord of window on last frame.
- erx int = rx
- eby int = by
- bottom y coordinate of window on last frame.
- eby int = by
- var int = 100
- value to be used as global variance. Will be used if getvar is false.
- var int = 100
- evar int = var
- variance on last frame. In between linear interpolation.
- evar int = var
- uv bool = true
- Whether u v planes to be processed(for planar and yuy2 input)?.
- uv bool = true
- usey bool = false
- can variance of y plane can be used for u v planes?
- usey bool = false
- show bool = false
- if true an error message showing variance values determined will appear)
- show bool = false
Examples
## This is some example code to remove noise from an image. imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10) converttoyv16() minvar(clip=false,lx=220,rx=245,ty=322,by=402, uv = true, show = false)
Back to External Filters ←