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  ▸  Values Manipulation  ▸  index◀  fill    |    inrange  ▶

index

Built-in command

Arguments:

Description:

Index selected vector-valued images by specified vector-valued palette.

palette_name can be { default | hsv | lines | hot | cool | jet | flag | cube | rainbow | algae | amp |balance | curl | deep | delta | dense | diff | haline | ice | matter | oxy | phase | rain | solar | speed | tarn |tempo | thermal | topo | turbid | aurora | hocuspocus | srb2 | uzebox }

Default values:

dithering=0 and map_palette=0.

This command has a tutorial page.

Examples of use:

• Example #1

$ gmic image.jpg +index 1,1,1

Command: image.jpg +index 1,1,1
Command: image.jpg +index 1,1,1

• Example #2

$ gmic image.jpg (0;255;255^0;128;255^0;0;255) +index[-2] [-1],1,1

Command: image.jpg (0;255;255^0;128;255^0;0;255) +index[-2] [-1],1,1
Command: image.jpg (0;255;255^0;128;255^0;0;255) +index[-2] [-1],1,1
Command: image.jpg (0;255;255^0;128;255^0;0;255) +index[-2] [-1],1,1
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.