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        Current pre-release: 3.5.0 (2024/12/18)

Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  div◀  deg2rad    |    eq  ▶

div

Built-in command

Arguments:

Description:

Divide selected images by specified value, image or mathematical expression, or compute the pointwise quotient of selected images.

(equivalent to shortcut command /).

Examples of use:

• Example #1

image.jpg div '1+abs(cos(x/10)*sin(y/10))'

Command: image.jpg div '1+abs(cos(x/10)*sin(y/10))'

• Example #2

image.jpg +norm add[-1] 1 +div

Command: image.jpg +norm add[-1] 1 +div
Command: image.jpg +norm add[-1] 1 +div
Command: image.jpg +norm add[-1] 1 +div
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.