Difference between revisions of "Documentation:Modules/gradient"

From VideoLAN Wiki
Jump to navigation Jump to search
(New page: {{Module|name=gradient|type=Video filter|first_version=0.9.0|description=apply gradients and edge detection filters}} Use this filter to apply gradients or do simple edge detection algori...)
 
m
Line 3: Line 3:
 
Use this filter to apply gradients or do simple edge detection algorithms to the video image.
 
Use this filter to apply gradients or do simple edge detection algorithms to the video image.
  
 +
== Options ==
 
{{Option
 
{{Option
 
|name=gradient-mode
 
|name=gradient-mode
Line 23: Line 24:
 
}}
 
}}
  
Example use:
+
== Example ==
 
  % '''vlc --video-filter "gradient{type=1}" somevideo.avi'''
 
  % '''vlc --video-filter "gradient{type=1}" somevideo.avi'''
  
Screenshots:
+
== Screenshots ==
 
http://photos.cellerier.net/d/406-1/vlcsnap-8120371.png
 
http://photos.cellerier.net/d/406-1/vlcsnap-8120371.png
 
http://photos.cellerier.net/d/397-1/vlcsnap-10589245.png
 
http://photos.cellerier.net/d/397-1/vlcsnap-10589245.png
  
 
'''Note:''' In versions prior to 0.9.0, this was part of the distort video filter.
 
'''Note:''' In versions prior to 0.9.0, this was part of the distort video filter.

Revision as of 13:00, 22 January 2008

Module: gradient
Type Video filter
First VLC version 0.9.0
Last VLC version -
Operating system(s) all
Description apply gradients and edge detection filters
Shortcut(s) -

Use this filter to apply gradients or do simple edge detection algorithms to the video image.

Options

  • gradient-mode <string> : One of "gradient", "edge" or "hough". default value: gradient
  • gradient-type <integer> : 0 to discard colors, 1 to keep colors. default value: 0
  • gradient-cartoon : Apply a cartoon effect. default value: enabled

Example

% vlc --video-filter "gradient{type=1}" somevideo.avi

Screenshots

vlcsnap-8120371.png vlcsnap-10589245.png

Note: In versions prior to 0.9.0, this was part of the distort video filter.