.. _fr.inria.ZMask:

ZMask node
==========

.. raw:: html

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

*This documentation is for version 1.0 of ZMask (fr.inria.ZMask).*

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

Creates a mask from a depth buffer by specifying the center value and the amplitude of the range around it with the tightness parameter

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                                                                                            |
+=======================================+=========+=========================+=====================================================================================================+
| Convert to Group / ``convertToGroup`` | Button  |                         | Converts this node to a Group: the internal node-graph and the user parameters will become editable |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Z picking / ``zPicking``              | Boolean | Off                     |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Center Value / ``centerValue``        | Color   | r: 1 g: 1 b: 1          |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Tightness / ``tightness``             | Color   | r: 1 g: 1 b: 1 a: 1     |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Contrast / ``contrast``               | Color   | r: 1 g: 1 b: 1 a: 1     |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Offset / ``offset``                   | Color   | r: 0 g: 0 b: 0 a: 0     |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Gamma / ``gamma``                     | Color   | r: 1 g: 1 b: 1 a: 1     |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Invert Gradient / ``invertGradient``  | Boolean | Off                     |                                                                                                     |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Source Layer / ``Source_channels``    | Choice  |                         | |                                                                                                   |
|                                       |         |                         | | **None**                                                                                          |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
| Output Layer / ``channels``           | Choice  | DisparityLeft.Disparity | |                                                                                                   |
|                                       |         |                         | | **Color.RGBA (uk.co.thefoundry.OfxImagePlaneColour)**                                             |
|                                       |         |                         | | **DisparityLeft.Disparity (uk.co.thefoundry.OfxImagePlaneStereoDisparityLeft)**                   |
|                                       |         |                         | | **DisparityRight.Disparity (uk.co.thefoundry.OfxImagePlaneStereoDisparityRight)**                 |
|                                       |         |                         | | **Backward.Motion (uk.co.thefoundry.OfxImagePlaneBackMotionVector)**                              |
|                                       |         |                         | | **Forward.Motion (uk.co.thefoundry.OfxImagePlaneForwardMotionVector)**                            |
+---------------------------------------+---------+-------------------------+-----------------------------------------------------------------------------------------------------+
