diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-04-09 06:31:14 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-04-23 10:59:34 +0200 |
commit | 43ea19fef4ce233510df99f68f85548e834a1995 (patch) | |
tree | f812d321738fca511a86694c1c29d35a7a236f9f /doc | |
parent | b1b7249606c3e29c2310e0665fd6985011e19772 (diff) | |
download | ffmpeg-43ea19fef4ce233510df99f68f85548e834a1995.tar.gz |
avfilter: add colormap video filter
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index 79cabcfd6c..92d0e976d8 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -8944,6 +8944,39 @@ colorlevels=romin=0.5:gomin=0.5:bomin=0.5 This filter supports the all above options as @ref{commands}. +@section colormap +Apply custom color maps to video stream. + +This filter needs three input video streams. +First stream is video stream that is going to be filtered out. +Second and third video stream specify color patches for source +color to target color mapping. + +The filter accepts the following options: + +@table @option +@item patch_size +Set the source and target video stream patch size in pixels. + +@item nb_patches +Set the max number of used patches from source and target video stream. + +@item type +Set the adjustments used for target colors. Can be @code{relative} or @code{absolute}. +Defaults is @code{absolute}. + +@item kernel +Set the kernel used to measure color differences between mapped colors. + +The accepted values are: +@table @samp +@item euclidean +@item weuclidean +@end table + +Default is @code{euclidean}. +@end table + @section colormatrix Convert color matrix. |