extract_region
Arguments:
- [label_image],_extract_xyz_coordinates={ 0 | 1 },_label_1,...,_label_M
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