diff options
author | Paul Buxton <paulbuxton.mail@googlemail.com> | 2021-08-28 18:17:27 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2021-08-29 14:31:37 +0300 |
commit | e07ada3dac9c2e37c425741ee512676625d677ba (patch) | |
tree | 05a54628706bc15b252d745ccf7c72203b8e2f23 /doc | |
parent | 02fcd485f91e468638198ba05847af514ae58df9 (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.texi | 12 |
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. |