.. _eu.gmic.CustomizeCLUT:

G’MIC Customize CLUT node
=========================

*This documentation is for version 1.0 of G’MIC Customize CLUT.*

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                        |
+===========================================================+=========+==========================================+=================================+
| Keypoint influence (%) / ``Keypoint_influence_``          | Double  | 100                                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Lock uniform sampling / ``Lock_uniform_sampling``         | Choice  | None                                     | |                               |
|                                                           |         |                                          | | **None**                      |
|                                                           |         |                                          | | **8 keypoints (RGB corners)** |
|                                                           |         |                                          | | **27 keypoints**              |
|                                                           |         |                                          | | **64 keypoints**              |
|                                                           |         |                                          | | **125 keypoints**             |
|                                                           |         |                                          | | **216 keypoints**             |
|                                                           |         |                                          | | **343 keypoints**             |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Spatial regularization / ``Spatial_regularization``       | Integer | 10                                       |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Brightness (%) / ``Brightness_``                          | Double  | 0                                        |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Contrast (%) / ``Contrast_``                              | Double  | 0                                        |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Gamma (%) / ``Gamma_``                                    | Double  | 0                                        |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Hue (%) / ``Hue_``                                        | Double  | 0                                        |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Saturation (%) / ``Saturation_``                          | Double  | 0                                        |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Post-normalize / ``Postnormalize``                        | Boolean | Off                                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Output corresponding CLUT / ``Output_corresponding_CLUT`` | Choice  | Disable                                  | |                               |
|                                                           |         |                                          | | **Disable**                   |
|                                                           |         |                                          | | **512x512 layer**             |
|                                                           |         |                                          | | **4096x4096 layer**           |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Preview type / ``Preview_type``                           | Choice  | 3D CLUT (fast)                           | |                               |
|                                                           |         |                                          | | **Full**                      |
|                                                           |         |                                          | | **Forward horizontal**        |
|                                                           |         |                                          | | **Forward vertical**          |
|                                                           |         |                                          | | **Backward horizontal**       |
|                                                           |         |                                          | | **Backward vertical**         |
|                                                           |         |                                          | | **Duplicate horizontal**      |
|                                                           |         |                                          | | **Duplicate vertical**        |
|                                                           |         |                                          | | **HaldCLUT**                  |
|                                                           |         |                                          | | **3D CLUT (fast)**            |
|                                                           |         |                                          | | **3D CLUT (precise)**         |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| CLUT opacity / ``CLUT_opacity``                           | Double  | 0.5                                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #1 / ``Action_1``                                  | Choice  | Lock source                              | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #1 / ``Source_color_1``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #1 / ``Target_color_1``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #2 / ``Action_2``                                  | Choice  | Lock source                              | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #2 / ``Source_color_2``                      | Color   | r: 1 g: 1 b: 1 a: 1                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #2 / ``Target_color_2``                      | Color   | r: 1 g: 0.768628 b: 0.501961 a: 0.501961 |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #3 / ``Action_3``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #3 / ``Source_color_3``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #3 / ``Target_color_3``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #4 / ``Action_4``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #4 / ``Source_color_4``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #4 / ``Target_color_4``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #5 / ``Action_5``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #5 / ``Source_color_5``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #5 / ``Target_color_5``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #6 / ``Action_6``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #6 / ``Source_color_6``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #6 / ``Target_color_6``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #7 / ``Action_7``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #7 / ``Source_color_7``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #7 / ``Target_color_7``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #8 / ``Action_8``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #8 / ``Source_color_8``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #8 / ``Target_color_8``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #9 / ``Action_9``                                  | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #9 / ``Source_color_9``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #9 / ``Target_color_9``                      | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #10 / ``Action_10``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #10 / ``Source_color_10``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #10 / ``Target_color_10``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #11 / ``Action_11``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #11 / ``Source_color_11``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #11 / ``Target_color_11``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #12 / ``Action_12``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #12 / ``Source_color_12``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #12 / ``Target_color_12``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #13 / ``Action_13``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #13 / ``Source_color_13``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #13 / ``Target_color_13``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #14 / ``Action_14``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #14 / ``Source_color_14``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #14 / ``Target_color_14``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #15 / ``Action_15``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #15 / ``Source_color_15``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #15 / ``Target_color_15``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #16 / ``Action_16``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #16 / ``Source_color_16``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #16 / ``Target_color_16``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #17 / ``Action_17``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #17 / ``Source_color_17``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #17 / ``Target_color_17``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #18 / ``Action_18``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #18 / ``Source_color_18``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #18 / ``Target_color_18``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #19 / ``Action_19``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #19 / ``Source_color_19``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #19 / ``Target_color_19``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #20 / ``Action_20``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #20 / ``Source_color_20``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #20 / ``Target_color_20``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #21 / ``Action_21``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #21 / ``Source_color_21``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #21 / ``Target_color_21``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #22 / ``Action_22``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #22 / ``Source_color_22``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #22 / ``Target_color_22``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #23 / ``Action_23``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #23 / ``Source_color_23``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #23 / ``Target_color_23``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Action #24 / ``Action_24``                                | Choice  | Ignore                                   | |                               |
|                                                           |         |                                          | | **Ignore**                    |
|                                                           |         |                                          | | **Lock source**               |
|                                                           |         |                                          | | **Replace source by target**  |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Source color #24 / ``Source_color_24``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| Target color #24 / ``Target_color_24``                    | Color   | r: 0 g: 0 b: 0 a: 0                      |                                 |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
| 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**                   |
+-----------------------------------------------------------+---------+------------------------------------------+---------------------------------+
