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>
::{{Par|thresh|int|128}}
::{{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>
::{{Par|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, default for aSobel and aBlur
:::::* 1 : don't care
::::* 2 : copy
:::::* 2 : copy
::::* 3 : process
:::::* 3 : process
::::* 4 : guide by luma - default for aWarpSharp, aWarp, and aWarp4 only
:::::* 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]] &larr;'''

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.


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 ←