AWarpSharp: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
Line 23: Line 23:
:{{Template:FuncDef|aWarpSharp (''clip'', ''float'' "depth", ''int'' "blurlevel", ''float'' "thresh", ''int'' "cm", ''int'' "bm", ''int'' "tweak")}}
:{{Template:FuncDef|aWarpSharp (''clip'', ''float'' "depth", ''int'' "blurlevel", ''float'' "thresh", ''int'' "cm", ''int'' "bm", ''int'' "tweak")}}
<br>
<br>
::{{Par|depth|float|16.0}}
::{{Par2|depth|float|16.0}}
:::Range: 0.0 - 64.0
:::Range: 0.0 - 64.0
::::depth and blurlevel are the only settings you need to tweak to achieve any effect.
::::{{Template:FuncDef|depth}} and {{Template:FuncDef|blurlevel}} are the only settings you need to tweak to achieve any effect.
<br>
<br>
::{{Par|blurlevel|int|2}}
::{{Par2|blurlevel|int|2}}
:::Range: 1 - 4<br>
:::Range: 1 - 4<br>
::::depth and blurlevel are the only settings you need to tweak to achieve any effect.
::::depth and blurlevel are the only settings you need to tweak to achieve any effect.
::::blurlevel consumes CPU power, but gives a big boost to the warp sharpening.
::::blurlevel consumes CPU power, but gives a big boost to the warp sharpening.
<br>
<br>
::{{Par|thresh|float|0.5}}
::{{Par2|thresh|float|0.5}}
:::Range: 0.0 - 1.0<br>
:::Range: 0.0 - 1.0<br>
::::A float value of 1.0 means 100% (max). It's the bump mapping saturation setting.
::::A float value of 1.0 means 100% (max). It's the bump mapping saturation setting.
Line 38: Line 38:
::::If you tweak this setting, keep in mind it will enhance inequality of warping between edges.<br>
::::If you tweak this setting, keep in mind it will enhance inequality of warping between edges.<br>
<br>
<br>
::{{Par|cm|int|2}}
::{{Par2|cm|int|2}}
:::Chroma mode:
:::Chroma mode:
::::* 0 : disables chroma filtering
::::* 0 : disables chroma filtering
Line 46: Line 46:
::::* 4 : chroma -> chroma
::::* 4 : chroma -> chroma
<br>
<br>
::{{Par|bm|int|1}}
::{{Par2|bm|int|1}}
:::Blur modes:
:::Blur modes:
::::* 0 : hq 3-pass
::::* 0 : hq 3-pass
Line 53: Line 53:
::::* 3 : light blur
::::* 3 : light blur
<br>
<br>
::{{Par|tweak|int|0}}
::{{Par2|tweak|int|0}}
::::* 0 : disabled
::::* 0 : disabled
::::* 1 : shows an edge mask. Useful for adjusting depth, blurlevel, and thresh.  
::::* 1 : shows an edge mask. Useful for adjusting depth, blurlevel, and thresh.  
<br>
<br>
== Examples ==
== Examples ==
aWarpSharp with all default values.
aWarpSharp with all default values.

Revision as of 15:51, 7 January 2014

Abstract
Author Marc FD
Version beta 2?
Download aWarpSharp(Pruned).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.


Syntax and Parameters

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


float  depth = 16.0
Range: 0.0 - 64.0
depth and blurlevel are the only settings you need to tweak to achieve any effect.


int  blurlevel = 2
Range: 1 - 4
depth and blurlevel are the only settings you need to tweak to achieve any effect.
blurlevel consumes CPU power, but gives a big boost to the warp sharpening.


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


int  cm = 2
Chroma mode:
  • 0 : disables chroma filtering
  • 1 : enables chroma warping with luma bump map (recommended)
  • 2 : enables chroma independent warping & bump map
  • 3 : chroma -> luma
  • 4 : chroma -> chroma


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


int  tweak = 0
  • 0 : disabled
  • 1 : shows an edge mask. Useful for adjusting depth, blurlevel, and thresh.


Examples

aWarpSharp with all default values.

AviSource("Blah.avi")
Awarpsharp(depth=16.0, blurlevel=2, thresh=0.5, cm=2, bm=1, tweak=0)


Changelog

Changes 2004-05-25:
   beta 2? 
     - added "tweak" parameter
     - removed "show" parameter
     - changed defaults to "bm" and "cm"
     - document previously undocumented "bm" parameter
Changes 2003-02-03: beta 1 - Initial release


aWarpSharp beta 1

aWarpSharp beta 1 documentation.

- Doom9 Forum - Discussion about aWarpSharp.



Back to External Filters