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  ▸  Filtering  ▸  gradient◀  fft    |    gradient_norm  ▶

gradient

Arguments:

Description:

Compute the gradient components (first derivatives) of selected images, along specified axes.

(equivalent to shortcut command g).


scheme can be { -1:backward | 0:centered | 1:forward | 2:sobel | 3:rotation-invariant (default) | 4:deriche | 5:vanvliet }.
boundary_conditions can be { 0:dirichlet | 1:neumann | 2:periodic | 3:mirror }.
(no arg) compute all significant components.

Default values:

scheme=0 and boundary_conditions=1.

This command has a tutorial page.

Example of use:

image.jpg gradient

Command: image.jpg gradient
Command: image.jpg gradient
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.