# AdaptiveMedian

From Avisynth wiki

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.

- Grid size to get statistics can grow to this value starting from 3x3.

## Examples

Median()

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

**Back to External Filters ←**