diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-04-14 22:16:51 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-04-18 15:30:10 +0000 |
commit | 449cdd547b30b9190c11892ccb2d52f7dd2d84ed (patch) | |
tree | 9a9e435fed6a9cf343953812f168fb806118be4f /doc | |
parent | 3e9c0217fdd3f7a668c48b89361e0b970c29db56 (diff) | |
download | ffmpeg-449cdd547b30b9190c11892ccb2d52f7dd2d84ed.tar.gz |
colorbalance filter
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/filters.texi | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/filters.texi b/doc/filters.texi index adf6000935..56c722da7e 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2051,6 +2051,46 @@ boxblur=luma_radius=min(h\,w)/10:luma_power=1:chroma_radius=min(cw\,ch)/10:chrom @end example @end itemize +@section colorbalance +Modify intensity of primary colors (red, green and blue) of input frames. + +The filter allows an input frame to be adjusted in the shadows, midtones or highlights +regions for the red-cyan, green-magenta or blue-yellow balance. + +A positive adjustment value shifts the balance towards the primary color, a negative +value towards the complementary color. + +The filter accepts the following options: + +@table @option +@item rs +@item gs +@item bs +Adjust red, green and blue shadows (darkest pixels). + +@item rm +@item gm +@item bm +Adjust red, green and blue midtones (medium pixels). + +@item rh +@item gh +@item bh +Adjust red, green and blue highlights (brightest pixels). + +Allowed ranges for options are @code{[-1.0, 1.0]}. Defaults are @code{0}. +@end table + +@subsection Examples + +@itemize +@item +Add red color cast to shadows: +@example +colorbalance=rs=.3 +@end example +@end itemize + @section colormatrix Convert color matrix. |