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  ▸  Geometry Manipulation  ▸  extract_region◀  extract    |    montage  ▶

extract_region

Arguments:

Description:

Extract all pixels of selected images whose corresponding label in [label_image] is equal to label_m,

and output them as M column images.

Default values:

extract_xyz_coordinates=0.

Example of use:

$ gmic image.jpg +blur 3 quantize. 4,0 +extract_region[0] [1],0,1,3

Command: image.jpg +blur 3 quantize. 4,0 +extract_region[0] [1],0,1,3
Command: image.jpg +blur 3 quantize. 4,0 +extract_region[0] [1],0,1,3
Command: image.jpg +blur 3 quantize. 4,0 +extract_region[0] [1],0,1,3
Command: image.jpg +blur 3 quantize. 4,0 +extract_region[0] [1],0,1,3
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.