AWarpsharp2/aSobel: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
m category |
m minor formatting |
||
| Line 1: | Line 1: | ||
{{FilterCat4|External_filters|Plugin_functions|Other_filters|Edge_detection}} | |||
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←''' | '''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←''' | ||
------------------------------------------------- | ------------------------------------------------- | ||
<br> | <br> | ||
== Description == | == Description == | ||
| Line 9: | Line 8: | ||
<br> | <br> | ||
<br> | <br> | ||
== Syntax and Parameters == | == [[Script variables|Syntax and Parameters]] == | ||
:{{Template:FuncDef|aSobel (''clip'', ''int'' "thresh", ''int'' "chroma")}} | :{{Template:FuncDef|aSobel (''clip'', ''int'' "thresh", ''int'' "chroma")}} | ||
<br> | |||
::{{Par2| |clip| }} | |||
:::Input clip. | |||
<br> | <br> | ||
::{{Par2|thresh|int|128}} | ::{{Par2|thresh|int|128}} | ||
:::Saturation limit for edge detection. Reduce for less aggressive sharpening. | |||
:::Range: 0 to 255<br> | :::Range: 0 to 255<br> | ||
<br> | <br> | ||
::{{Par2|chroma|int|1}} | ::{{Par2|chroma|int|1}} | ||
:::Processing mode for chroma planes (U and V): | |||
::::* 0 : fill with zeroes | |||
::::* 1 : don't care | |||
::::* 2 : copy | |||
::::* 3 : process | |||
::::* 4 : guide by luma | |||
::::* 5 : same as 3, but don't process luma | |||
::::* 6 : same as 4, but don't process luma | |||
<br> | <br> | ||
== Examples == | == Examples == | ||
aSobel with default values | aSobel with default values: | ||
[[AviSource]]("blah.avi") | [[AviSource]]("blah.avi") | ||
aSobel(thresh=128, chroma=1) | aSobel(thresh=128, chroma=1) | ||
<br> | <br> | ||
------------------------------------------------ | ------------------------------------------------ | ||
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←''' | '''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←''' | ||
Revision as of 09:18, 21 September 2014
Back to aWarpSharp2 ←
Description
An edge dectecion filter.
- aSobel (clip, int "thresh", int "chroma")
- clip =
- Input clip.
- clip =
- int thresh = 128
- Saturation limit for edge detection. Reduce for less aggressive sharpening.
- int thresh = 128
- Range: 0 to 255
- Range: 0 to 255
- int chroma = 1
- Processing mode for chroma planes (U and V):
- 0 : fill with zeroes
- 1 : don't care
- 2 : copy
- 3 : process
- 4 : guide by luma
- 5 : same as 3, but don't process luma
- 6 : same as 4, but don't process luma
- Processing mode for chroma planes (U and V):
- int chroma = 1
Examples
aSobel with default values:
AviSource("blah.avi") aSobel(thresh=128, chroma=1)
Back to aWarpSharp2 ←