Table of Contents ▸ List of Commands ▸ Mathematical Operators ▸ abscut | ◀ abs | acos ▶ |
abscut | Built-in command |
Arguments:
- min,_max,_offset
Description:
Cut the absolute values of pixel values in selected images, with specified range.For each value i of the selected images, compute cut(abs(i) + offset,min,max)*sign(i).
Thus, it only clamp/shift the absolute value of each pixel value while keeping its sign unchanged.
Default values:
max=inf and offset=0.
Example of use:
300,1,1,1,'cos(20*x/w)' +abscut 0,0.5 append c display_graph 400,300
