summaryrefslogtreecommitdiff
path: root/doc/filters.texi
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-04-09 06:31:14 +0200
committerPaul B Mahol <onemda@gmail.com>2022-04-23 10:59:34 +0200
commit43ea19fef4ce233510df99f68f85548e834a1995 (patch)
treef812d321738fca511a86694c1c29d35a7a236f9f /doc/filters.texi
parentb1b7249606c3e29c2310e0665fd6985011e19772 (diff)
avfilter: add colormap video filter
Diffstat (limited to 'doc/filters.texi')
-rw-r--r--doc/filters.texi33
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.