summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Buxton <paulbuxton.mail@googlemail.com>2021-08-28 16:17:27 +0100
committerPaul B Mahol <onemda@gmail.com>2021-08-29 13:31:37 +0200
commite07ada3dac9c2e37c425741ee512676625d677ba (patch)
tree05a54628706bc15b252d745ccf7c72203b8e2f23 /doc
parent02fcd485f91e468638198ba05847af514ae58df9 (diff)
avfilter: add grayworld video filter
Implements a gray world color correction algorithm using a log scale LAB colorspace. Signed-off-by: Paul Buxton <paulbuxton.mail@googlemail.com> Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/filters.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi
index 5a17d00ece..9ad6031d23 100644
--- a/doc/filters.texi
+++ b/doc/filters.texi
@@ -13091,6 +13091,18 @@ Set upper limit for video rate of output stream, Default value is @var{25}.
This guarantee that output video frame rate will not be higher than this value.
@end table
+@section grayworld
+A color constancy filter that applies color correction based on the grayworld assumption
+
+See: @url{https://www.researchgate.net/publication/275213614_A_New_Color_Correction_Method_for_Underwater_Imaging}
+
+The algorithm uses linear light, so input
+data should be linearized beforehand (and possibly correctly tagged).
+
+@example
+ffmpeg -i INPUT -vf zscale=transfer=linear,grayworld,zscale=transfer=bt709,format=yuv420p OUTPUT
+@end example
+
@section greyedge
A color constancy variation filter which estimates scene illumination via grey edge algorithm
and corrects the scene colors accordingly.