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