DeNoise

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Requirements)
(Description)
Line 13: Line 13:
 
== 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/modPlus/minvar.html click me].
+
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. [http://www.avisynth.nl/users/vcmohan/modPlus/minvar.html Full Description]
 
<br>
 
<br>
 
<br>
 
<br>
 +
 
== Requirements ==
 
== Requirements ==
 
* AviSynth+ r2347 or later
 
* AviSynth+ r2347 or later

Revision as of 07:32, 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 for uv process, false for not process


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