DAA

From Avisynth wiki
Revision as of 23:03, 19 May 2013 by Admin (Talk | contribs)

Jump to: navigation, search

Contents

Abstract
Author Didée
Version
Download Media:DAA.avsi
Category Anti-aliasing
Requirements
  • YV12
License
Discussion

DAA()

Abstract

Anti-aliasing with contra-sharpening

Requires Filters

Script

function daa(clip c) {
nn	= c.nnedi2(field=-2)
dbl   	= mt_average(selecteven(nn),selectodd(nn),U=3,V=3)
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()

Links

Download Media:DAA.avsi

Personal tools