: Fill selection holes (selecting the convex hull) in Photoshop How can I select the convex hull of an existing selection in Photoshop. In other words, how does one fill the holes in a selection
How can I select the convex hull of an existing selection in Photoshop. In other words, how does one fill the holes in a selection in Photoshop?
Consider a donut shape. You use the wand to create a selection of the donut shape, but the hole of the donut remains unselected. Is there a tool or sequence of actions to fill the "donut holes" in a selection, preserving the precision of the outermost selection lines?
This same question was asked previously, but for Gimp.
More posts by @Tiffany317
3 Comments
Sorted by latest first Latest Oldest Best
Does this help?
Select the outer side of the donut (on the layer mask) with the wand tool (with a high tolerance, sample only contiguous pixels) and then simply invert the selection.
What I would do is first save my selection, then select the inverse of the selection with Select > Inverse or ctrl + shift + i.
In the case of the donut this will select the inside hole of the donut and everything outside of the donut. Now fill in the selection. Obviously you don't want everything on the outside filled too, so we will now remove this by subtracting the inside of the donut from the selection and then clicking Delete to clear all the fill from outside of the donut.
This should leave just the inside of the donut filled in.
You can hold down the Shift key and use any selection tool to add to an existing selection.
You can also hold down the Option/Alt key and use any selection tool to subtract from an existing selection.
You could also switch to Quick Mask Mode and use painting tools to "paint" your selection.
You could also create a Layer Mask of the current selection, then paint on the layer mask.
You could also Save the Selection via Select > Save Selection, then paint on the alpha channel which is created in the Channels Panel.
The Photoshop help files may be enlightening for general operations such as this.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.