# DeNoise

Abstract
Author V.C.Mohan
Version 1.0.0.0.0
Category External filters
Discussion announced DeNoise plugin

## Description

Using Variance of a given window, minimizes noise and tries to preserve edges and a full description is at click me.

## Requirements

* Not available in AviSynth 2.5.8.

"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"

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

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.
converttoyv16()
DeNoise(clip=false,lx=220,rx=245,ty=322,by=402, uv = true, show = false)
```

Back to External Filters