G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.4.3 (2024/10/11)

Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  add◀  acosh    |    and  ▶

add

Built-in command

Arguments:

Description:

Add specified value, image or mathematical expression to selected images, or compute the pointwise sum of selected images.

(equivalent to shortcut command +).

Examples of use:

• Example #1

image.jpg +add 30% cut 0,255

Command: image.jpg +add 30% cut 0,255
Command: image.jpg +add 30% cut 0,255

• Example #2

image.jpg +blur 5 normalize 0,255 add[1] [0]

Command: image.jpg +blur 5 normalize 0,255 add[1] [0]
Command: image.jpg +blur 5 normalize 0,255 add[1] [0]

• Example #3

image.jpg add '80*cos(80*(x/w-0.5)*(y/w-0.5)+c)' cut 0,255

Command: image.jpg add '80*cos(80*(x/w-0.5)*(y/w-0.5)+c)' cut 0,255

• Example #4

image.jpg repeat 9 { +rotate[0] {$>*36},1,0,50%,50% } add div 10

Command: image.jpg repeat 9 { +rotate[0] {$>*36},1,0,50%,50% } add div 10
G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing

G'MIC is an open-source software distributed under the CeCILL free software licenses (LGPL-like and/or
GPL-compatible). Copyrights (C) Since July 2008, David Tschumperlé - GREYC UMR CNRS 6072, Image Team.