mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
doc/filters: add RGB geq example
This commit is contained in:
parent
281fc4e958
commit
6e7c534955
1 changed files with 6 additions and 0 deletions
|
|
@ -4111,6 +4111,12 @@ Generate a quick emboss effect:
|
|||
@example
|
||||
format=gray,geq=lum_expr='(p(X,Y)+(256-p(X-4,Y-4)))/2'
|
||||
@end example
|
||||
|
||||
@item
|
||||
Modify RGB components depending on pixel position:
|
||||
@example
|
||||
geq=r='X/W*r(X,Y)':g='(1-X/W)*g(X,Y)':b='(H-Y)/H*b(X,Y)'
|
||||
@end example
|
||||
@end itemize
|
||||
|
||||
@section gradfun
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue