.. _eu.gmic.InpaintPatchBased:

G’MIC Inpaint Patch-Based node
==============================

.. raw:: html

   <!-- Do not edit this file! It is generated automatically by Natron itself. -->

*This documentation is for version 1.0 of G’MIC Inpaint Patch-Based (eu.gmic.InpaintPatchBased).*

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

A quick tutorial on how to use this filter can be found here:

G’MIC Inpainting tutorial on Patrick David’s blog.: http://blog.patdavid.net/2014/02/getting-around-in-gimp-gmic-inpainting.html

Authors: David Tschumperle and Maxime Daisy. Latest Update: 2015/25/11.

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              |
+=========================================================+=========+=====================+=======================+
| Patch Size / ``Patch_Size``                             | Integer | 7                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Lookup Size / ``Lookup_Size``                           | Double  | 16                  |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Lookup Factor / ``Lookup_Factor``                       | Double  | 0.1                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Blend Size / ``Blend_Size``                             | Double  | 1.2                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Blend Threshold / ``Blend_Threshold``                   | Double  | 0                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Blend Decay / ``Blend_Decay``                           | Double  | 0.05                |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Blend Scales / ``Blend_Scales``                         | Integer | 10                  |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Allow Outer Blending / ``Allow_Outer_Blending``         | Boolean | On                  |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Mask Color / ``Mask_Color``                             | Color   | r: 1 g: 0 b: 0 a: 0 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Mask Dilation / ``Mask_Dilation``                       | Integer | 0                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Process by Blocs of Size / ``Process_by_Blocs_of_Size`` | Choice  | 100%                | |                     |
|                                                         |         |                     | | **100%**            |
|                                                         |         |                     | | **75%**             |
|                                                         |         |                     | | **50%**             |
|                                                         |         |                     | | **25%**             |
|                                                         |         |                     | | **10%**             |
|                                                         |         |                     | | **5%**              |
|                                                         |         |                     | | **2%**              |
|                                                         |         |                     | | **1%**              |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| 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                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Global Random Seed / ``Global_Random_Seed``             | Integer | 0                   |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Animate Random Seed / ``Animate_Random_Seed``           | Boolean | Off                 |                       |
+---------------------------------------------------------+---------+---------------------+-----------------------+
| Log Verbosity / ``Log_Verbosity``                       | Choice  | Off                 | |                     |
|                                                         |         |                     | | **Off**             |
|                                                         |         |                     | | **Level 1**         |
|                                                         |         |                     | | **Level 2**         |
|                                                         |         |                     | | **Level 3**         |
+---------------------------------------------------------+---------+---------------------+-----------------------+
