diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-07-26 19:45:53 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-08-16 22:03:32 +0200 |
commit | 3250231a0292d716afd9d1ad25fc39bacda17f67 (patch) | |
tree | 2f034d588ef578c62991381f47f111f365114030 /doc/filters.texi | |
parent | 12d2bbf324e238cdc4adaca88116897b78e37817 (diff) | |
download | ffmpeg-3250231a0292d716afd9d1ad25fc39bacda17f67.tar.gz |
lavfi: add edgedetect filter.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r-- | doc/filters.texi | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index f4c895a3fe..e6279bd4d7 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -1929,6 +1929,33 @@ For more information about libfreetype, check: For more information about fontconfig, check: @url{http://freedesktop.org/software/fontconfig/fontconfig-user.html}. +@section edgedetect + +Detect and draw edges. The filter uses the Canny Edge Detection algorithm. + +This filter accepts the following optional named parameters: + +@table @option +@item low, high +Set low and high threshold values used by the Canny thresholding +algorithm. + +The high threshold selects the "strong" edge pixels, which are then +connected through 8-connectivity with the "weak" edge pixels selected +by the low threshold. + +@var{low} and @var{high} threshold values must be choosen in the range +[0,1], and @var{low} should be lesser or equal to @var{high}. + +Default value for @var{low} is @code{20/255}, and default value for @var{high} +is @code{50/255}. +@end table + +Example: +@example +edgedetect=low=0.1:high=0.4 +@end example + @section fade Apply fade-in/out effect to input video. |