How can I add (not subtract) a vectorshape or a paintbrush to a parametric mask?

I would like to add a vectorshape or paintbrush mask right about where I’ve marked the image with red in order to include it in the total mask.

I can mask that area with the parametric mask, trouble is, that will mask large parts of the sky as well. I’ve already used paintbrush to eliminate areas in the sky, but I can’t seem to paint a stroke that includes rather than exclude from the sky. It’s either “all strokes include, or all strokes exclude” - the vectorshape seems to have the same limitation.

There must be something I don’t quite understand?

Diese this recent recommendation help?

1 Like

Boris Hajdukovic is really making awesome videos on darktable, I’m learning so much from them. I’ll watch the episodes you mention - but … I’m hoping for an answer that will help me here and now. Thanks a lot tho - definitely worth watching!

Off the top of my head, I don’t think you can set it per shape, I believe it’s per mask.

Though if you post a raw, I’m sure someone can make a mask that selects on the desired object.

1 Like

That’s what I am afraid of: That shapes can’t be set to exclude or include individually - they either all include or they all exclude …

I wouldn’t expect anyone to create the mask for me, it’s quite some work, but here’s the raw

DSC01596.ARW (23.6 MB)

Just to be clear you’re trying to mask this shape out from the sky, right?

1 Like

yes - the shape is the foreground (including the wires that is holding it) and the sky is the background, and I wish to separate them

raise the exposure and you’ll be pretty close with just the blue channel mask:

1 Like

it’s rather late here - I’ll give it a try tomorrow! Thanks man!

1 Like

Sometimes its easier to select what you don’t want and invert…I haven’t had a chance to look at the image yet but it can be an easier approach…

1 Like

Igot pretty close with only the details slider and some of the mask modifiers…there was a little left in the residual darker cloud but with a touch of the grey channel I got most of that out…with a bit more fiddling I think I could clean it up…

The thing is that the holes in the middle are see through while the hole i marked with red is “see through glass” - so the holes in the middle should survive.

If I can find a way to mask the area I’ve marked with red, the mask would be perfect.

1 Like

I found that I could slighly expand the gray value selector … that gives me a bit of masking in the sky, that I can remove with the brush.

But is it really true that you can’t invert on a pr. shape/stroke basis, it’s either all or nothing?

I hope that I can reuse this mask on other modules later on … (I can - it’s available as a raster mask in other modules)

(btw - the yellow frame around the whole picture is from the frame-module, it’s not important in this context)

Do you know there is also the mask manager module ? Unsure if it’s helpful in this particular case, but it can be extremely powerful for managing drawn masks.

2 Likes

Yes I know about the mask manager - but I couldn’t make it do it (that’s not saying it can’t do it, just that I couldn’t figure it out)

I got a mask on the object and wires that selected the desired area…there were now a few spots in the sky unselected so I painted them in inclusive mode…

DSC01596_01.ARW.xmp (13.9 KB)

This was another way in exclusive mode

DSC01596_02.ARW.xmp (9.6 KB)

If you invert the whole mask for either one you have to tweak opacity to get the inverted version but you can… I also had to add a couple of brushes to clean it up when inverted but it was pretty good…

2 Likes

That looks awesome Tood - thanks!