.. _eu.gmic.Colorizelineartsmartcoloring:

G’MIC Colorize lineart smart coloring node
==========================================

*This documentation is for version 1.0 of G’MIC Colorize lineart smart coloring.*

Description
-----------

Wrapper for the G’MIC framework (http://gmic.eu) written by Tobias Fleischer (http://www.reduxfx.com) and Frederic Devernay.

Inputs
------

+--------+-------------+----------+
| Input  | Description | Optional |
+========+=============+==========+
| Source |             | No       |
+--------+-------------+----------+

Controls
--------

.. tabularcolumns:: |>{\raggedright}p{0.2\columnwidth}|>{\raggedright}p{0.06\columnwidth}|>{\raggedright}p{0.07\columnwidth}|p{0.63\columnwidth}|

.. cssclass:: longtable

+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Parameter / script name                                               | Type    | Default                      | Function                                               |
+=======================================================================+=========+==============================+========================================================+
| Colorize mode / ``Colorize_mode``                                     | Choice  | Generate random-colors layer | |                                                      |
|                                                                       |         |                              | | **Generate random-colors layer**                     |
|                                                                       |         |                              | | **Extrapolate color spots on transparent top layer** |
|                                                                       |         |                              | | **Auto-clean bottom color layer**                    |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Contour detection (%) / ``Contour_detection_``                        | Double  | 95                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Contour erosion / ``Contour_erosion``                                 | Integer | 0                            |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Discard contour guides / ``Discard_contour_guides``                   | Boolean | Off                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Output region delimiters / ``Output_region_delimiters``               | Boolean | Off                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Make hue depends on region size / ``Make_hue_depends_on_region_size`` | Double  | 1                            |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Maximal color saturation / ``Maximal_color_saturation``               | Integer | 24                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Minimal color intensity / ``Minimal_color_intensity``                 | Integer | 200                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Color shading (%) / ``Color_shading_``                                | Integer | 0                            |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| End point rate (%) / ``End_point_rate_``                              | Double  | 85                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| End point connectivity / ``End_point_connectivity``                   | Integer | 2                            |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Spline max length (px) / ``Spline_max_length_px``                     | Double  | 60                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Segment max length (px) / ``Segment_max_length_px``                   | Double  | 20                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Spline max angle (deg) / ``Spline_max_angle_deg``                     | Double  | 90                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Spline roundness / ``Spline_roundness``                               | Double  | 1                            |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Minimal region area / ``Minimal_region_area``                         | Double  | 10                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Allow self intersections / ``Allow_self_intersections``               | Boolean | On                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Detection rate / ``Detection_rate``                                   | Double  | 0                            |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Max segment curvature (deg) / ``Max_segment_curvature_deg``           | Double  | 20                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Max grouping distance (px) / ``Max_grouping_distance_px``             | Double  | 64                           |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Max grouping angle (deg) / ``Max_grouping_angle_deg``                 | Double  | 7.5                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Max grouping ratio / ``Max_grouping_ratio``                           | Double  | 0.5                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Preview type / ``Preview_type``                                       | Choice  | Colored geometry             | |                                                      |
|                                                                       |         |                              | | **Colored geometry**                                 |
|                                                                       |         |                              | | **Colored regions**                                  |
|                                                                       |         |                              | | **Colored lineart**                                  |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Output Layer / ``Output_Layer``                                       | Choice  | Layer 0                      | |                                                      |
|                                                                       |         |                              | | **Merged**                                           |
|                                                                       |         |                              | | **Layer 0**                                          |
|                                                                       |         |                              | | **Layer -1**                                         |
|                                                                       |         |                              | | **Layer -2**                                         |
|                                                                       |         |                              | | **Layer -3**                                         |
|                                                                       |         |                              | | **Layer -4**                                         |
|                                                                       |         |                              | | **Layer -5**                                         |
|                                                                       |         |                              | | **Layer -6**                                         |
|                                                                       |         |                              | | **Layer -7**                                         |
|                                                                       |         |                              | | **Layer -8**                                         |
|                                                                       |         |                              | | **Layer -9**                                         |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Resize Mode / ``Resize_Mode``                                         | Choice  | Dynamic                      | |                                                      |
|                                                                       |         |                              | | **Fixed (Inplace)**                                  |
|                                                                       |         |                              | | **Dynamic**                                          |
|                                                                       |         |                              | | **Downsample 1/2**                                   |
|                                                                       |         |                              | | **Downsample 1/4**                                   |
|                                                                       |         |                              | | **Downsample 1/8**                                   |
|                                                                       |         |                              | | **Downsample 1/16**                                  |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Ignore Alpha / ``Ignore_Alpha``                                       | Boolean | Off                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Preview/Draft Mode / ``PreviewDraft_Mode``                            | Boolean | Off                          |                                                        |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
| Log Verbosity / ``Log_Verbosity``                                     | Choice  | Off                          | |                                                      |
|                                                                       |         |                              | | **Off**                                              |
|                                                                       |         |                              | | **Level 1**                                          |
|                                                                       |         |                              | | **Level 2**                                          |
|                                                                       |         |                              | | **Level 3**                                          |
+-----------------------------------------------------------------------+---------+------------------------------+--------------------------------------------------------+
