RemoveGrain v1.0b/RSharpen/RSharpen: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
mNo edit summary |
m minor |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{FilterCat4|External_filters|Plugin_functions|Adjustment_filters|Sharpeners}} | |||
'''Back to [[RemoveGrain_v1.0b/RSharpen|RSharpen]] ←''' | '''Back to [[RemoveGrain_v1.0b/RSharpen|RSharpen]] ←''' | ||
== Description == | == Description == | ||
A spatial sharpening function. RSharpen 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 | |||
* Supported color formats: [[YUY2]], [[YV12]] | |||
<br> | <br> | ||
== Syntax and Parameters == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|RSharpen (''clip'', ''int'' "mode", ''int'' "modeU", ''int'' "modeV", ''int'' "strength", ''int'' "strengthU", ''int'' "strengthV", ''bool'' "planar")}} | :{{Template:FuncDef|RSharpen (''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 62: | Line 66: | ||
RSharpen(mode=2, modeU=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false) | RSharpen(mode=2, modeU=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false) | ||
<br> | <br> | ||
== Links == | ==External Links == | ||
<br> | <br> | ||
<br> | <br> | ||
----------------------------------------------- | ----------------------------------------------- | ||
'''Back to [[RemoveGrain_v1.0b/RSharpen|RSharpen]] ←''' | '''Back to [[RemoveGrain_v1.0b/RSharpen|RSharpen]] ←''' | ||
Latest revision as of 23:52, 21 September 2014
Back to RSharpen ←
Description
A spatial sharpening function. RSharpen has 22 valid modes but only 13 actually do any processing.
Requirements
- Progressive input only
- Supported color formats: YUY2, YV12
- RSharpen (clip, int "mode", int "modeU", int "modeV", int "strength", int "strengthU", int "strengthV", bool "planar")
- clip =
- Input clip
- clip =
- 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") RSharpen(mode=2, modeU=2, modeV=2, strength=1, strengthU=1, strengthV=1, planar=false)
External Links
Back to RSharpen ←