<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>masks on darktable 5.6 user manual</title>
    <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/</link>
    <description>Recent content in masks on darktable 5.6 user manual</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>overview</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/overview/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/overview/</guid>
      <description>&lt;p&gt;Masks allow you to limit the effect of a module so that it only applies to certain parts of the image.&lt;/p&gt;&#xA;&lt;p&gt;A mask can be regarded as a grayscale image where each pixel has a value between 0 and 1.0 (or between 0% and 100%). This value is the &lt;em&gt;opacity&lt;/em&gt; and is used to determine how much a module affects each pixel.&lt;/p&gt;&#xA;&lt;p&gt;The following sections explain how to construct masks in darktable.&lt;/p&gt;</description>
    </item>
    <item>
      <title>drawn masks</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/drawn/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/drawn/</guid>
      <description>&lt;p&gt;With the drawn mask feature you can construct a mask by drawing shapes directly onto the image canvas. Shapes can be used alone or in combination. Once a shape has been drawn on an image it can be adjusted, removed, or reused in other modules.&lt;/p&gt;&#xA;&lt;p&gt;Shapes are stored internally as vectors and are rendered with the required resolution during pixelpipe processing. Shapes are expressed in the coordinate system of the original image and are transformed along with the rest of the image by any active distorting modules in the pipe (&lt;a href=&#34;https://docs.darktable.org/usermanual/5.6/en/module-reference/processing-modules/lens-correction/&#34;&gt;&lt;em&gt;lens correction&lt;/em&gt;&lt;/a&gt;, &lt;a href=&#34;https://docs.darktable.org/usermanual/5.6/en/module-reference/processing-modules/rotate-perspective/&#34;&gt;&lt;em&gt;rotate and perspective&lt;/em&gt;&lt;/a&gt; for example). This means that a shape will always work on the same image area regardless of any modifications that may be subsequently applied.&lt;/p&gt;</description>
    </item>
    <item>
      <title>parametric masks</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/parametric/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/parametric/</guid>
      <description>&lt;p&gt;The parametric mask feature offers fine-grained selective control over how individual pixels are masked. It does this by automatically generating an intermediate blend mask from user-defined parameters. These parameters are color coordinates rather than the geometrical coordinates used in drawn masks.&lt;/p&gt;&#xA;&lt;p&gt;For each data channel of a module (e.g. Lab, RGB) and several virtual data channels (e.g. hue, saturation) you  can construct a per-channel opacity function. Depending on each pixel&amp;rsquo;s value for a given data channel this function calculates a blending factor between 0 and 1 (100%) for that pixel.&lt;/p&gt;</description>
    </item>
    <item>
      <title>combining drawn &amp; parametric masks</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/drawn-and-parametric/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/drawn-and-parametric/</guid>
      <description>&lt;p&gt;Drawn and parametric masks can be used in combination to form a single mask that can be applied to a module.&lt;/p&gt;&#xA;&lt;p&gt;There are two main elements which control how individual masks are combined: the &lt;em&gt;polarity&lt;/em&gt; setting of each individual mask (defined by the plus or minus buttons) and the setting in the “combine masks” combobox.&lt;/p&gt;&#xA;&lt;p&gt;The &amp;ldquo;combine masks&amp;rdquo; combobox contains the following options, defining how the drawn and parametric masks will be combined:&lt;/p&gt;</description>
    </item>
    <item>
      <title>mask refinement &amp; additional controls</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/refinement-controls/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/refinement-controls/</guid>
      <description>&lt;p&gt;When a mask is active, several additional sliders are shown which allow the mask to be further refined.&lt;/p&gt;&#xA;&lt;dl&gt;&#xA;&lt;dt&gt;details threshold&lt;/dt&gt;&#xA;&lt;dd&gt;This control allows you to alter the opacity of the mask based on the amount of detail in the image. Use this slider to select either areas with lots of detail (positive values) or areas that are flat and lacking in detail (negative values). The default (zero) effectively bypasses details refinement. This is mostly useful to apply sharpening and blurring effects that ignore out-of-focus (bokeh) regions or to sharpen only blurry parts, preventing over-sharpening of in-focus regions.&lt;/dd&gt;&#xA;&lt;/dl&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The data used for the detail mask refinement is taken from the demosaic or rawprepare stage in the processing pipeline, not from the module&amp;rsquo;s input (which is used for the other parametric mask criteria). None of the processing modules after demosaic will have any effect on the detail mask and it is not available for non-RAW images.&lt;/p&gt;</description>
    </item>
    <item>
      <title>AI masking</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/ai-masking/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/ai-masking/</guid>
      <description>&lt;p&gt;AI masking requires AI features to be enabled in &lt;a href=&#34;https://docs.darktable.org/usermanual/5.6/en/preferences-settings/ai/&#34;&gt;AI preferences&lt;/a&gt;, with a model active for the AI task the specific masking tool uses (each tool below states which one). See the &lt;a href=&#34;https://docs.darktable.org/usermanual/5.6/en/special-topics/ai/overview/&#34;&gt;AI features overview&lt;/a&gt; for what runs where.&lt;/p&gt;&#xA;&lt;p&gt;Currently darktable provides one AI masking tool:&lt;/p&gt;&#xA;&lt;dl&gt;&#xA;&lt;dt&gt;AI object&lt;/dt&gt;&#xA;&lt;dd&gt;Uses the &lt;em&gt;mask&lt;/em&gt; task. Click on a subject to produce a mask around it; iterate by adding more clicks until it covers exactly what you want. The result is vectorised into a group of path shapes and can be edited like any other drawn shape – see &lt;a href=&#34;https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/drawn/#available-shapes&#34;&gt;drawn masks: AI object&lt;/a&gt; for details.&lt;/dd&gt;&#xA;&lt;/dl&gt;</description>
    </item>
    <item>
      <title>raster masks</title>
      <link>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/raster/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://docs.darktable.org/usermanual/5.6/en/darkroom/masking-and-blending/masks/raster/</guid>
      <description>&lt;p&gt;As described in the previous sections, the final output of a module&amp;rsquo;s mask (the combined effect of any drawn and parametric masks) is a grayscale raster image representing the extent to which the module&amp;rsquo;s effect should be applied to each pixel. This raster image is stored internally for active modules and can be subsequently reused by other modules in the pixelpipe.&lt;/p&gt;&#xA;&lt;p&gt;As with any mask, if the opacity value for a pixel in a raster mask is zero, the module&amp;rsquo;s input is passed through the module unchanged. If the opacity is 1.0 the module has its full effect. For each value between 0 and 1.0 the module&amp;rsquo;s effect is applied proportionally at that location.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
