AdaptiveMedian: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
Raffriff42 (talk | contribs) m category Denoisers |
Updated "AdaptiveMedian" to Median. More compatibility with AviSynth+. |
||
| Line 2: | Line 2: | ||
{{Filter3 | {{Filter3 | ||
|[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan] | |[http://www.avisynth.nl/users/vcmohan/ V.C.Mohan] | ||
| | |17 Oct 2017 | ||
| | | [http://www.avisynth.nl/users/vcmohan/modPlus/modPlus.7z modPlus (includes Median filter)] | ||
|4=External filters | |4=External filters | ||
|5=[ | |5=[https://www.gnu.org/licenses/gpl-2.0.txt GPLv2] | ||
|6=[ | |6=[https://forum.doom9.org/showthread.php?p=712586#post712586 AdaptiveMedian], [https://forum.doom9.org/showthread.php?t=174162 modPlus update]}} | ||
== Description == | == 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 [http://www.avisynth.nl/users/vcmohan/ | 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 [http://www.avisynth.nl/users/vcmohan/modPlus/Median.html click me]. | ||
<br> | <br> | ||
<br> | <br> | ||
== Requirements == | == Requirements == | ||
*AviSynth | * AviSynth+ r2347 or greater | ||
* <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], | * <!-- color formats -->Supported color formats: [[RGB24]], [[RGB32]], [[YUY2]], [[YV12]], [[YV16]], [[YV24]], [[YV411]], [[Y8]] | ||
<br> | <br> | ||
== [[Script variables|Syntax and Parameters]] == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|<!-- function name --> | :{{Template:FuncDef|<!-- function name --> Median (''clip'', ''int'' "maxgrid", ''bool'' "yy", ''bool'' "uu", ''bool'' "vv")}} | ||
<br> | <br> | ||
::{{Par2| |clip| }} | ::{{Par2| |clip| }} | ||
:::Input clip. | :::Input clip. | ||
<br> | <br> | ||
::{{Par2|maxgrid|int|5}} | ::{{Par2|maxgrid|int|5}} | ||
| Line 46: | Line 37: | ||
== Examples == | == Examples == | ||
Median with default settings: | |||
[[AviSource]]("example.avi") | [[AviSource]]("example.avi") | ||
Median(maxgrid=5, yy=true, uu=false, vv=false) | |||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[External_filters|External Filters]] ←''' | '''Back to [[External_filters|External Filters]] ←''' | ||
Revision as of 06:45, 4 April 2018
| Abstract | |
|---|---|
| Author | V.C.Mohan |
| Version | 17 Oct 2017 |
| Download | modPlus (includes Median filter) |
| Category | External filters |
| License | GPLv2 |
| Discussion | AdaptiveMedian, modPlus update |
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
- Median (clip, int "maxgrid", bool "yy", bool "uu", bool "vv")
- clip =
- Input clip.
- clip =
- int maxgrid = 5
- Grid size to get statistics can grow to this value starting from 3x3. Maximum value allowed is 9.
- int maxgrid = 5
Examples
Median with default settings:
AviSource("example.avi") Median(maxgrid=5, yy=true, uu=false, vv=false)
Back to External Filters ←