AntiAliasing: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
No edit summary |
quick update |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
{{Filter|SpikeSpiegel, Didée, mf, scharfis_brain and Soulhunter|3.0|[[Media:antialiasing.avs|antialiasing.avs]]|Anti-aliasing| | {{FilterCat4|External_filters|Scripts|Restoration_filters|Anti-aliasing}} | ||
{{Filter | |||
|SpikeSpiegel, Didée, mf, scharfis_brain and Soulhunter | |||
|3.0 | |||
|[[Media:antialiasing.avs|antialiasing.avs]] | |||
|Anti-aliasing | |||
| | |||
* YV12 | * YV12 | ||
|}} | |7=[http://forum.doom9.org/showthread.php?t=83396 Doom9 Thread]}} | ||
== 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.<br/> | |||
'''Note:''' This script is very old and usually not recommended nowadays. | |||
=== | == Requirements == | ||
* AviSynth 2.5.8 or later | |||
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only | |||
* Supported color formats: [[YV12]] | |||
=== Required Plugins === | |||
*[[SangNom]] | *[[SangNom]] | ||
*[[MaskTools]] | *[[MaskTools]] | ||
== [[Script variables|Syntax and Parameters]] == | |||
{{ | :{{Template:FuncDef| antialiasing (clip orig, int "th_luma", int "th_croma", string "type", int "aath") }} | ||
"th_luma" | |||
{{ | ::{{Par2|orig|clip| }} | ||
"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. | :::Input clip. | ||
<br> | |||
::{{Par2|th_luma|int|20}} | |||
::{{Par2|th_croma|int|20}} | |||
:::"th_luma" & "th_croma" are the edge detection thresholds : lower values=more edges filtered. | |||
<br> | |||
::{{Par2|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. <br/>If you want to test other matrices, read the MaskTools Guide for more info. | |||
<br> | |||
::{{Par2|aath|int|48}} | |||
:::SangNom anti-aliasing strength (default should be fine). | |||
== Examples == | == Examples == | ||
AntiAliasing with defaults settings: | |||
[[AviSource]]("blah.avi") | |||
antialiasing( | antialiasing(th_luma=20, th_chroma=20, type="sobel", aath=48) | ||
[[ | ==External Links == | ||
*[http://forum.doom9.org/showthread.php?t=83396 Doom9 Forum] - Discussion | |||
<br> | |||
<br> | |||
----------------------------------------------- | |||
'''Back to [[External_filters#Anti-aliasing|External Filters]] ←''' | |||
Latest revision as of 23:21, 29 September 2014
| Abstract | |
|---|---|
| Author | SpikeSpiegel, Didée, mf, scharfis_brain and Soulhunter |
| Version | 3.0 |
| Download | antialiasing.avs |
| Category | Anti-aliasing |
| Requirements |
|
| License | |
| Discussion | Doom9 Thread |
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
- antialiasing (clip orig, int "th_luma", int "th_croma", string "type", int "aath")
- clip orig =
- Input clip.
- clip orig =
- int th_luma = 20
- int th_croma = 20
- "th_luma" & "th_croma" are the edge detection thresholds : lower values=more edges filtered.
- int th_luma = 20
- 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.
- "type" is the matrix used for edge detection: with "sobel" (default) only the hi-contrast edges, where artefacts are more noticeable, are filtered.
- string type = "sobel"
- int aath = 48
- SangNom anti-aliasing strength (default should be fine).
- int aath = 48
Examples
AntiAliasing with defaults settings:
AviSource("blah.avi") antialiasing(th_luma=20, th_chroma=20, type="sobel", aath=48)
External Links
- Doom9 Forum - Discussion
Back to External Filters ←