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.4.4 (2024/11/20)

Reference

Table of Contents  ▸  List of Commands  ▸  Flow Control  ▸  repeat◀  quit    |    return  ▶

repeat

Built-in command

Arguments:

Description:

Start nb_iterations iterations of a repeat...done block.

nb_iterations is a mathematical expression that will be evaluated.

This command has a tutorial page.

Examples of use:

• Example #1

image.jpg split y repeat $! n=$> shift[$n] $<,0,0,0,2 done append y

Command: image.jpg split y repeat $! n=$> shift[$n] $<,0,0,0,2 done append y

• Example #2

image.jpg mode3d 2 repeat 4 imagecube3d rotate3d 1,1,0,40 snapshot3d 400,1.4 done

Command: image.jpg mode3d 2 repeat 4 imagecube3d rotate3d 1,1,0,40 snapshot3d 400,1.4 done
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.