AdaptiveMedian

From Avisynth wiki
Jump to: navigation, search
Abstract
Author V.C.Mohan
Version 17 Oct 2017
Download modPlus (Median filter)
Category External filters
License GPLv2
Discussion AdaptiveMedian, modPlus update

Contents

Description

This is an adaptive Median Filter for eliminating certain types of noise. It uses local statistics (minimum, maximum and median values) of a moving local grid, and changes grid size depending on local statistics. Full Description


Requirements

  • AviSynth+ r2347 or later


Syntax and Parameters

Median (clip, int "maxgrid", bool "yy", bool "uu", bool "vv")


clip   =
Input clip.


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


bool  yy = true
bool  uu = false
bool  vv = false
Choose which YUV planes to process.
  • True: Do not process
  • False: Process
By default only the luma plane (Y) is processed. If the input clip is RGB, then these parameters are simply ignored.


Examples

Median()
a = converttoYUY2()
Median(a, maxgrid=7, yy = false, uu = true, vv = true)




Back to External Filters

Personal tools