AdaptiveMedian
From Avisynth wiki
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
- AviSynth 2.5.8 or 2.6.0 Alpha 5 or greater
- Supported color formats: RGB24, RGB32, YUY2, YV12, *YV16, *YV24, *YV411, *Y8
- * 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.
- clip =
- sf int = 0
- frame number from which this filter is to be applied .
- sf int = 0
- ef int = last frame of input clip
- frame number up to which this filter is to be applied
- ef int = last frame of input clip
- maxgrid int = 5
- grid size to get statistics can grow to this value starting from 3x3. Maximum value allowed is 9.
- maxgrid int = 5
- yy bool = true
- In case of YUY2 or Planar format input, if yy is set true then y component is processed. For RGB ignored.
- yy bool = true
- uu bool = false
- In case of YUY2 or Planar format input, if uu is set true then u component is processed. For RGB ignored
- uu bool = false
- vv bool = false
- In case of YUY2 or Planar format input, if vv is set true then v component is processed. For RGB ignored.
- vv bool = false
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 ←