MedianBlur/MedianBlur

From Avisynth wiki
Jump to: navigation, search

Back to MedianBlur

Contents

Description

A spatial median blur filter with a variable radius.

Requirements


Syntax and Parameters

MedianBlur (clip, int "radiusy", int "radiusu", int "radiusv", bool "calcborder")


clip   =
Input clip.


int  radiusy = 2
int  radiusu = 2
int  radiusv = 2
Specify the radius to use:
  • If the supplied radius is between -1 and -255 the plane is set to -radius.
  • If the the radius is 0 the plane is copied unaltered.
  • If the radius is less than -255 the plane isn't processed at all.
  • Default is 2.


bool  calcborder = true
  • If true (default) the borders of the frame is filtered too.
  • If false then the border is copied from the source clip.

Examples

MedianBlur with default settings:

MedianBlur(radiusy=2, radiusu=2, radiusv=2, calcborder=true)




Back to MedianBlur

Personal tools