NonlinUSM
From Avisynth wiki
Revision as of 20:30, 5 October 2017 by Raffriff42 (Talk | contribs)
Abstract | |
---|---|
Author | Didée |
Version | 2012/02/01 |
Download | NonlinUSM script |
Category | Sharpeners |
License | |
Discussion | Doom9 Thread |
Contents |
Description
Non-linear Unsharp Masking, uses a wide-range Gaussian instead of a small-range kernel. Like most sharpeners, this script only processes luma, chroma channels are simply copied from the input clip.
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 appropriate MaskTools2.
Syntax and Parameters
- NonlinUSM (clip o, float "z", float "pow", float "str", float "rad", float "ldmp")
- clip o =
- Input clip
- clip o =
- float z = 6.0
- zero point
- float z = 6.0
- float pow = 1.6
- power
- float pow = 1.6
- float str = 1.0
- strength
- float str = 1.0
- float rad = 9.0
- radius for "gauss"
- float rad = 9.0
- float ldmp = 0.001
- damping for very small differences
- float ldmp = 0.001
Examples
NonlinUSM with default settings:
AviSource("Blah.avi") NonlinUSM(z=6.0, pow=1.6, str=1.0, rad=9.0, ldmp=0.001)
More Examples:
NonlinUSM(pow=4) ## enhance: for low bitrate sources NonlinUSM(z=3, pow=4.0, str=1, rad=6) ## enhance less NonlinUSM(z=3, str=0.5, rad=9, pow=1) ## enhance less NonlinUSM(z=6, str=1.5, rad=0.6).Sharpen(0.3) ## sharpen: for hi-q sources NonlinUSM(z=3, str=2.5, rad=0.6) ## sharpen: less noise NonlinUSM(z=6, pow=1.0, str=1, rad=6) ## unsharp NonlinUSM(pow=1.0, rad=2, str=0.7) ## "smoothen" for noisy sources NonlinUSM(pow=1.0, rad=18, str=0.5) ## smear: soft glow NonlinUSM(z=6, pow=4.0, str=1, rad=36) ## local contrast NonlinUSM(z=6, pow=1.0, str=1, rad=36) ## local contrast NonlinUSM(z=16, pow=4.0, str=18, rad=6) ## B+W psychedelic NonlinUSM(z=16, pow=2.0, str=2, rad=36) ## solarized NonlinUSM(z=16, pow=4.0, str=3, rad=6) ## sepia/artistic
Changelog
Version Date Changes
2012/02/01 2012/02/01 - Initial public release
External Links
- Doom9 Forum - NonlinUSM discussion.
- Doom9 Forum - Usage examples.
Back to External Filters ←