mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
doc/filters: improve pseudocolor example
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
094d4d8691
commit
473e18fdba
@ -11851,7 +11851,7 @@ All expressions default to "val".
|
||||
@item
|
||||
Change too high luma values to gradient:
|
||||
@example
|
||||
pseudocolor='if(between(val,ymax,amax),lerp(ymin,ymax,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(umax,umin,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(vmin,vmax,(val-ymax)/(amax-ymax)),-1):-1'
|
||||
pseudocolor="'if(between(val,ymax,amax),lerp(ymin,ymax,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(umax,umin,(val-ymax)/(amax-ymax)),-1):if(between(val,ymax,amax),lerp(vmin,vmax,(val-ymax)/(amax-ymax)),-1):-1'"
|
||||
@end example
|
||||
@end itemize
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user