From 4457f75c65cbc4cabdedc890b78d2ecf1bb8ccdd Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 15 Apr 2020 12:10:30 +0200 Subject: avfilter: add maskedthreshold filter --- doc/filters.texi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc') diff --git a/doc/filters.texi b/doc/filters.texi index cc09fee5dd..80c33f5edb 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -13258,6 +13258,27 @@ copied from first stream. By default value 0xf, all planes will be processed. @end table +@section maskedthreshold +Pick pixels comparing absolute difference of two video streams with fixed +threshold. + +If absolute difference between pixel component of first and second video +stream is equal or lower than user supplied threshold than pixel component +from first video stream is picked, otherwise pixel component from second +video stream is picked. + +This filter accepts the following options: +@table @option +@item threshold +Set threshold used when picking pixels from absolute difference from two input +video streams. + +@item planes +Set which planes will be processed as bitmap, unprocessed planes will be +copied from second stream. +By default value 0xf, all planes will be processed. +@end table + @section maskfun Create mask from input video. -- cgit v1.2.3