I have a jpeg of two people standing in front of some foliage. I want to use the background eraser to remove the foliage.
The tool removes most of the foliage but leaves small unerased areas all over. I have to go over it many times to remove everything which takes ages.
I am using the default settings for the background eraser tool. The only setting I have changed is the size (to 150).
It certainly does not seem as easy to use this tool as the Corel tutorial on background removal makes it seem!
Am I doing something wrong here? Any help or advice is gratefully received.
Thanks.
Background Eraser Question
Moderator: Kathy_9
-
LeviFiction
- Advisor
- Posts: 6831
- Joined: Thu Oct 02, 2008 1:07 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: Alienware M17xR4
- processor: Intel Core i7-3630QM CPU - 2_40GH
- ram: 6 GB
- Video Card: NVIDIA GeForce GTX 660M
- sound_card: Sound Blaster Recon3Di
- Hard_Drive_Capacity: 500GB
- Corel programs: PSP: 8-2023
- Location: USA
Re: Background Eraser Question
The background eraser tool works better on areas of little color variation. The tutorial they showed, they were removing a sky with very little variation compared to foliage. Which is the big thing, it samples a color under the center of the brush and compares all of the colors that it moves over. Colors that match within a given tolerance are erased, but it also attempts to find edges and keep them intact. How sharp or soft the edges it finds are is determined by the "Sharpness" setting. the higher the sharpness the sharper the edges, and harder the erasing. The lower the softer the edges, and erasing starts going semi-transparent near the edges (similar to decreasing the hardness of the normal eraser brush).
It attempts to intelligently determine the tolerance automatically so that you can get more accurate result. And it's usually pretty good.
But Foliage is not going to be easy. Especially if shadowing makes the colors near the edges darker and somewhat matchy to the foliage.
I have two videos on using the background eraser tool (took me like 20 minutes to go over everything) but I doubt it'd be helpful to you in this case.
Start large with the brush to get the majority of the area. Then shrink the brush a bit and zoom in around the tougher areas. You want to make sure you're accurate as you get smaller. Once you've gotten it down to as good as you can, you can switch to other tools to finish the clean up. Selections, the normal eraser, and such like that really help in this situation.
-----------------------------------------
Another option, sometimes, is to duplicate the layer, then try running a few filters to really bump up the difference between the background and foreground of the image. This will make the erasing easier and doesn't destroy the original image. Once it's erased you can create a selection based on the transparency of the current layer. And use that to delete the background of the original layer.
------------------------------------------
Depending on the difficulty of the image you might want to look into other tools. Yes in some cases they can take just as long but they might give better results.
For something like this I'd first try the Object Extractor (if you're using X3 to X5) and see if that can't get decent results. The one thing I like about the object extractor is that it doesn't actually delete the areas of the layer. So grabbing the eraser tool and using the right-mouse button I can get the areas back that the object extractor tool was a bit over-zealous about erasing.
If that doesn't seem to work you can try using the free-hand selection tool on either "edge seeker" mode or "Smart edge" mode and see if it can accurately trace the edges of the person or object you're trying to preserve. Once the selection is made you can invert the selection and delete the background that way.
Lots of ways to deal with difficult images when otherwise great tools become inadequate.
It attempts to intelligently determine the tolerance automatically so that you can get more accurate result. And it's usually pretty good.
But Foliage is not going to be easy. Especially if shadowing makes the colors near the edges darker and somewhat matchy to the foliage.
I have two videos on using the background eraser tool (took me like 20 minutes to go over everything) but I doubt it'd be helpful to you in this case.
Start large with the brush to get the majority of the area. Then shrink the brush a bit and zoom in around the tougher areas. You want to make sure you're accurate as you get smaller. Once you've gotten it down to as good as you can, you can switch to other tools to finish the clean up. Selections, the normal eraser, and such like that really help in this situation.
-----------------------------------------
Another option, sometimes, is to duplicate the layer, then try running a few filters to really bump up the difference between the background and foreground of the image. This will make the erasing easier and doesn't destroy the original image. Once it's erased you can create a selection based on the transparency of the current layer. And use that to delete the background of the original layer.
------------------------------------------
Depending on the difficulty of the image you might want to look into other tools. Yes in some cases they can take just as long but they might give better results.
For something like this I'd first try the Object Extractor (if you're using X3 to X5) and see if that can't get decent results. The one thing I like about the object extractor is that it doesn't actually delete the areas of the layer. So grabbing the eraser tool and using the right-mouse button I can get the areas back that the object extractor tool was a bit over-zealous about erasing.
If that doesn't seem to work you can try using the free-hand selection tool on either "edge seeker" mode or "Smart edge" mode and see if it can accurately trace the edges of the person or object you're trying to preserve. Once the selection is made you can invert the selection and delete the background that way.
Lots of ways to deal with difficult images when otherwise great tools become inadequate.
https://levifiction.wordpress.com/
-
Keithchr
- Posts: 16
- Joined: Fri Jan 18, 2013 12:06 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- processor: Intel i7-3770 3.4Ghz
- ram: 16GB
- Video Card: NVIDIA GeForce GT 650M
- Hard_Drive_Capacity: 2TB
- Monitor/Display Make & Model: Lenovo AIO
Re: Background Eraser Question
Thanks Levi.
A very helpful and comprehensive reply.
A very helpful and comprehensive reply.
-
photodrawken
- Posts: 684
- Joined: Wed Sep 26, 2012 8:40 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 16Gb
- Hard_Drive_Capacity: 324Gb
- Location: USA
Re: Background Eraser Question
To expand on this suggestion, I've found it helpful in some cases to use Image...Split Channel to split the image into CMYK (or RGB, or HSL) images. Then use the Background Eraser on whichever split image gives the most contrast between the people and foliage. Back in the original image, use Layers...New Mask Layer...From Image to use the image transparency of your erased image as the mask. Finally, paint on the mask to touch up.LeviFiction wrote:Another option, sometimes, is to duplicate the layer, then try running a few filters to really bump up the difference between the background and foreground of the image.
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
-
brucet
- Posts: 895
- Joined: Thu Sep 22, 2011 10:37 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 8GB
- Location: Australia
Re: Background Eraser Question
Tutorials always make background removal seem easier than it always is. I don't get on with it at all.
I find the eraser tool quicker. Then zoom in and resize and start again.
Every method I know will take time. Accept that it will require some work and try a number of methods. Once you find what works for you then practice will speed things up.
regards
I find the eraser tool quicker. Then zoom in and resize and start again.
Every method I know will take time. Accept that it will require some work and try a number of methods. Once you find what works for you then practice will speed things up.
regards
- hartpaul
- Advisor
- Posts: 2893
- Joined: Tue Mar 20, 2012 3:38 pm
- System_Drive: C
- 32bit or 64bit: 64 Bit
- motherboard: ASUSTeK P7P55D STRIX B240F GAMING
- processor: IntelCore i7 7700 3.60 Ghz
- ram: 8 Gb
- Video Card: Nvidia GeForce GTX 1050
- sound_card: Nvidia High Definition Audio
- Hard_Drive_Capacity: 1000 Gb
- Monitor/Display Make & Model: AOC
- Corel programs: PSP8,X2 to X9,2018,2019,2020
- Location: Australia
Re: Background Eraser Question
And also consider a selection based on the people and invert it and delete.
Systems available Win7, Win 8.1,Win 10 Version 1607 Build 14393.2007 & version 20H2 Build 19042.867
-
photodrawken
- Posts: 684
- Joined: Wed Sep 26, 2012 8:40 am
- System_Drive: C
- 32bit or 64bit: 64 Bit
- ram: 16Gb
- Hard_Drive_Capacity: 324Gb
- Location: USA
Re: Background Eraser Question
If I had to pick my favourite tool, it would be "Old Reliable" -- the Background Eraser.brucet wrote:Tutorials always make background removal seem easier than it always is. I don't get on with it at all.
However, its use is for one purpose only: to get a nice transparent edge around a subject. After that, the Eraser should be used to eliminate everything else.
I might add that my method of separating an object from its background is to use a mask. All the tools I use, whether the Extraction filter, the Background Eraser, the Eraser, selections, etc., are simply means to an end -- getting a precise mask.
Ken
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
Yes, I think it can be eeeeeasily done...
Just take everything out on Highway 61.
