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  ▸  Features Extraction  ▸  label◀  isophotes    |    label_fg  ▶

label

Built-in command

Arguments:

Description:

Label connected components in selected images.

Default values:

tolerance=0, is_high_connectivity=0 and is_L2_norm=1.

This command has a tutorial page.

Examples of use:

• Example #1

$ gmic image.jpg luminance threshold 60% label normalize 0,255 map 0

Command: image.jpg luminance threshold 60% label normalize 0,255 map 0

• Example #2

$ gmic 400,400 set 1,50%,50% distance 1 mod 16 threshold 8 label mod 255 map 2

Command: 400,400 set 1,50%,50% distance 1 mod 16 threshold 8 label mod 255 map 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.