DeNoise

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Description)
(Syntax and Parameters)
Line 32: Line 32:
 
::{{Par2|xgrid|int|5}}
 
::{{Par2|xgrid|int|5}}
 
::: Number of pixels along x axis in moving grid.
 
::: Number of pixels along x axis in moving grid.
 
+
:::* Between 3 to 9
 
+
::* Between 3 to 9
+
 
<br>
 
<br>
 
::{{Par2|ygrid|int|xgrid}}
 
::{{Par2|ygrid|int|xgrid}}
 
::: Number of pixels along y axis in moving grid.
 
::: Number of pixels along y axis in moving grid.
 
+
:::* Between 3 to 9
 
+
 
+
::* Between 3 to 9
+
 
<br>
 
<br>
 
::{{Par2|lx|int|None. Must be specified}}
 
::{{Par2|lx|int|None. Must be specified}}
 
::: Window left x computing global variance.
 
::: Window left x computing global variance.
 
+
:::* Within clip
 
+
:::* Less than rx
 
+
::* Within clip
+
::* Less than rx
+
 
<br>
 
<br>
 
::{{Par2|ty|int|None. Must be specified}}
 
::{{Par2|ty|int|None. Must be specified}}
 
::: Window top y for computing global variance.
 
::: Window top y for computing global variance.
 
+
:::* Within clip
 
+
:::* Less than by
 
+
::* Within clip
+
::* Less than by
+
 
<br>
 
<br>
 
::{{Par2|wd|int|None. Must be specified}}
 
::{{Par2|wd|int|None. Must be specified}}
 
::: Window width for computing global variance.
 
::: Window width for computing global variance.
 
+
:::* lx + wd be within frame
 
+
 
+
::* lx + wd be within frame
+
 
<br>
 
<br>
 
::{{Par2|ht|int|None. Must be specified}}
 
::{{Par2|ht|int|None. Must be specified}}
 
::: Window height for computing global variance.
 
::: Window height for computing global variance.
 
+
:::* ty + ht be within frame
 
+
 
+
::* ty + ht be within frame
+
 
<br>
 
<br>
 
::{{Par2|uv|bool|true}}
 
::{{Par2|uv|bool|true}}
 
::: Whether U and V of YUY2 and YUV formats to be processed.
 
::: Whether U and V of YUY2 and YUV formats to be processed.
 
+
:::* true = uv process
 
+
:::* false = do not process uv
 
+
::* true for uv process, false for not process
+
 
<br>
 
<br>
 
::{{Par2|a|bool|false}}
 
::{{Par2|a|bool|false}}
 
::: Whether A value of RGB formats to be processed.
 
::: Whether A value of RGB formats to be processed.
 
+
:::* true = yes
 
+
:::* false = no
 
+
::* true yes, false no
+
 
<br>
 
<br>
 
::{{Par2|show|bool|false}}
 
::{{Par2|show|bool|false}}
 
::: Whether variance values are to be displayed as an error message.
 
::: Whether variance values are to be displayed as an error message.
 
+
:::* true = yes
 
+
:::* false = no
 
+
::* true yes, false no
+
<br>
+
 
+
<br>
+
 
<br>
 
<br>
  

Revision as of 20:31, 18 June 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

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

Requirements

  • AviSynth+ r2347 or later


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.


int  sf = 0
Frame number in which specified window is located.


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


int  lx = None. Must be specified
Window left x computing global variance.
  • Within clip
  • Less than rx


int  ty = None. Must be specified
Window top y for computing global variance.
  • Within clip
  • Less than by


int  wd = None. Must be specified
Window width for computing global variance.
  • lx + wd be within frame


int  ht = None. Must be specified
Window height for computing global variance.
  • ty + ht be within frame


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


bool  a = false
Whether A value of RGB formats to be processed.
  • true = yes
  • false = no


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


Examples

## This is some example code to remove noise from an image.
imagereader("C:\avi_plugins\varianslim\theoin.jpg", end = 10)
converttoyv16()
minvar(sf = 35,lx=220,wd=245,ty=322,ht=150, uv = true)




Back to External Filters

Personal tools