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  ▸  Colors  ▸  split_colors◀  solarize    |    split_opacity  ▶

split_colors

Arguments:

Description:

Split selected images as several image containing a single color.

One selected image can be split as at most max_nb_outputs images.
Output images are sorted by decreasing area of extracted color regions and have an additional alpha-channel.

Default values:

tolerance=0, max_nb_outputs=256 and min_area=8.

Example of use:

$ gmic image.jpg quantize 5 +split_colors , display_rgba

Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
Command: image.jpg quantize 5 +split_colors , display_rgba
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.