RemoveGrain v1.0b/DenoiseSharpen/DenoiseSharpen

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
m
m (category)
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
{{FilterCat4|External_filters|Plugin_functions|Adjustment_filters|Sharpeners}}
 +
 
'''Back to [[RemoveGrain_v1.0b/DenoiseSharpen|DenoiseSharpen]] ←'''
 
'''Back to [[RemoveGrain_v1.0b/DenoiseSharpen|DenoiseSharpen]] ←'''
 
== Description ==
 
== Description ==
: A spatial denoising and sharpening function. DenoiseSharpen has 22 valid modes but only 13 actually do any processing.
+
A spatial denoising and sharpening function. DenoiseSharpen has 22 valid modes but only 13 actually do any processing.
 +
<br>
 
<br>
 
<br>
 
 
== Requirements ==
 
== Requirements ==
:- [[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: [[YUY2]], [[YV12]]
+
* Supported color formats: [[YUY2]], [[YV12]]
 
<br>
 
<br>
== Syntax and Parameters ==
+
== [[Script variables|Syntax and Parameters]] ==
 
:{{Template:FuncDef|DenoiseSharpen (''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''int'' "strength", ''int'' "strengthU", ''int'' "strengthV", ''bool'' "planar")}}
 
:{{Template:FuncDef|DenoiseSharpen (''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''int'' "strength", ''int'' "strengthU", ''int'' "strengthV", ''bool'' "planar")}}
 +
<br>
 +
::{{Par2| |clip| }}
 +
:::Input clip.
 
<br>
 
<br>
 
::{{Par2|mode |int|2}}
 
::{{Par2|mode |int|2}}
Line 58: Line 63:
 
<br>
 
<br>
 
== Examples ==
 
== Examples ==
ClenseSharpen with default values:
+
DenoiseSharpen with default values:
 
  [[AviSource]]("Blah.avi")
 
  [[AviSource]]("Blah.avi")
 
  DenoiseSharpen(mode=2, modeY=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false)
 
  DenoiseSharpen(mode=2, modeY=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false)
 
<br>
 
<br>
== Links ==
+
 
<br>
+
==External Links ==
 
<br>
 
<br>
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[RemoveGrain_v1.0b/DenoiseSharpen|DenoiseSharpen]] &larr;'''
 
'''Back to [[RemoveGrain_v1.0b/DenoiseSharpen|DenoiseSharpen]] &larr;'''

Latest revision as of 22:41, 21 September 2014


Back to DenoiseSharpen

Contents

[edit] Description

A spatial denoising and sharpening function. DenoiseSharpen has 22 valid modes but only 13 actually do any processing.

[edit] Requirements


[edit] Syntax and Parameters

DenoiseSharpen (clip, int "mode", int "modeU", int "modeV", int "strength", int "strengthU", int "strengthV", bool "planar")


clip   =
Input clip.


int  mode = 2
int  modeU = mode
int  modeV = modeU
Independently control the processing mode for each plane.
  • -1 : Bypass - input plane is trashed thus faster than mode 1
  • 0 : Copy - input plane is left intact
  • 1 :
  • 2 : Default
  • 3 :
  • 4 :
  • 5 :
  • 6 :
  • 7 :
  • 8 :
  • 9 :
  • 10 : Copy - input plane is left intact
  • 11 : Copy - input plane is left intact
  • 12 : Copy - input plane is left intact
  • 13 : Copy - input plane is left intact
  • 14 : Copy - input plane is left intact
  • 15 : Copy - input plane is left intact
  • 16 :
  • 17 :
  • 18 : Copy - input plane is left intact
  • 19 : Copy - input plane is left intact
  • 20 : Copy - input plane is left intact
  • 21 :
  • 22 :
By default if modeU is not set it defaults to the value of mode. If modeV is not set it defaults to the value of modeU


int  strength = 1
int  strengthU = strength
int  strengthV = strengthU
Independently control the strength for each plane.
  • 0 : Sharpen with the full length. This may create artifacts.
  • 1 : Sharpen with half the length. This may avoid artifacts.
  • 2 : Sharpen with 1/4 of the length. This value doesn't make much sense.
By default if strengthU is not set it defaults to the value of strength. If strengthV is not set it defaults to the value of strengthU


bool  planar = false
See SSETools Interleaved2Planar.


[edit] Examples

DenoiseSharpen with default values:

AviSource("Blah.avi")
DenoiseSharpen(mode=2, modeY=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false)


[edit] External Links




Back to DenoiseSharpen

Personal tools