MedianBlur

From Avisynth wiki
Revision as of 14:18, 8 November 2013 by Reel.Deal (Talk | contribs)

Jump to: navigation, search
Abstract
Author tsp
Version 0.84
Download MedianBlur084
Category Blurring
Requirements
  • YV12
License GPL
Discussion


Contents

Description

A plugin with 5 different types of median blur filters.

Requirements


Common Parameters

radiusy, u, v int = 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.


calcborder bool = true

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


Filters

Filter Description Color format
MedianBlur

A spatial median blur filter with a variable radius.

YV12
MedianBlurB

A binary median blur filter. It will take advantage of integer SSE if present.

YV12
MedianBlurCW

A centerweighted median blur filter with a variable radius.

YV12
MedianBlurT

A temporal-spatial median blur filter with optional motion compensation using Manaos MVTools.

YV12
ML3Dex

ML3Dex means Extended Multi Level 3Dimensional filtering.
This filter should cause less artifact compared to MedianBlurT while removing the same amount of noise.

YV12


Examples

AviSource("Blah.avi")
MedianBlur()


Changelog

 version 0.84
     - Added the option searchparam, bsfull, and spfull to ML3Dex and MedianBlurT.
version 0.83 - Fixed a bug that caused a memory leak with motion compensation. Now calls MVTools with named arguments. This should increase support of different versions of MVTools.
version 0.82 - Fixed a bug that caused an access violation in MedianBlurT and ML3Dex.
version 0.81 - Bug fixes and added an option to show when MVTools detects a scene change.
version 0.8 - Added ML3Dex a multilevel temporal median blur filter that can use MVTools for motion compensation.
version 0.7 - Added support for motion compensation in MedianBlurT using manao's MVTools.
version 0.65 - More bugs removed. Added assembler optimization resulting in 30-60% speed increase for MedianBlurCW, MedianBlurT and MedianBlur(for radius >3)
version 0.6 - Fixed a couple of bugs and added integer SSE optimization for MedianBlur for radius below 4. This results in a 85-400% speed increase.
version 0.5 - Added MedianBlurB and MedianBlurT.
version 0.4 - Added MedianBlurCW, a centerweighted median blur.
Version 0.31 - bugfix. Should make the same output as TMedianBlur except for the borders.
Version 0.3 - Optimized the sort algorithm even more. Also added the ability to process the borders.
Version 0.2 - Changed the sort algorithm to radix sort resulting in a great speed improvement especially for large radii.
Also fixed a couple of bugs.
Version 0.1 - First version. Really slow and buggy. Used a modified bubble sort to find the median causing the filter to be extremely slow with large radii.


External Links

- Doom9 Forum - Discussion about MedianBlur.

Personal tools