DeNoise
From Avisynth wiki
Abstract | |
---|---|
Author | V. C. Mohan |
Version | 22 Nov 2015 |
Download | DeNoise_2_6.zip |
Category | External filters |
License | GPLv3 |
Discussion | Doom9 Forum |
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.
- Official documentation: http://www.avisynth.nl/users/vcmohan/DeNoise/DeNoise.html
- For AviSynth+ see modPlus, includes high bit depth colorspace support and 64-bit.
Requirements
Syntax and Parameters
- DeNoise (clip, int "sf", int "ef", int "xgrid", int "ygrid", bool "getvar", bool "clip", int "lx", int "ty", int "rx", int "by", int "elx", int "ety", int "erx", int "eby", int "var", int "evar", bool "uv", bool "usey", bool "show")
- clip =
- Input clip.
- clip =
- int sf = 0
- Starting frame number to process.
- int sf = 0
- int ef =
- End frame number to process, default is the last frame.
- int ef =
- 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
- bool getvar = true
- Is Global variance to be computed?
- True for yes, false for is specified.
- Is Global variance to be computed?
- bool getvar = true
- bool clip = true
- Is variance valid for all clip or only frame?
- True for yes, false for for frame.
- Is variance valid for all clip or only frame?
- bool clip = true
- int lx = None. Must be specified
- Window left x at start frame for computing global variance.
- Within clip, less than
rx
.
- Within clip, less than
- Window left x at start frame for computing global variance.
- int lx = None. Must be specified
- int ty = None. Must be specified
- Window top y at start frame for computing global variance.
- Within clip, less than
by
.
- Within clip, less than
- Window top y at start frame for computing global variance.
- int ty = None. Must be specified
- int rx = None. Must be specified
- Window right x at start frame for computing global variance.
- Within clip, more than
lx
.
- Within clip, more than
- Window right x at start frame for computing global variance.
- int rx = None. Must be specified
- int by = None. Must be specified
- Window bottom y at start frame for computing global varianc.
- Within clip, more than
ty
.
- Within clip, more than
- Window bottom y at start frame for computing global varianc.
- int elx = None. Must be specified
- Window left x at end frame for computing global variance.
- Within clip, less than
erx
.
- Within clip, less than
- Window left x at end frame for computing global variance.
- int by = None. Must be specified
- int ety = None. Must be specified
- Window top y at end frame for computing global variance.
- Within clip, less than
eby
.
- Within clip, less than
- Window top y at end frame for computing global variance.
- int ety = None. Must be specified
- int erx = None. Must be specified
- Window right x at end frame for computing global variance.
- Within clip, more than
elx
.
- Within clip, more than
- Window right x at end frame for computing global variance.
- int erx = None. Must be specified
- int eby = None. Must be specified
- Window bottom y at end frame for computing global variance.
- Within clip, more than
ety
.
- Within clip, more than
- Window bottom y at end frame for computing global variance.
- int eby = None. Must be specified
- int var = 100
- Variance specified at start frame.
- Range: greater than 0
- Variance specified at start frame.
- int var = 100
- int evar =
var
- Variance at end frame.
- Range: greater than 0
- Variance at end frame.
- int evar =
- 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 usey = false
- Whether variance of Y to be used for u and v also.
- true = yes
- false = no
- Whether variance of Y to be used for u and v also.
- bool usey = 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
- DeNoise with default values:
AviSource("blah.avi") DeNoise()
- Process all frames (sf and ef parameters are omitted):
DeNoise(getvar=false, var=120, evar=160, xgrid=5, ygrid=7)
- Process only frames 35-55:
DeNoise(sf=35, ef=55, clip=false, lx=220, rx=245, ty=322, by=402)
Back to External Filters ←