AWarpSharp2

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m (Changelog)
m (update)
Line 3: Line 3:
 
| {{Author/SEt}}
 
| {{Author/SEt}}
 
| 2012.03.28
 
| 2012.03.28
| [http://www.mediafire.com/?7bu46ab33dwex0o aWarpSharp2]
+
| [http://www.mediafire.com/?7bu46ab33dwex0o aWarpSharp_20120328.rar]
 
| Sharpeners
 
| Sharpeners
 
|
 
|
Line 12: Line 12:
 
== Description ==
 
== Description ==
 
:This filter implements the same warp sharpening algorithm as [[aWarpSharp]] by Marc FD, but with several bugfixes and optimizations.
 
:This filter implements the same warp sharpening algorithm as [[aWarpSharp]] by Marc FD, but with several bugfixes and optimizations.
:In addition to the complete [[/aWarpSharp2|aWarpSharp2]] algorithm, parts of the algorithm are also available as [[AWarpsharp2/aSobel|aSobel]], [[aWarpsharp2/aBlur|aBlur]], [[aWarpsharp2/aWarp|aWarp]]. This allows for more advanced processing.
+
:In addition to the complete [[/aWarpSharp2|aWarpSharp2]] algorithm, parts of the algorithm are also available as [[AWarpsharp2/aSobel|aSobel]], [[aWarpsharp2/aBlur|aBlur]], [[aWarpsharp2/aWarp|aWarp]] and [[aWarpsharp2/aWarp4|aWarp4]]. This allows for more advanced processing.
 
<br>
 
<br>
  
Line 22: Line 22:
 
:- [[MMXExt]] capable CPU, blur will be more precise around frame borders if [[SSSE3]] is available.
 
:- [[MMXExt]] capable CPU, blur will be more precise around frame borders if [[SSSE3]] is available.
 
<br>
 
<br>
 
== Common Parameters ==
 
:{{Par|thresh|int|128}}
 
::Range: 0 to 255<br>
 
:::Saturation limit for edge detection. Reduce for less aggressive sharpening.
 
<br>
 
:{{Par|blur|int|2 for type 0, 3 for type 1}}
 
::Range: 0 to 100<br>
 
:::Number of blur passes over edge mask.<br>
 
:::Less passes increase sharpening effect, but can produce major artifacts with high depth and thresh.<br>
 
:::You can use values higher than 100, but probably won't see any difference.<br>
 
:::Chroma is processed with (blur+1)/2 passes.<br>
 
<br>
 
:{{Par|type|int|0 for aWarpSharp2, 1 for aBlur}}
 
:::Type of blur:
 
::::* 0 : radius 6 blur.
 
::::* 1 : radius 2 blur, requires around 8x more passes than type 0 for the same effect (will be just 2.5x slower), but produce better quality.
 
<br>
 
:{{Par|depth|int|16 for aWarpSharp2, 3 for aWarp and aWarp4}}
 
::Range: -128 to 127<br>
 
:::Strength of the final warping. Negative values result in warping in opposite direction.
 
<br>
 
:{{Par|chroma|int|}}
 
:::Processing mode for chroma planes (U and V):
 
::::* 0 : fill with zeroes
 
::::* 1 : don't care, default for aSobel and aBlur
 
::::* 2 : copy
 
::::* 3 : process
 
::::* 4 : guide by luma - default for aWarpSharp, aWarp, and aWarp4 only
 
::::* 5 : same as 3, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems.
 
::::* 6 : same as 4, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems.
 
<br>
 
 
 
== Filters ==
 
== Filters ==
 
{{PluginFilterTable}}
 
{{PluginFilterTable}}
Line 100: Line 67:
 
<br>
 
<br>
 
== Links ==
 
== Links ==
- [http://forum.doom9.org/showthread.php?t=147285 Doom9 Forum] - Discussion about aWarpSharp2.
+
*[http://forum.doom9.org/showthread.php?t=147285 Doom9 Forum] - Discussion about aWarpSharp2.

Revision as of 14:53, 15 March 2014

Abstract
Author SEt
Version 2012.03.28
Download aWarpSharp_20120328.rar
Category Sharpeners
Requirements
License GPLv2
Discussion


Contents

Description

This filter implements the same warp sharpening algorithm as aWarpSharp by Marc FD, but with several bugfixes and optimizations.
In addition to the complete aWarpSharp2 algorithm, parts of the algorithm are also available as aSobel, aBlur, aWarp and aWarp4. This allows for more advanced processing.


Requirements

- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12
- MMXExt capable CPU, blur will be more precise around frame borders if SSSE3 is available.


Filters

Filter Description Color format
aBlur

A blurring filter.

YV12
aSobel

An edge dectecion filter.

YV12
aWarp

A warp-sharpening filter.

YV12
aWarp4

Unlike aWarp, this uses a 4x larger source clip than the edgemask. This is useful for improving subpixel interpolation quality of the final step.

YV12
aWarpSharp

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

YV12
aWarpSharp2

The same as aWarp(aSobel().aBlur()) but a bit faster.

YV12


Changelog

Version           Date             Changes
2012.03.28 2012/03/28 - Added new final part aWarp4 that takes 4x upsampled source for better final subpixel interpolation. - aWarpSharp2 can now be also called by aWarpSharp() with internal parameters conversion for compatibility with ancient scripts. Direct aWarpSharp2 call is encouraged though. - New chroma values: 5 and 6: the same as 3 and 4, but luma isn't processed and just copied. Useful for filtering sources with certain chroma problems. - Changed some defaults.
2009.06.19 2009/06/19 - renamed main filter from aWarpSharp to aWarpSharp2 for less confusion with original aWarpSharp - fixed wrong offsets in Warp - added new blur type - produce better quality, but around 2.5x slower - blur will be more precise around frame borders if SSSE3 is available - some optimizations, mostly noticeable on Core2 - removed support for undocumented parameters of original aWarpSharp
2009.05.24 2009/05/24 - Initial release


Links

Personal tools