Retouch module: drawn and parametric mask?

How can I use a drawn and parametric mask in the retouch module?

I have a person on a gray/white background. A parametric mask nicely highlights the background but also picks up the teeth. I need to have another mask that excludes the teeth. I also need a second or third parametric mask to grab the rest of the gray background (just enough variation to need one or two more).

The colorize module (for example) has drawn, parametric, and drawn+parametric options, but retouch module has shapes (like an implicit drawn) and parametric and no obvious way to change the polarity of the drawn shape.

Thanks!

The retouch edits are local and targeted… are you trying to use retouch on the back ground somehow??

From your description it is incomprehensible what you want to achieve. The field of action of the shapes is limited to the defined areas and can be adjusted very sensitively (feather size, opacity, wavelet decomposition). Maybe reading the manual ( darktable 4.6 user manual - retouch ) can be helpful to understand how retouch works.

Why should it be possible to invert a shape ?

1 Like

in difference to other modules the drawn masks aren’t used on a module level but for each correction you want to apply. So there’s no inversion since most corrections needs a source and a target.
Also these masks aren’t handled in the mask manager.
The parametric mask is applied on module level - so it affects all local corrections done in the module.
So simplified: drawn masks - local, parametric mask - global

So unless you describe your task there’s no topic to discuss :wink:

2 Likes

Good morning: I’m trying to use the “fill” option of retouch. e.g. select the background, fill it with solid white. In this case, a source is not needed since fill mode would be color and I could dropper pick a color or otherwise assign.

Good morning: The operation I need to perform: select the background, fill selected background with white (or a chosen color). Selecting the background requires a logical combination of several masks.

https://docs.darktable.org/usermanual/4.0/en/module-reference/utility-modules/darkroom/mask-manager/
“use inverted shape
Invert the polarity of the selected shape.”

I could be mixing terms (shape vs mask) incorrectly across sections of the manual and features in darktable.

Just use colorize with 0 percent mixing… you can set any color you want to your background…