RemoveGrain v1.0b/DenoiseSharpen/DenoiseSharpen
From Avisynth wiki
(Difference between revisions)
(DenoiseSharpen) |
m |
||
Line 9: | Line 9: | ||
<br> | <br> | ||
== Syntax and Parameters == | == 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> | <br> | ||
::{{Par2|mode |int|2}} | ::{{Par2|mode |int|2}} | ||
Line 19: | Line 19: | ||
::::*0 : Copy - input plane is left intact | ::::*0 : Copy - input plane is left intact | ||
::::*1 : | ::::*1 : | ||
− | ::::*2 : | + | ::::*2 : Default |
::::*3 : | ::::*3 : | ||
::::*4 : | ::::*4 : | ||
Line 60: | Line 60: | ||
ClenseSharpen with default values: | ClenseSharpen with default values: | ||
[[AviSource]]("Blah.avi") | [[AviSource]]("Blah.avi") | ||
− | + | DenoiseSharpen(mode=2, modeY=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false) | |
<br> | <br> | ||
== Links == | == Links == |
Revision as of 05:03, 20 January 2014
Back to DenoiseSharpen ←
Contents |
Description
- A spatial denoising and sharpening function. DenoiseSharpen has 22 valid modes but only 13 actually do any processing.
Requirements
- - Progressive input only
- - Supported color formats: YUY2, YV12
Syntax and Parameters
- DenoiseSharpen (clip, int "mode", int "modeU", int "modeV", int "strength", int "strengthU", int "strengthV", bool "planar")
- int mode = 2
- int modeU = mode
- int modeV = modeU
- Independently control the processing mode for each plane.
- int mode = 2
- -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.
- int strength = 1
- 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.
- bool planar = false
Examples
ClenseSharpen with default values:
AviSource("Blah.avi") DenoiseSharpen(mode=2, modeY=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false)
Links
Back to DenoiseSharpen ←