AWarpsharp2/aSobel: Difference between revisions

From Avisynth wiki
Jump to navigationJump to search
m category
m minor formatting
Line 1: Line 1:
[[Category:Plugin_Filters]]
{{FilterCat4|External_filters|Plugin_functions|Other_filters|Edge_detection}}
[[Category:Edge Detection]]
 
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←'''
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] ←'''
-------------------------------------------------
-------------------------------------------------
<br>
<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>
::::Saturation limit for edge detection. Reduce for less aggressive sharpening.
<br>
<br>
::{{Par2|chroma|int|1}}
::{{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>
<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>
<br>
------------------------------------------------
------------------------------------------------
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] &larr;'''
'''Back to [[aWarpSharp2#Filters|aWarpSharp2]] &larr;'''

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.


int  thresh = 128
Saturation limit for edge detection. Reduce for less aggressive sharpening.
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


Examples

aSobel with default values:

AviSource("blah.avi")
aSobel(thresh=128, chroma=1)



Back to aWarpSharp2 ←