UnsharpHQ

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(UnsharpHQ)
 
m (External Links)
Line 55: Line 55:
 
<br>
 
<br>
 
== External Links ==
 
== External Links ==
- [http://forum.doom9.org/showthread.php?t=159637 Doom9 Forum] - UnsharpHQ discussion.
+
*[http://forum.doom9.org/showthread.php?t=159637 Doom9 Forum] - UnsharpHQ discussion.
 +
*[http://web.archive.org/web/20140216220306/https://zcd-00.s3-external-1.amazonaws.com/A3G5OWGKHW6OL5/XR4tJbM/knp30lALVCx8YBdy%2B4AiiXCBFhkYigRQKVTg1j4qjJvgWMHRDD0C2UbFy3vPSNnQmgbfQdqXbBAEocYh640tEzqHxC6EZvGzAKEf6vzB/OGadddveMIlZXOVUtFbpmTfXrcbffhS4bl0%2Bxg6dDuI%2Bq46vw3jtA2sKt9fnIc0fnZja%2BGUp0J9vcmeyB9vDBenth8hdg9fgCZYPt5Wr0EBncNUk8e4DmIPG8KmRgDFqB4P1aSM/9pZwAn6WK8tgXUV2cFlhNKVnM8jSnYCdxax35nS5Y4fJhXu1iigq20Xg0SUNb9rocuOHYGv?Expires=1392588210&response-expires=Sun%2C%2016%20Feb%202014%2022%3A03%3A30%20GMT&response-content-disposition=attachment%3B%20filename%3D%22UnsharpHQ_v05.zip%22&AWSAccessKeyId=ASIAJN6QZUB3WI6KFTCA&x-amz-security-token=AQoDYXdzEJf//////////wEa4ANftNB10ZGob0E2nQnhza1yuDd4bL8RkSaaSpaDn0XSsf1bx3yshuqF8qpobRZmFZVIfI/M8fD15BhMnhAEZfEjVXOpL/RrgvH4ud/F3NeRiGXhgAXyqTEnK/Cgqxg253mVOJlABpdd%2B7q7p/idVmojgR1DN7zblKmZ8G8QdmWR2w/07GPjBzIg17rwGDAGB82iyMkEDva9vzIRT4aBH%2B2z8m%2Bo4xD5L4sF1e01T2fTI1A9lUO98/0lSqexPmTStUrSd%2BE5JtowvmtcN2FVhY7GGSee7uigUhrKtsLFUOCoExCTpKZvbsvv7lMyOggePYxKOXhe5B9hC0NSFN5qnhtM9BTtDUMwZXWhCZWDA9Ka6Y%2BNjQPEYMfg6x6RaXpcQ16/BtzfPfTlLh/7hZIB6dE4zE3gOWrl6VmPwWiwa95NeDkQWUhy8FhjhKa4xR7XaF9yT5aRtwVPj4VjOO2TZdst8RcuwZMWILbd%2BPKth6hZyD4DHPitc0hrgZVsTc71DyLp%2BPrAkKafnKtgD4x7nl1tZrHnnBRrS0o2ja5ToOtUUMf/LOdl6nqMmBcrhonTpcoKHcKVFIHmN8rT8mzZyLVMZUIAI7OVeprK2mgqzS6usD8P2fToPenLP2HkOQ79GGAgheqEmAU%3D&Signature=CufNNbqLuvdXcGlIIoHz0amHcBk%3D Archive.org] - Archived download.
 
<br>
 
<br>
 
<br>
 
<br>

Revision as of 00:17, 17 February 2014

Abstract
Author list
Version v0.5
Download UnsharpHQ_v05.zip
Category Sharpeners
License GPLv3


Contents

Description

This is a very strong and fast unsharp mask with some new features.


Requirements

- AviSynth 2.5.8 or later
- Progressive input only
- Supported color formats: YV12


- SSE2 capable CPU
- MSVCR80.DLL


Syntax and Parameters

UnsharpHQ (clip, int "THRESHOLD", float "SHARPSTR", float "SMOOTH", bool "SHOW")


int  THRESHOLD = 20
Range: 0 to 99
The value that determines whether or not to sharpen a pixel based on the luminance change between their neighbors.
Lower values allow more to be sharpened (including noise); higher values allow less but is set to high, small detail will not be sharpened.


float  SHARPSTR = 4.0
Range: 0.0 up to 99.0
Sharpening strength; values from 2.0 to 10.0 are recommended.


float  SMOOTH = 0.5
Range: 0.0 - 4.0
The smoothing strength for pixels not being sharpened (mainly flat areas). Set to 0.0 to disable smoothing.


bool  SHOW = false
When set to true a green and black mask is shown; useful for finding an optimal value* for THRESHOLD.
Anything in green gets sharpened, anything in black is not sharpened but can be smoothed if SMOOTH is greater than 0.


*optimal value - noise vs detail trade-off. The goal is to try to sharpen as much detail as possible while not sharpening noise.


Examples

UnsharpHQ with default settings:

AviSource("Blah.avi")
UnsharpHQ(THRESHOLD=20, SHARPSTR=4.0, SMOOTH=0.5, SHOW=false)


Changelog

Version      Date            Changes
v0.5 2014/01/19 - Released source code under GPLv3 - Added parameters THRESHOLD, SMOOTH, and SHOW - Renamed parameter STR to SHARPSTR
v0.4 2011/02/26 - Optimized and more accurate v0.3
v0.3 2011/02/21 - Initial public release


External Links





Back to External Filters

Personal tools