Commit 71907f25 authored by Paul B Mahol's avatar Paul B Mahol

doc/filters: add pseudocolor example

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 3ddd1029
......@@ -11833,6 +11833,16 @@ The maximum allowed component value.
All expressions default to "val".
@subsection Examples
@itemize
@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'
@end example
@end itemize
@section psnr
Obtain the average, maximum and minimum PSNR (Peak Signal to Noise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment