DAA
From Avisynth wiki
(Difference between revisions)
m (→Abstract: add link) |
m (minor) |
||
Line 8: | Line 8: | ||
== Description == | == Description == | ||
Anti-aliasing with contra-sharpening by Didée. daa() works by averaging two independent interpolations, where each interpolation set works between odd-distanced pixels. This on its own provides sufficient amount of blurring. Enough blurring that the script uses a contra-sharpening step to counteract the blurring.[http://forum.doom9.org/showpost.php?p=1466159&postcount=352&highlight=daa] | Anti-aliasing with contra-sharpening by Didée. daa() works by averaging two independent interpolations, where each interpolation set works between odd-distanced pixels. This on its own provides sufficient amount of blurring. Enough blurring that the script uses a contra-sharpening step to counteract the blurring.[http://forum.doom9.org/showpost.php?p=1466159&postcount=352&highlight=daa] | ||
+ | |||
== Requirements == | == Requirements == |
Revision as of 19:39, 29 September 2014
Abstract | |
---|---|
Author | Didée |
Version | |
Download | |
Category | Anti-aliasing |
Requirements |
|
License | |
Discussion |
Contents |
Description
Anti-aliasing with contra-sharpening by Didée. daa() works by averaging two independent interpolations, where each interpolation set works between odd-distanced pixels. This on its own provides sufficient amount of blurring. Enough blurring that the script uses a contra-sharpening step to counteract the blurring.[1]
Requirements
- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12
Required Plugins
- nnedi3
- MaskTools2
- RemoveGrain and Repair - part of the RemoveGrain v1.0b package.
Script
function daa(clip c) { nn = c.nnedi3(field=-2) dbl = merge(selecteven(nn),selectodd(nn)) dblD = mt_makediff(c,dbl,U=3,V=3) shrpD = mt_makediff(dbl,dbl.removegrain((width(c)>1100) ? 20 : 11),U=3,V=3) DD = shrpD.repair(dblD,13) return dbl.mt_adddiff(DD,U=3,V=3) }
Examples
AviSource("Blah.avi") daa()
External Links
Back to External Filters ←