From b17e98ded0e2489427009acc7f8a8fffaa1ff075 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sat, 3 May 2014 17:41:32 +0200 Subject: avfilter/edgedetect: add a colormix mode. --- doc/filters.texi | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index 93548e1a7a..923551f210 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -3990,13 +3990,37 @@ by the low threshold. Default value for @var{low} is @code{20/255}, and default value for @var{high} is @code{50/255}. + +@item mode +Define the drawing mode. + +@table @samp +@item wires +Draw white/gray wires on black background. + +@item colormix +Mix the colors to create a paint/cartoon effect. +@end table + +Default value is @var{wires}. @end table -Example: +@subsection Examples + +@itemize +@item +Standard edge detection with custom values for the hysteresis thresholding: @example edgedetect=low=0.1:high=0.4 @end example +@item +Painting effect without thresholding: +@example +edgedetect=mode=colormix:high=0 +@end example +@end itemize + @section extractplanes Extract color channel components from input video stream into -- cgit v1.2.3