| 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


Home
Download
News
Mastodon
Bluesky
X
Summary - 17 Years
Summary - 16 Years
Summary - 15 Years
Summary - 13 Years
Summary - 11 Years
Summary - 10 Years
Resources
Technical Reference
Scripting Tutorial
Video Tutorials
Wiki Pages
Image Gallery
Color Presets
Using libgmic
G'MIC Online
Community
Discussion Forum (Pixls.us)
GimpChat
IRC
Report Issue