PSharpen
From Avisynth wiki
(Difference between revisions)
m (→Syntax and Parameters: typo) |
(corrections) |
||
Line 40: | Line 40: | ||
:::The horizontal and vertical [[supersampling]] factors, respectively. Higher values will reduce aliasing, at the expense of speed. | :::The horizontal and vertical [[supersampling]] factors, respectively. Higher values will reduce aliasing, at the expense of speed. | ||
<br> | <br> | ||
− | ::{{Par2|dest_x|float| | + | ::{{Par2|dest_x|float|clp.width()}} |
− | ::{{Par2|dest_y|float| | + | ::{{Par2|dest_y|float|clp.height()}} |
− | :::Final image size. | + | :::Final image size; defaults to the dimensions of the input clip. |
<br> | <br> | ||
Line 48: | Line 48: | ||
pSharpen with default settings: | pSharpen with default settings: | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
− | pSharpen(strength=25, threshold=75, ss_x=1.0, ss_y | + | pSharpen(strength=25, threshold=75, ss_x=1.0, ss_y=1.0) |
<br> | <br> | ||
== Changelog == | == Changelog == |
Revision as of 16:05, 1 March 2016
Abstract | |
---|---|
Author | ilpippo80, colours |
Version | 02/08/2015 |
Download | pSharpen script |
Category | Sharpeners |
License | |
Discussion | Doom9 Thread - Update |
Contents |
Description
pSharpen performs two-point sharpening to avoid overshoot.
Requirements
- AviSynth 2.5.8 or greater
- Progressive input only
- Supported color formats: YV12
Required Plugins
Additional planar colorspaces are supported when using AviSynth 2.6 and corresponding MaskTools2.
Syntax and Parameters
- pSharpen (clip clp, int "strength", int "threshold", float "ss_x", float "ss_y", float "dest_x", float "dest_y")
- clip =
- Input clip
- clip =
- int strength = 25
- Determines the strength of the sharpening (up until the overshoot correction threshold, see below). Value of 100 will set all pixels to either their local min or max; value of 0 will make the filter do nothing. Range: 0 to 100
- int strength = 25
- int threshold = 75
- Determines how close to the min/max a pixel can be sharpened before the overshoot correction (compression) kicks in. Higher values make the overshoot correction more of a hard limiting, while lower values soften the compression. Value of 0 makes the filter do nothing. Range: 0 to 100
- int threshold = 75
- float ss_x = 1.0
- float ss_y = 1.0
- The horizontal and vertical supersampling factors, respectively. Higher values will reduce aliasing, at the expense of speed.
- float ss_x = 1.0
- float dest_x = clp.width()
- float dest_y = clp.height()
- Final image size; defaults to the dimensions of the input clip.
- float dest_x = clp.width()
Examples
pSharpen with default settings:
AviSource("Blah.avi") pSharpen(strength=25, threshold=75, ss_x=1.0, ss_y=1.0)
Changelog
Version Date(D/M/Y) Changes
02/08/2015 - Update to use MaskTools2 02/07/2005 - Initial public release
External Links
- AquilineStudios - pSharpen additional usage information.
Back to External Filters ←