G'MIC - GREYC's Magic for Image Computing: A Full-Featured Open-Source Framework for Image Processing
Banner Institutions GREYC CNRS ENSICAEN UNICAEN

A Full-Featured Open-Source Framework for Image Processing



Latest stable version: 4.0.4 (2026/08/19)

Reference
Table of Contents  ▸  List of Commands  ▸  Reptorian's Commands  ▸  rep_autofill_coloring_book◀  rep_acb    |    rep_reverse_engineer_color_curves  ▶

rep_autofill_coloring_book

Arguments:

  • 0=0,_color_mode={ 0=hard | 1= soft },0<=_alpha_threshold<1,_seed

Description:

rep_autofill_coloring_book is used for automatically coloring pictures with lines.


_threshold defines the value that is to be split into binary values. If it over _threshold, then it becomes 1.
_dilate_erode defines the increase/decrease in line. Values over 0 implies increase in thickness while values less than 1 implies decrease in thickness.
_color_mode defines whether the black line is going to be black or smooth.
_alpha threshold defines the value of alpha to be cutoff by percentage
_seed can be seen as premade random result.

Default values:

_threshold=128,_dilate_erode=0,_color_mode=1,_alpha_threshold=0,_seed=

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.