AWarpSharp

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
m (AWarpSharp beta 2)
Line 1: Line 1:
 
{{FilterCat|External_filters|Restoration_filters|Sharpeners}}
 
{{FilterCat|External_filters|Restoration_filters|Sharpeners}}
{{Filter
+
{{Filter2
 
| {{Author/Marc FD}}
 
| {{Author/Marc FD}}
| Beta 1
+
| beta 2?
| [http://www.avisynth.nl/users/warpenterprises/files/awarpsharp_5F25_dll_20030203.zip aWarpSharp]
+
| [http://web.archive.org/web/20131103155757/http://leak.no-ip.org/AviSynth/AWarpSharpDering/AWarpSharp(Pruned).zip aWarpSharp(Pruned).zip]
 
| Sharpeners
 
| Sharpeners
|
 
* YV12
 
 
| Closed source
 
| Closed source
 
|}}
 
|}}
 
<br>
 
<br>
 
== Description ==
 
== Description ==
:a WarpSharpenning filter for Avisynth 2.5<br>
+
:A warp sharpening filter. aWarpSharp implements high-quality original warp sharpening.
===== Requirements =====
+
:"original" meaning the algorithm used differs on several points to other warp sharpening filters. The code is fully [[ISSE]] optimized with high accuracy.
::* [[YV12]]
+
<br>
::* ISSE compatible CPU.
+
== 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]]
 +
 
 +
:- [[ISSE]] compatible CPU.
 +
<br>
 +
 
 
<br>
 
<br>
 
== Syntax and Parameters ==
 
== Syntax and Parameters ==
:{{Template:FuncDef|aWarpSharp(float "depth", int "blurlevel", float "thresh", int "cm", int "bm", bool "show")}}
+
:{{Template:FuncDef|aWarpSharp (''clip'', ''float'' "depth", ''int'' "blurlevel", ''float'' "thresh", ''int'' "cm", ''int'' "bm", ''int'' "tweak")}}
 
<br>
 
<br>
 
::{{Par|depth|float|16.0}}
 
::{{Par|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.
 
<br>
 
<br>
 
::{{Par|blurlevel|int|2}}
 
::{{Par|blurlevel|int|2}}
 
:::Range: 1 - 4<br>
 
:::Range: 1 - 4<br>
::::These 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 warpsharpenning.
+
::::blurlevel consumes CPU power, but gives a big boost to the warp sharpening.
 
<br>
 
<br>
 
::{{Par|thresh|float|0.5}}
 
::{{Par|thresh|float|0.5}}
Line 41: Line 47:
 
::::* 4 : chroma -> chroma
 
::::* 4 : chroma -> chroma
 
<br>
 
<br>
::{{Par|bm|int|2}}
+
::{{Par|bm|int|1}}
 
:::Blur modes:
 
:::Blur modes:
 
::::* 0 : hq 3-pass
 
::::* 0 : hq 3-pass
Line 48: Line 54:
 
::::* 3 : light blur
 
::::* 3 : light blur
 
<br>
 
<br>
::{{Par|show|bool|false}}
+
::{{Par|tweak|int|0}}
:::If true, it will show an edge mask. Useful for adjusting depth, blurlevel, and thresh.  
+
::::* 0 : disabled
 +
::::* 1 : shows an edge mask. Useful for adjusting depth, blurlevel, and thresh.  
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==
 +
aWarpSharp with all default values.
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
  aWarpSharp()
+
  Awarpsharp(depth=16.0, blurlevel=2, thresh=0.5, cm=2, bm=1, tweak=0)
 
<br>
 
<br>
 
== Changelog ==
 
== Changelog ==
 
  Changes [http://leak.no-ip.org/AviSynth/AWarpSharpDering/AWarpSharp(Pruned).zip 2004-05-25:]
 
  Changes [http://leak.no-ip.org/AviSynth/AWarpSharpDering/AWarpSharp(Pruned).zip 2004-05-25:]
     Beta 2?  
+
     beta 2?  
       - added undocumented "tweak" parameter
+
       - added "tweak" parameter
 
       - removed "show" parameter
 
       - removed "show" parameter
 +
      - changed defaults to "bm" and "cm"
 
       - document previously undocumented "bm" parameter<br>
 
       - document previously undocumented "bm" parameter<br>
 
  Changes [http://www.avisynth.nl/users/warpenterprises/files/awarpsharp_5F25_dll_20030203.zip 2003-02-03:]
 
  Changes [http://www.avisynth.nl/users/warpenterprises/files/awarpsharp_5F25_dll_20030203.zip 2003-02-03:]
     Beta 1
+
     beta 1
 
       - Initial release
 
       - Initial release
 +
<br>
 +
== aWarpSharp beta 1 ==
 +
[[aWarpSharp beta 1]] documentation.
 +
<br>
 
<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.
 +
<br>
 +
<br>
 +
<br>
 +
-----------------------------------------------
 +
'''Back to [[External_filters#Sharpeners|External Filters]] &larr;'''

Revision as of 14:41, 6 January 2014

Abstract
Author Marc FD
Version beta 2?
Download aWarpSharp(Pruned).zip
Category Sharpeners
License Closed source


Contents

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")


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


blurlevel int = 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.


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 = 1
Blur modes:
  • 0 : hq 3-pass
  • 1 : fast 3-pass
  • 2 : fast 1-pass
  • 3 : light blur


tweak int = 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.

External Links

- Doom9 Forum - Discussion about aWarpSharp.



Back to External Filters

Personal tools