AntiAliasing

From Avisynth

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

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

Contents

[edit] Abstract

Anti-aliasing script.

[edit] Requires Filters

[edit] Description

Basic script using edge detection for anti-aliasing removal.

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

type string = 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.

aath int = 48
Anti-aliasing strength (default should be fine)

[edit] Examples

avisource("blah.avi")
antialiasing()
avisource("blah.avi")
antialiasing(12,15)

[edit] Links

Download antialiasing.avs Current version (recommended).

Personal tools