Post Reply 

Refine Edge Tool

Sep 5, 2012, 06:03
Post: #1
Refine Edge Tool
Can anyone tell me if GIMP are going to come up with a tool like the refine edge tool that is availale in Photoshop. I really need some way of removing the background of some of the pictures I use. I have attached an example of an image that I would like to remove the background and replace it. I have spent hours trying to work out how to do it successfully. Thanks Gary


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Jun 1, 2013, 07:44
Post: #2
RE: Refine Edge Tool
It's great you should mention this Gary, I was looking for the exact thing after using PS's tool and it brought up your thread. So hopefully if you don't see this/need anymore, I can help others who are looking too.

I did a little experimenting and found "selection editor" combined with some shortcuts I use to speed adding/subtracting to a selection. So the good news is in a sense you can have a psuedo-refine edges tool. Here's how I did it!
In image 1(selection editor window)
Click on Selection > Selection editorRectselect and it will open up that small window.
When you make a selection, it will show you the whole image even when your zoomed in, so you can try to pull out details like hair.
If you pick the magic wand toolFuzzyselect, and hold (for windows) shift and left-click(hold) you can conrtol the threshold of the selection(how much it selects) to take away, push ctrl and left-click. You can even feather the edges after the fact(SEE MENU UNDER "Fuzzy Select" in IMAGE 1)
After clicking feather, adjust the radius to your fitting.

Last Image 2(black & white background to show artifacts)
You can see The difference on background, in this way, if you stay with lighter backgrounds, it will be easier to clean up your selection after you paste. But don't fret, there is another way I just found while readying this reply LOL.

Alternatively you can expand or shrink the selection(recommend 5 pixel increments to start)
Go to Select > "Grow..." or "Shrink..."
Extra tip: If your selection lines need to be straighter, the "Sharpen..." option can help clean it up a little too. More info of this tool with other examples can be found here:
http://docs.gimp.org/en/gimp-selection-dialog.html Hope this helps!


Attached File(s) Thumbnail(s)
       
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 1, 2013, 18:14
Post: #3
RE: Refine Edge Tool
(Sep 5, 2012 06:03)gazza Wrote:  Can anyone tell me if GIMP are going to come up with a tool like the refine edge tool that is availale in Photoshop. I really need some way of removing the background of some of the pictures I use. I have attached an example of an image that I would like to remove the background and replace it. I have spent hours trying to work out how to do it successfully. Thanks Gary
Making a correct cutout that includes fine hairs is the holy grail of digital image processing. Don't believe all the hype around some programs, some images are easirt to process than others.

For the case at hand, don't forget that you can mix various selections. Here, a first pass with the foreground select tool, that of course forgets the whiskers and the fine hairs. Save to channel To get the whiskers and some hairs, duplicate the image, desaturate it (or better, pick the right channel, the red one for this image, or even better, using the channel mixer to make an image that maximizes contrast where you need it), and run some edge detection filter (here, Difference of Gaussians). For the final selection, while displauing th thresholded DoG, the Channels list: select the save Foregound selection and set the selection, then right click and a color channel ad add to selection.

Edit/Copy and File/Create from clipboard. Add a gray backrgound to check. Cheat for the whiskers on the left: lock the alpha channel of the copied image, and paint the whiskers using the colors of the whiskers on the other side.

Of course, we are working on a small image here...

   

[Image: 2Tvo0.png]

Visit this user's website Find all posts by this user
Quote this message in a reply
Apr 4, 2014, 02:05
Post: #4
RE: Refine Edge Tool
*UPDATE!*

Since I made my post about the selection editor. I've found a much better solution to refining your selection & it works very similar to photoshop ^_^
Foreground select tool, see here:
http://gimpforums.com/thread-magic-lasso...8#pid27018
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GIMP 2.8 Eyedropper Color Selection Tool Not Working? Upgraded App is Slow?? tootallll 14 8,606 Oct 9, 2014 18:39
Last Post: Graphicman2014
  GIMP tools locking;tool options window flickers. Zenta 13 511 Sep 11, 2014 18:31
Last Post: Zenta
  Can somebody help me with Fuzzy Select Tool mcpon14 2 147 Sep 8, 2014 03:43
Last Post: mcpon14
  Scale tool help needed Jayne 2 102 Sep 8, 2014 00:06
Last Post: Jayne
  Tool Options will not dock to Toolbox louzou 3 275 Jul 27, 2014 06:08
Last Post: louzou

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS