AWarpsharp2/aWarpSharp

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "== aWarpSharp == {{Template:FuncDef|aWarpSharp(float "depth", int blurlevel, float "thresh", int "cm", int "bm", bool "show")}}")
 
(aWarpSharp)
Line 1: Line 1:
 +
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]]'''
 
== aWarpSharp ==
 
== aWarpSharp ==
 
+
:Special fuction that keeps compatibility with ancient scripts that use the original [[aWarpSharp]].
{{Template:FuncDef|aWarpSharp(float "depth", int blurlevel, float "thresh", int "cm", int "bm", bool "show")}}
+
<br>
 +
== Syntax and Parameters ==
 +
:{{Template:FuncDef|aWarpSharp(float "depth", int "blurlevel", float "thresh", int "cm", int "bm", bool "show")}}
 +
<br>
 +
::{{Par|depth|float|16.0}}
 +
:::Range: 0.0 - 64.0
 +
<br>
 +
::{{Par|blurlevel|int|2}}
 +
:::Range: 1 - 4<br>
 +
::::These are the only settings you need to tweak to achieve any effect.
 +
::::Blurlevel consumes CPU power, but gives a big boost to the warpsharpenning.
 +
<br>
 +
::{{Par|thresh|float|0.5}}
 +
:::Range: 0.0 - 1.0<br>
 +
::::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.<br>
 +
<br>
 +
::{{Par|cm|int|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
 +
<br>
 +
::{{Par|bm|int|2}}
 +
:::Blur modes:
 +
::::* 0 : hq 3-pass
 +
::::* 1 : fast 3-pass
 +
::::* 2 : fast 1-pass
 +
::::* 3 : light blur
 +
<br>
 +
::{{Par|show|bool|false}}
 +
:::If true, it will show an edge mask. Useful for adjusting depth, blurlevel, and thresh.
 +
<br>

Revision as of 13:50, 9 November 2013

Back to aWarpSharp2

aWarpSharp

Special fuction that keeps compatibility with ancient scripts that use the original aWarpSharp.


Syntax and Parameters

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


depth float = 16.0
Range: 0.0 - 64.0


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


thresh float = 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.


cm int = 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


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


show bool = false
If true, it will show an edge mask. Useful for adjusting depth, blurlevel, and thresh.


Personal tools