AntiAliasing

From Avisynth wiki
Jump to: navigation, search
Abstract
Author SpikeSpiegel, Didée, mf, scharfis_brain and Soulhunter
Version 3.0
Download antialiasing.avs
Category Anti-aliasing
Requirements
  • YV12
License
Discussion Doom9 Thread

Contents

Description

Anti-aliasing script; This filter is meant for good quality clips with soft aliasing. Thanks to MaskTools' functions, a strong AA-filter (SangNom) is applied only where it's needed without producing artefacts in other areas.
Note: This script is very old and usually not recommended nowadays.


Requirements

  • AviSynth 2.5.8 or later
  • Progressive input only
  • Supported color formats: YV12

Required Plugins


Syntax and Parameters

antialiasing (clip orig, int "th_luma", int "th_croma", string "type", int "aath")


clip  orig =
Input clip.


int  th_luma = 20
int  th_croma = 20
"th_luma" & "th_croma" are the edge detection thresholds : lower values=more edges filtered.


string  type = "sobel"
"type" is the matrix used for edge detection: with "sobel" (default) only the hi-contrast edges, where artefacts are more noticeable, are filtered.
If you want to test other matrices, read the MaskTools Guide for more info.


int  aath = 48
SangNom anti-aliasing strength (default should be fine).


Examples

AntiAliasing with defaults settings:

AviSource("blah.avi")
antialiasing(th_luma=20, th_chroma=20, type="sobel", aath=48)


External Links




Back to External Filters

Personal tools