Jump to content

Selecting only "attached" pixels


Recommended Posts

I'm not sure what the specific term would be for what I'm trying to do, but is there a way either vanilla or plugin to use something like the magic wand, except it considers transparency to be impenetrable? It would make the frequent task of cutting a figure out of a photo much simpler once you have the borders figured out and have deleted everything touching what you want to keep, but still have all the scattered garbage floating around the figure.

Link to comment
Share on other sites

14 minutes ago, ardneh said:

If you want to cut out a person from a background try one of these sites.

 

https://photoscissors.com/

https://www.remove.bg/upload

https://removal.ai/
 

I used the first link getting all ready to be internally smug about how relatively bad of a job it does, but giving it the image I just finished working on manually, it did a shockingly good job. Thanks for these!

 

13 minutes ago, MJW said:

I have a plugin called the Object Pruner that may possibly help. It erases objects based on size (number of pixels in object). With the default settings, it keeps the largest object, and erases all the others. (An object is a contiguous region of pixels surrounded by transparent pixels.)

Since the wand deleting will pretty much always leave what I want as the biggest object, his should do exactly what I want, yes! Thank you!

Link to comment
Share on other sites

11 hours ago, Zenzirouj said:

is there a way either vanilla or plugin to use something like the magic wand, except it considers transparency to be impenetrable?

 

I'm not sure if it will apply, but have you tried the Tolerance Alpha Mode button? Find it in the toolbar. From the online documentation....

 

Quote

Tolerance Alpha Mode   Tolerance Alpha Premultiplied  Tolerance Alpha Straight

This toggle button changes the algorithm which determines how the alpha channel contributes to the comparison of neighboring pixels. The states are Premultiplied (default) and Straight.

Tolerance Alpha Premultiplied  Premultiplied results in transparent pixels being treated as equal even if the color channels are different.

Tolerance Alpha Straight  Straight results in transparent pixels being treated as equal only if the color channel values are also equal.

The Tolerance Alpha Mode toggle button is common to the Magic Wand, Paint Bucket, and Recolor tools.

 

REF: https://www.getpaint.net/doc/latest/MagicWand.html

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...