MAM Motion Adaptive Mixer by MarcFD
(v0.6)
What it does:
This filter uses movement detection (same engine as CopySame) to adapt the denoising method used :
- In still areas it uses temporal filtering
- In moving areas it uses spatial filtering
The filter itself wouldn't make the filtering : you can use the filter you want :
It's compatible with all avisynth filters !
The ability to alternate the denoising method is used to avoid both blurring and ghosting
Because each filter is used when it's the most accurate.
Using M.A.M. you can use the best denoising possible on every area of you clip
Usage :
Work only in YUY2 mode.
Add the following lines in your .avs script :
LoadPlugin("MAM.dll")
*Source(...)
MAM(Cnr2().TemporalSoften2(1,10,0),smoothHIQ(3,15,25,192,10))
Syntax :
MAM(temporal,spatial[,mode,lr,cr,md])
mode
effective work :
- mode -1 : Debug mode : will draw in black moving areas. Use to tweak.
- mode 0 : Normal mode. Fastest. MMX optimised
- mode 1 : Blend : will blend the spatial and the temporal filtering in some cases. Please try.
temporal :
your source filtered with any temporal filter
avoid temporal filtering radius > 1 if you want the best ghosting protection
spatial :
your source filtered with any spatial filter
No restrictions on spatial filtering.
Just keep in mind your eye wouldn't be able to focus on moving areas
lr,cr :
lr for luma and cr for chroma
Used to avoid noise movement
Use soft values.Only increase if you see strange blur artifacts in still areas
Defaults :
md :
A denoising can be used on movement, for an optimal movement detection
and better filtering. Use 0 to disable.
1 is the more agressive setting, higher values would denoise less
History :
v0.6 (02.08.2002)
- More Accurate
- MMX/ISSE optimisations.
- Code Cleaned
beta1 to beta 4
- First version
- Bugfix for first frame
- Improvements
- First frame bug fixed (definitively?)
Ditribution :
This WOULD BE a free sofware distribued under the terms of the GNU-GPL v2
It's NOT a free software now because it's not finished.
Thanks :)
Contact :