AWarpSharp: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m update
Line 2: Line 2:
{{Filter2
{{Filter2
| {{Author/Marc FD}}
| {{Author/Marc FD}}
| beta 2?
| beta 1
| [http://web.archive.org/web/20131103155757/http://leak.no-ip.org/AviSynth/AWarpSharpDering/AWarpSharp(Pruned).zip aWarpSharp(Pruned).zip]
| [http://web.archive.org/web/20070105185349/http://ziquash.chez-alice.fr/aWarpSharp%20beta%201.zip aWarpSharp beta 1.zip]
| Sharpeners
| Sharpeners
| Closed source
| Closed source
Line 12: Line 12:
:"original" meaning the algorithm used differs on several points to other warp sharpening filters. The code is fully [[ISSE]] optimized with high accuracy.
:"original" meaning the algorithm used differs on several points to other warp sharpening filters. The code is fully [[ISSE]] optimized with high accuracy.
<br>
<br>
== Requirements: ==
== Requirements ==
:- AviSynth 2.5.8 or later
:- 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  
:- [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
Line 37: Line 37:
:::::A float value of 1.0 means 100% (max).
:::::A float value of 1.0 means 100% (max).
:::::The default value (0.5) is recommended for maximum quality.
:::::The default value (0.5) is recommended for maximum quality.
::::If you tweak this setting, keep in mind it will enhance inequality of warping between edges.
::::If you tweak this setting, keep in mind it will enhance inequality of warping between edges.<br>
<br>
<br>
::{{Par2|cm|int|2}}
::{{Par2|cm|int|3}}
:::Chroma mode:
:::Chroma mode:
::::* 0 : disables chroma filtering
::::* 0 : disables chroma filtering
::::* 1 : enables chroma independent warping & bump map
::::* 1 : enables chroma warping with luma bump map (recommended)
::::* 2 : enables chroma warping with luma bump map (recommended)
::::* 2 : enables chroma independent warping & bump map
::::* 3 : chroma -> luma
::::* 3 : chroma -> chroma (default)
::::* 4 : chroma -> chroma


:::<span style="color:red">'''Note:'''</span> Mapping for {{Template:FuncDef|cm}}=1/2 is wrong in the included documentation. This wiki documentation has been revised and it's correct.  
:::<span style="color:red">'''Note:'''</span> Default in the included documentation is wrong. This wiki documentation has been revised and it's correct.
<br>
<br>
::{{Par2|bm|int|1}}
::{{Par2|bm|int|2}}
:::Blur modes:
:::Blur modes:
::::* 0 : hq 3-pass
::::* 0 : hq 3-pass
Line 56: Line 55:
::::* 3 : light blur
::::* 3 : light blur
<br>
<br>
::{{Par2|tweak|int|0}}
::{{Par2|show|bool|false}}
::::* 0 : disabled
:::If true, it will show an edge mask; useful for adjusting {{Template:FuncDef|depth}}, {{Template:FuncDef|blurlevel}}.  
::::* 1 : shows an edge mask; useful for adjusting {{Template:FuncDef|depth}}, {{Template:FuncDef|blurlevel}}.
<br>
<br>


== Examples ==
== Examples ==
aWarpSharp with all default values.
aWarpSharp with all default settings:
  [[AviSource]]("Blah.avi")
  [[AviSource]]("Blah.avi")
  Awarpsharp(depth=16.0, blurlevel=2, thresh=0.5, cm=2, bm=1, tweak=0)
  aWarpSharp(depth=16.0, blurlevel=2, thresh=0.5, cm=3, bm=2, show=false)
<br>
<br>


== Changelog ==
== Changelog ==
  Version      Date            Changes<br>
  Version      Date            Changes<br>
  beta 2?      2004/05/25      - Changed defaults to "cm" and "bm"
  beta 1      2003/02/03      - Initial release
                              - Changed cm mappings:
                                cm=1 is now cm=2; cm=2 is now cm=1
                              - Replaced "show" parameter with "tweak"<br>
Beta 1      2003/02/03      - Initial release
<br>
<br>


<br>
== aWarpSharp beta 1 ==
[[aWarpSharp beta 1]] documentation.
<br>
<br>
== External Links ==
== External Links ==
- [http://forum.doom9.org/showthread.php?t=44843 Doom9 Forum] - Discussion about aWarpSharp.
*[http://forum.doom9.org/showthread.php?t=44843 Doom9 Forum] - Discussion about aWarpSharp.
*[http://www.aquilinestudios.org/avsfilters/sharpeners.html#awarpsharp Scintilla's Guide] - Additional information.
<br>
<br>
<br>
<br>

Revision as of 16:00, 15 March 2014

Abstract
Author Marc FD
Version beta 1
Download aWarpSharp beta 1.zip
Category Sharpeners
License Closed source


Description

A warp sharpening filter. aWarpSharp implements high-quality original warp sharpening.
"original" meaning the algorithm used differs on several points to other warp sharpening filters. The code is fully ISSE optimized with high accuracy.


Requirements

- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12
- ISSE compatible CPU.


aWarpSharp (clip, float "depth", int "blurlevel", float "thresh", int "cm", int "bm", bool "show")


float  depth = 16.0
Range: 0.0 - 64.0
depth determines the amount of warping. It directly affects how thin your lines will end up.


int  blurlevel = 2
Range: 1 - 4
Higher blurlevel values are slower, but can give a big boost to the warp sharpening.
If you find that the warping is distorting certain shapes too much, try lowering this parameter first.


float  thresh = 0.5
Range: 0.0 - 1.0
The bump mapping saturation setting:
A float value of 1.0 means 100% (max).
The default value (0.5) is recommended for maximum quality.
If you tweak this setting, keep in mind it will enhance inequality of warping between edges.


int  cm = 3
Chroma mode:
  • 0 : disables chroma filtering
  • 1 : enables chroma warping with luma bump map (recommended)
  • 2 : enables chroma independent warping & bump map
  • 3 : chroma -> chroma (default)
Note: Default in the included documentation is wrong. This wiki documentation has been revised and it's correct.


int  bm = 2
Blur modes:
  • 0 : hq 3-pass
  • 1 : fast 3-pass
  • 2 : fast 1-pass
  • 3 : light blur


bool  show = false
If true, it will show an edge mask; useful for adjusting depth, blurlevel.


Examples

aWarpSharp with all default settings:

AviSource("Blah.avi")
aWarpSharp(depth=16.0, blurlevel=2, thresh=0.5, cm=3, bm=2, show=false)


Changelog

Version      Date            Changes
beta 1 2003/02/03 - Initial release






Back to External Filters