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

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 3.6.1 (2025/08/26)

Reference
Table of Contents  ▸  List of Commands  ▸  Features Extraction  ▸  displacement◀  detect_skin    |    distance  ▶

displacement

Built-in command

Arguments:

  • [reference],_smoothness>=0,_precision>=0,_nb_scales>=0,_iteration_max>=0,mode={ 0:Backward | 1:Forward },_[guide]

Description:

Estimate displacement field between specified reference image and selected (target) images.

If smoothness>=0, regularization type is set to isotropic, else to anisotropic.
If nbscales==0, the number of scales used is estimated from the image size.

Default values:

smoothness=0.1, precision=7, nb_scales=0, iteration_max=1000, mode=0 and [guide]=(unused).

Example of use:

image.jpg +rotate 3,1,0,50%,50% +displacement[-1] [-2] quiver[-1] [-1],15,1,1,1,{1.5*iM}

Command: image.jpg +rotate 3,1,0,50%,50% +displacement[-1] [-2] quiver[-1] [-1],15,1,1,1,{1.5*iM}
Command: image.jpg +rotate 3,1,0,50%,50% +displacement[-1] [-2] quiver[-1] [-1],15,1,1,1,{1.5*iM}
Command: image.jpg +rotate 3,1,0,50%,50% +displacement[-1] [-2] quiver[-1] [-1],15,1,1,1,{1.5*iM}
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.