DeNoise

From Avisynth wiki
Revision as of 19:13, 7 June 2020 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
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. Full Description


  • 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.


int  sf = 0
Starting frame number to process.


int  ef =
End frame number to process, default is the last frame.


int  xgrid = 5
Number of pixels along x axis in moving grid.
  • Between 3 to 9


int  ygrid = xgrid
Number of pixels along y axis in moving grid.
  • Between 3 to 9


bool  getvar = true
Is Global variance to be computed?
  • True for yes, false for is specified.


bool  clip = true
Is variance valid for all clip or only frame?
  • True for yes, false for for frame.


int  lx = None. Must be specified
Window left x at start frame for computing global variance.
  • Within clip, less than rx.


int  ty = None. Must be specified
Window top y at start frame for computing global variance.
  • Within clip, less than by.


int  rx = None. Must be specified
Window right x at start frame for computing global variance.
  • Within clip, more than lx.


int  by = None. Must be specified
Window bottom y at start frame for computing global varianc.
  • Within clip, more than ty.
int  elx = None. Must be specified
Window left x at end frame for computing global variance.
  • Within clip, less than erx.


int  ety = None. Must be specified
Window top y at end frame for computing global variance.
  • Within clip, less than eby.


int  erx = None. Must be specified
Window right x at end frame for computing global variance.
  • Within clip, more than elx.


int  eby = None. Must be specified
Window bottom y at end frame for computing global variance.
  • Within clip, more than ety.


int  var = 100
Variance specified at start frame.
  • Range: greater than 0


int  evar = var
Variance at end frame.
  • Range: greater than 0


bool  uv = true
Whether U and V of YUY2 and YUV formats to be processed.
  • true = uv process
  • false = do not process uv


bool  usey = false
Whether variance of Y to be used for u and v also.
  • true = yes
  • false = no


bool  show = false
Whether variance values are to be displayed as an error message.
  • true = yes
  • false = no


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

Personal tools