NonlinUSM: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m minor formatting
m link and colorspace note
Line 1: Line 1:
{{FilterCat4|External_filters|Scripts|Restoration_filters|Sharpeners}}
{{FilterCat4|External_filters|Scripts|Restoration_filters|Sharpeners}}
{{Filter3
{{Filter3
| {{Author/Didée}}
| {{Author/Didée}}
Line 9: Line 8:
|6=[http://forum.doom9.org/showthread.php?p=1555234 Doom9 Thread]
|6=[http://forum.doom9.org/showthread.php?p=1555234 Doom9 Thread]
}}
}}
<br>
 
== Description ==
== Description ==
Non-linear Unsharp Masking. Like most sharpeners, this script only processes luma, chroma channels are simply copied from the input clip.<br>
Non-linear Unsharp Masking. Like most sharpeners, this script only processes luma, chroma channels are simply copied from the input clip.<br>
<br>
<br>
== Requirements ==
== Requirements ==
* AviSynth 2.5.8 or later
* AviSynth 2.5.8 or [http://sourceforge.net/projects/avisynth2/ greater]
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only  
* [[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]]
* Supported color formats: [[YV12]]
=== Required Plugins ===
*[[MaskTools2]]
Additional [[planar]] colorspaces are supported when using AviSynth 2.6 and appropriate MaskTools2.
<br>
<br>
==== Required Plugins ====
*[[MaskTools2]] 2.0a48+
<br>
<br>
== [[Script variables|Syntax and Parameters]] ==
== [[Script variables|Syntax and Parameters]] ==
:{{Template:FuncDef|NonlinUSM (''clip'' o, ''float'' "z", ''float'' "pow", ''float'' "str", ''float'' "rad", ''float'' "ldmp")}}
:{{Template:FuncDef|NonlinUSM (''clip'' o, ''float'' "z", ''float'' "pow", ''float'' "str", ''float'' "rad", ''float'' "ldmp")}}

Revision as of 13:38, 27 October 2015

Abstract
Author Didée
Version 2012/02/01
Download NonlinUSM script
Category Sharpeners
License
Discussion Doom9 Thread

Description

Non-linear Unsharp Masking. Like most sharpeners, this script only processes luma, chroma channels are simply copied from the input clip.

Requirements

Required Plugins

Additional planar colorspaces are supported when using AviSynth 2.6 and appropriate MaskTools2.

NonlinUSM (clip o, float "z", float "pow", float "str", float "rad", float "ldmp")


clip  o =
Input clip


float  z = 6.0
zero point


float  pow = 1.6
power


float  str = 1.0
strength


float  rad = 9.0
radius for "gauss"


float  ldmp = 0.001
damping for very small differences


Examples

NonlinUSM with default settings:

AviSource("Blah.avi")
NonlinUSM(z=6.0, pow=1.6, str=1.0, rad=9.0, ldmp=0.001)


Changelog

Version         Date            Changes
2012/02/01 2012/02/01 - Initial public release





Back to External Filters