FineSharp
From Avisynth wiki
(Difference between revisions)
m (1 revision) |
|||
Line 1: | Line 1: | ||
− | {{FilterCat|External_filters| | + | {{FilterCat|External_filters|Restoration_filters|Sharpeners}} |
− | {{ | + | {{Filter2 |
− | + | | {{Author/Didée}} | |
+ | | 2012/04/12 | ||
+ | | [http://avisynth.nl/images/FineSharp.avsi FineSharp.avsi] | ||
+ | | Sharpeners | ||
+ | | | ||
|}} | |}} | ||
+ | <br> | ||
+ | == Description == | ||
+ | :Small and relatively fast realtime-sharpening function, for 1080p, or after scaling 720p -> 1080p during playback (to make 720p look more like being 1080p) | ||
+ | :It's a generic sharpener. Only for good quality sources! (If the source is crap, FineSharp will happily sharpen the crap.) ;) | ||
+ | :Noise/grain will be enhanced, too. The method is GENERIC. | ||
− | == | + | :Modus operandi: A basic nonlinear sharpening method is performed, then the *blurred* sharp-difference gets subtracted again. |
− | + | <br> | |
+ | == 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]] | ||
− | == | + | ==== Required Plugins: ==== |
− | + | :*[[MaskTools2]] 2.0a48+ | |
− | + | :*[[RemoveGrain v1.0b/RemoveGrain|RemoveGrain]] - part of the [[RemoveGrain v1.0b]] package. | |
− | + | :*[[RemoveGrain v1.0b/Repair|Repair]] - part of the [[RemoveGrain v1.0b]] package. | |
− | + | <br> | |
− | < | + | == Syntax and Parameters == |
− | + | :{{Template:FuncDef|FineSharp (''clip'' c, ''int'' "mode", ''float'' "sstr", ''float'' "cstr", ''float'' "xstr", ''float'' "lstr", ''float'' "pstr", ''float'' "ldmp")}} | |
− | + | <br> | |
− | + | ::{{Par2|c|clip| }} | |
− | + | ::::Input clip. | |
− | + | <br> | |
− | + | ::{{Par2|mode|int|1}} | |
− | + | :::Range: 1 to 3 | |
− | + | ::::1 to 3, weakest to strongest. When negative -1 to -3, a broader kernel for equalization is used. | |
− | + | <br> | |
− | + | ::{{Par2|sstr|float|2.0}} | |
− | + | :::Range: 0.0 up to ?? | |
− | { | + | ::::Strength of sharpening. |
− | + | <br> | |
− | mode | + | ::{{Par2|cstr|float|AUTO}} |
− | sstr | + | :::Range: 0.0 - 2.0 ?<br> |
− | + | ::::Strength of equalization. | |
− | + | ::::Recommended value: 0.5 to 1.25 | |
− | + | ::::If all settings are left at their default value then {{Template:FuncDef|cstr}}=0.9 | |
− | + | <br> | |
− | + | ::{{Par2|xstr|float|0.19}} | |
− | xstr | + | :::Range: 0.0 - 1.0 (but, better don't go beyond 0.249 ...)<br> |
− | + | ::::Strength of XSharpen-style final sharpening. | |
− | + | <br> | |
− | lstr | + | ::{{Par2|lstr|float|1.49}} |
− | pstr | + | ::::Modifier for non-linear sharpening. |
− | ldmp | + | <br> |
− | + | ::{{Par2|pstr|float|1.272}} | |
− | + | ::::Exponent for non-linear sharpening. | |
− | + | <br> | |
− | + | ::{{Par2|ldmp|float|{{Template:FuncDef|sstr}}+0.1}} | |
− | + | ::::"low damp", to not overenhance very small differences (noise coming out of flat areas). | |
− | + | ::::If {{Template:FuncDef|sstr}} is left at its default value (2.0) then {{Template:FuncDef|ldmp}}=2.1 | |
− | + | <br> | |
− | + | == Examples == | |
− | + | FineSharp with default settings: | |
− | + | [[AviSource]]("Blah.avi") | |
− | + | FineSharp(mode=1, sstr=2.0, cstr=0.9, xstr=0.19, lstr=1.49, pstr=1.272, ldmp=2.1) | |
− | + | <br> | |
− | + | == Changelog == | |
− | + | Version Date Changes<br> | |
− | + | 2012/04/12 2012/04/12 - Added "ldmp" parameter, and slightly modified the (auto) cstr defaults<br> | |
− | + | 2012/04/08 2012/04/08 - Initial release | |
− | + | <br> | |
− | + | == External Links == | |
− | + | - [http://forum.doom9.org/showthread.php?p=1569035 Doom9 Forum] - FineSharp discussion. | |
− | + | <br> | |
− | + | <br> | |
− | + | <br> | |
− | + | ----------------------------------------------- | |
− | + | '''Back to [[External_filters#Sharpeners|External Filters]] ←''' | |
− | + | ||
− | + |
Revision as of 16:18, 2 February 2014
Abstract | |
---|---|
Author | Didée |
Version | 2012/04/12 |
Download | FineSharp.avsi |
Category | Sharpeners |
License |
Contents |
Description
- Small and relatively fast realtime-sharpening function, for 1080p, or after scaling 720p -> 1080p during playback (to make 720p look more like being 1080p)
- It's a generic sharpener. Only for good quality sources! (If the source is crap, FineSharp will happily sharpen the crap.) ;)
- Noise/grain will be enhanced, too. The method is GENERIC.
- Modus operandi: A basic nonlinear sharpening method is performed, then the *blurred* sharp-difference gets subtracted again.
Requirements:
- - AviSynth 2.5.8 or later
- - Progressive input only
- - Supported color formats: YV12
Required Plugins:
- MaskTools2 2.0a48+
- RemoveGrain - part of the RemoveGrain v1.0b package.
- Repair - part of the RemoveGrain v1.0b package.
Syntax and Parameters
- FineSharp (clip c, int "mode", float "sstr", float "cstr", float "xstr", float "lstr", float "pstr", float "ldmp")
- clip c =
- Input clip.
- clip c =
- int mode = 1
- Range: 1 to 3
- 1 to 3, weakest to strongest. When negative -1 to -3, a broader kernel for equalization is used.
- Range: 1 to 3
- int mode = 1
- float sstr = 2.0
- Range: 0.0 up to ??
- Strength of sharpening.
- Range: 0.0 up to ??
- float sstr = 2.0
- float cstr = AUTO
- Range: 0.0 - 2.0 ?
- Strength of equalization.
- Recommended value: 0.5 to 1.25
- If all settings are left at their default value then cstr=0.9
- Range: 0.0 - 2.0 ?
- float cstr = AUTO
- float xstr = 0.19
- Range: 0.0 - 1.0 (but, better don't go beyond 0.249 ...)
- Strength of XSharpen-style final sharpening.
- Range: 0.0 - 1.0 (but, better don't go beyond 0.249 ...)
- float xstr = 0.19
- float lstr = 1.49
- Modifier for non-linear sharpening.
- float lstr = 1.49
- float pstr = 1.272
- Exponent for non-linear sharpening.
- float pstr = 1.272
- float ldmp = sstr+0.1
- "low damp", to not overenhance very small differences (noise coming out of flat areas).
- If sstr is left at its default value (2.0) then ldmp=2.1
- float ldmp = sstr+0.1
Examples
FineSharp with default settings:
AviSource("Blah.avi") FineSharp(mode=1, sstr=2.0, cstr=0.9, xstr=0.19, lstr=1.49, pstr=1.272, ldmp=2.1)
Changelog
Version Date Changes
2012/04/12 2012/04/12 - Added "ldmp" parameter, and slightly modified the (auto) cstr defaults
2012/04/08 2012/04/08 - Initial release
External Links
- Doom9 Forum - FineSharp discussion.
Back to External Filters ←