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.1.5

Reference

Table of Contents  ▸  List of Commands  ▸  Mathematical Operators  ▸  pow◀  or    |    rad2deg  ▶

pow

Built-in command

Arguments:

Description:

Raise selected images to the power of specified value, image or mathematical expression, or compute the pointwise sequential powers of selected images.

(equivalent to shortcut command ^).

Examples of use:

• Example #1

$ gmic image.jpg div 255 +pow 0.5 mul 255

Command: image.jpg div 255 +pow 0.5 mul 255
Command: image.jpg div 255 +pow 0.5 mul 255

• Example #2

$ gmic image.jpg gradient pow 2 add pow 0.2

Command: image.jpg gradient pow 2 add pow 0.2
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.