DeNoise

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
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 -->1.0.0.0.0
+
|2=<!-- version -->17 Oct 2017
|3=<!-- download 2.5.8 version URL -->2.5.8 version[http://www.avisynth.nl/users/vcmohan/DeNoise/DeNoise.zip DeNoise] 2.6.0 alpha5 version URL -->[http://www.avisynth.nl/users/vcmohan/DeNoise/DeNoise_2_6.zip DeNoise]
+
|3= [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus.7z]
|4=<!-- category -->External filters
+
|4=<!-- catagory --> External filters
|5=<!-- license -->[http://www.gnu.org/licenses/gpl-2.0.txt GPLv2]
+
|5=<!-- license -->[https://www.gnu.org/licenses/gpl-3.0.en.html GPLv3]
|6=<!-- discussion URL -->[http://forum.doom9.org/showthread.php?p=712586#post712586 announced DeNoise plugin]}}
+
|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/DeNoise/DeNoise.html click me].
+
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 version -->AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ 2.6.0] or greater
+
* AviSynth+ r2347 or greater
 
* <!-- source video: progressive  
 
* <!-- source video: progressive  
* <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], <span style="color:red">*</span>[[YV16]], <span style="color:red">*</span>[[YV24]], <span style="color:red">*</span>[[YV411]], <span style="color:red">*</span>[[Y8]]
+
* <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], [[YV16]], [[YV24]], [[YV411]], [[Y8]]
: <span style="color:red">*</span> Not available in AviSynth 2.5.8.
+
* <!-- CPU/GPU -->
+
* <!-- binaries -->
+
* <!-- dependent plugins -->
+
 
<br>
 
<br>
"c[sf]i[ef]i[xgrid]i[ygrid]i[getvar]b[clip]b[lx]i[ty]i[rx]i[by]i[elx]i[ety]i[erx]i[eby]i[var]i[evar]i[uv]b[usey]b[show]b"
 
  
 
== [[Script variables|Syntax and Parameters]] ==
 
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|<!-- function name -->DeNoise (''clip'', ''<!-- par 1 type -->int'' "<!-- par 1 name -->sf", ''<!-- par 2 type -->int'' "<!-- par 2 name -->ef", ''<!-- par 3 type -->int'' "<!-- par 3 name -->xgrid", ''<!-- par 4 type -->int'' "<!-- par 4 name -->ygrid", ''<!-- par 5 type -->bool'' "<!-- par 5 name -->getvar", ''<!-- par 6 type -->bool'' "<!-- par 6 name -->clip", ''<!-- par 7 type -->int'' "<!-- par 7 name -->lx", ''<!-- par 8 type -->int'' "<!-- par 8 name -->ty",, ''<!-- par 9 type -->int'' "<!-- par 9 name -->rx", ''<!-- par 10 type -->int'' "<!-- par 10 name -->by", ''<!-- par 11 type -->int'' "<!-- par 11 name -->elx",''<!-- par 12 type -->int'' "<!-- par 12 name -->ety",''<!-- par 13 type -->int'' "<!-- par 13 name -->erx",''<!-- par 14 type -->int'' "<!-- par 14 name -->eby",''<!-- par 15 type -->int'' "<!-- par 15 name -->var",''<!-- par 16 type -->int'' "<!-- par 16 name -->evar", ''<!-- par 17 type -->bool'' "<!-- par 17 name -->uv", ''<!-- par 18 type -->bool'' "<!-- par 18 name -->usey", ''<!-- par 19 type -->bool'' "<!-- par 19 name -->show")}}
+
:{{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()
  DeNoise(clip=false,lx=220,rx=245,ty=322,by=402, uv = true, show = false)
+
  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.


sf  int = 0
process starts on frame .


ef  int = last frame
process ends on frame .


xgrid  int = 5
local grid size in x direction .


ygrid  int = xgrid
local grid size along y.


getvar  bool = true
Is variance to be determined from a window?


clip  bool = a
Is variance from first frame window is valid for entire clip? true. If false to be determined frame by frame.


lx  int = must be specified if getvar is true
left x coord of window on 1st frame.


ty  int = must be specified if getvar is true
top y coordinate of window on 1st frame.


rx  int = must be specified if getvar is true
right x coord of window on 1st frame.


by  int = must be specified if getvar is true
bottom y coordinate of window on 1st frame.


elx  int = lx
left x coord of window on last frame.


ety  int = ty
top y coordinate of window on last frame.


erx  int = rx
right x coord of window on last frame.


eby  int = by
bottom y coordinate of window on last frame.


var  int = 100
value to be used as global variance. Will be used if getvar is false.


evar  int = var
variance on last frame. In between linear interpolation.


uv  bool = true
Whether u v planes to be processed(for planar and yuy2 input)?.


usey  bool = false
can variance of y plane can be used for u v planes?


show  bool = false
if true an error message showing variance values determined will appear)




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

Personal tools