AWarpsharp2/aSobel: Difference between revisions
From Avisynth wiki
Jump to navigationJump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]]''' | '''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←''' | ||
------------------------------------------------- | |||
<br> | |||
<br> | |||
== Description == | == Description == | ||
An edge dectecion filter. | An edge dectecion filter. | ||
<br> | |||
<br> | |||
== Syntax and Parameters == | == Syntax and Parameters == | ||
:{{Template:FuncDef|aSobel(int "thresh", int "chroma")}} | :{{Template:FuncDef|aSobel (''clip'', ''int'' "thresh", ''int'' "chroma")}} | ||
<br> | <br> | ||
::{{ | ::{{Par2|thresh|int|128}} | ||
:::Range: 0 to 255<br> | :::Range: 0 to 255<br> | ||
::::Saturation limit for edge detection. Reduce for less aggressive sharpening. | ::::Saturation limit for edge detection. Reduce for less aggressive sharpening. | ||
<br> | <br> | ||
::{{ | ::{{Par2|chroma|int|1}} | ||
:::Processing mode for chroma planes (U and V): | ::::Processing mode for chroma planes (U and V): | ||
::::* 0 : fill with zeroes | :::::* 0 : fill with zeroes | ||
::::* 1 : don't care | :::::* 1 : don't care | ||
::::* 2 : copy | :::::* 2 : copy | ||
::::* 3 : process | :::::* 3 : process | ||
::::* 4 : guide by luma | :::::* 4 : guide by luma | ||
::::* 5 : same as 3, but don't process luma | :::::* 5 : same as 3, but don't process luma | ||
::::* 6 : same as 4, but don't process luma | :::::* 6 : same as 4, but don't process luma | ||
<br> | |||
== Examples == | |||
aSobel with default values. | |||
AVISource("blah.avi") | |||
aSobel(thresh=128, chroma=1) | |||
<br> | |||
<br> | |||
------------------------------------------------ | |||
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←''' | |||
Revision as of 15:42, 29 January 2014
Back to aWarpSharp2 ←
Description
An edge dectecion filter.
Syntax and Parameters
- aSobel (clip, int "thresh", int "chroma")
- int thresh = 128
- Range: 0 to 255
- Saturation limit for edge detection. Reduce for less aggressive sharpening.
- Range: 0 to 255
- int thresh = 128
- 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 ←