summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-07-26 19:45:53 +0200
committerClément Bœsch <ubitux@gmail.com>2012-08-16 22:03:32 +0200
commit3250231a0292d716afd9d1ad25fc39bacda17f67 (patch)
tree2f034d588ef578c62991381f47f111f365114030 /doc/filters.texi
parent12d2bbf324e238cdc4adaca88116897b78e37817 (diff)
lavfi: add edgedetect filter.
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi27
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.