Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Delete background problem
#1
   
I have an image of a crayfish on a white background that I want to make into a png. The main part of the background is no problem but around the claw area there are little white teeth that are hard to separate from the main background. What would be the most effective way to remove the background without affected the teeth?
Reply
#2
I zoom in and use the free select tool and trace the area I want to remove. I am sure there is a better way, but that is the way I would do it.
Reply
#3
When selecting your background that way maybe play around with your threshold in the tool options.
Otherwise do it with a mask this way. Duplicate your picture. Using colour - threshold turn the picture into black and white and by carefully moving the slider until it still shows the teeth as black and the rest white where it is only white, Unless you want to keep some of the white areas paint them black then invert the colours. Use this as an easy mask.
On your original picture add a transparent mask, then add the mask you made to the mask - apply mask. This should do what you want.

Smile
Reply
#4
   
oops that's supposed to be transparency

Smile
Reply
#5
@sl60

You had problems in the past using the fuzzy select tool. Did you use fuzzy select for the white background or a colour select or something else ? The clip you posted no longer has a white background, is that part of the 'after' image ? Can you post the original ?

You could try one of Ofnuts plugins, ofn-erase-background dated 2018-03-31, which uses a fuzzy select but cleans up edges http://sourceforge.net/projects/gimp-too...s/scripts/

I just gave that a try in Gimp 2.8 (you are using Gimp 2.8 as per profile ?) on your clip and should work. A quick example https://i.imgur.com/18xRhxL.mp4
Reply
#6
I combined some of what was suggested by Sallyanne (threshold) and rich2005 (fuzzy select) to get the image below.
   
It is always possible to polish the finish and obtain better results, either with these or other techniques, but it is necessary that the provided image has a certain quality of resolution.

Other options are the sites that do this service online using or not AIs.
                               .....
Samj PortableGimp 2.10.28 - Win-10 /64.
Reply
#7
(06-20-2023, 08:53 AM)rich2005 Wrote: @sl60

You had problems in the past using the fuzzy select tool. Did you use fuzzy select for the white background or a colour select or something else ? The clip you posted no longer has a white background, is that part of the 'after' image ? Can you post the original ?

You could try one of Ofnuts plugins, ofn-erase-background dated 2018-03-31, which uses a fuzzy select but cleans up edges    http://sourceforge.net/projects/gimp-too...s/scripts/

I just gave that a try in Gimp 2.8 (you are using Gimp 2.8 as per profile ?) on your clip and should work.  A quick example https://i.imgur.com/18xRhxL.mp4

This is the original image. I'll try the script--thanks!
Reply


Forum Jump: