I made a parametric mask of the sky that accidentally includes a building and accidentally excludes the sky’s corners. The dead simple foolproof fix would be to exclude the buildings and include the sky corners. This seems impossible because the drawn shapes must either be in exclusive or inclusive mode, but not both.
Is there a workaround? If the parametric mask could be ordered in mask manager, I would start order the missing sky first, then add the parametric mask as union or sum, then add a shape of the ground in exclude mode. But this doesn’t work as I understand it.
In short, dt lets me add and subtract from the stack of drawn masks, but not from the parametric mask. I can only add or subtract all the drawn masks from the parametric mask. I’m surprised this isn’t a more common use case. The workaround seems to be to create a more/less aggressive parametric mask, then use the shapes to only exclude/include. But that could screw up the boundary between ground and sky.
Very interesting condundrum indeed! I tried a bunch of ways but couldn’t get it to work. I suppose you already tried to refine the mask using a combination of the different parameters rather than just one parameter? But even if you could that for one photo, it doesn’t mean it will work for all photos.
As far as I can tell, the ability to add in one place and subtract in another doesn’t seem possible, but I could be wrong…
@JasonTheBirder Indeed I can tweak the settings somehow to get the right mask, and I’m also considering to leave the ground “incorrect” mask as is, since it’s a reflection so arguably it should be treated the same as sky. Mostly I just wanted to confirm I wasn’t making a newbie error, and to know what the best practices are. I will keep in mind that I should use multiple channels when this occurs. Thanks!
If you actually try it, I think you’ll find that all those extra modes can still only add or subtract shapes from the parametric mask, not both (one shape added, another subtracted). Intuitively it would seem like it works that way, but it doesn’t.
Additionally, I thought the ugly but acceptable workaround would be to duplicate the module so the two versions of the mask could be modified separately, but that doesn’t work either since when the first module is executed, it changes the image colors so the parametric mask, if applied again, would refer to a different part of the image.
Since you only mention the sky being masked using the parametric section:
Adjust whatever parameters you used for the sky, then switch to drawn and parametric masking (or start with that and make it easier). Draw around the building, then invert the selection.
As for the missing section of sky: Do it in another instance with a drawn and parametric mask, or adjust your parametric mask to include it in the first place.
Without having access to you image, this is all an academic exercise based on the info you provided. ymmv