Even though there was a phabricator for foreground selection at one point, I feel that it is time for me to discuss with artists on how they plan to use foreground selection. Now, some people may comment that this is photographic editing tool rather than a painting tool, but allow me to justify the existence of foreground selection for Krita.
It would enable more options in terms of painting as it enables people to work with photographs to create artistic composition, and paint with photographs and a lot of brushes. This means that photo-matting in Krita could actually be a very real option.
Sometimes, when dealing with flattened image, there may be some point where you are forced to try to extract a object. So, it enables streamlining in painting in situations like this.
Non-destructive editing indirectly gets a boost on this by filtering only by the foreground extracted selected mask.
With all of this said, I would like to refer people to look at GIMP’s foreground extraction tool since that is theoretically the most feasible manner of foreground extraction. For reference, I will share this template (Icon doesn’t show up on my end, but I will have to speak to Krita team about that later, but it shows how it might look like). And yes, what you see in the template is the current progress of guided selection disregarding icon on the left, basically just the interface.
Note: Filter Epsilon is a parameter used for guided selection ; Radius is basically convolution kernel radius used for guided selection.
- On the GIMP side of thing, you paint between foreground, unknown, and background. Only the unknown area are modified. Is 3 areas are fine or would you prefer binary? The former is more accurate and much “less natural”, but the latter is less accurate but more “natural”.
2) With the Add, Replace, Remove… Does it make sense to enable recursive painting?
Note: I have decided to remove shape and mode selection. It’s not disabled yet, unfortunately from my end, but ignore this part.
- Finally, what if there was already a selection? Should the tool automatically create a guided selection after pressing enter?