AdaptiveMedian

From Avisynth wiki
Revision as of 13:19, 21 November 2014 by Vcmohan (Talk | contribs)

Jump to: navigation, search


Abstract
Author V.C.Mohan
Version 1.0.0.0.0
Download AdaptiveMedian and 2.6.0 alpha5 version URL -->AdaptiveMedian
Category External filters
License GPLv2
Discussion {{{6}}}


Contents

Description

Median value in an adaptive size grid is used to clean impulse noise, smooth out other noise and reduce excessive thinning of edges and for a Full description click me.

Requirements

* Not available in AviSynth 2.5.8.


Syntax and Parameters

AdaptiveMedian (clip, int "sf", int "ef", int "maxgrid", bool "yy", bool "uu", bool "vv")


clip   =
Input clip.


sf  int = 0
frame number from which this filter is to be applied .


ef  int = last frame of input clip
frame number up to which this filter is to be applied


maxgrid  int = 5
grid size to get statistics can grow to this value starting from 3x3. Maximum value allowed is 9.


yy  bool = true
In case of YUY2 or Planar format input, if yy is set true then y component is processed. For RGB ignored.


uu  bool = false
In case of YUY2 or Planar format input, if uu is set true then u component is processed. For RGB ignored


vv  bool = false
In case of YUY2 or Planar format input, if vv is set true then v component is processed. For RGB ignored.


Examples

## This is some example code.
Avisource("example.avi").converttoRGB32()
AdaptiveMedian(maxgrid = 7)
## This is another example.
Avisource("example.avi").converttoYV12()
AdaptiveMedian(uu=true,vv=true)




Back to External Filters

Personal tools