Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  div◀  cosh    |    div_complex  ▶

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

$ gmic 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

$ gmic 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