Cambridge in Colour Forums

Go Back   Cambridge in Colour Forums > Tips & Techniques > Image Post-Processing & Printing

Notices

Gimp/G'MIC Background Removal

Image Post-Processing & Printing


Reply
 
Thread Tools
Old 17th October 2009, 07:47 PM   #1
Member
 
Join Date: May 2008
Location: Pittsburgh PA, St. Augustine FL
Posts: 95
Gimp/G'MIC Background Removal

With the talk about removing backgrouns with loose hair and the new Topaz Plugin, I looked at a Gimp approach.........also due to Donald, David interest.....



The following is a rough outline of the steps......

Using G’MIC to create Mask for Removing Background….

* Open Image – Add Alpha Channel
* Duplicate Layer
* Open G’MIC and select Enhancement Unsharp Mask
Set Radius to 1 and Amount to 5, and Select OK….
* Open G’MIC and select Colors-Black and White
Set Contrast at 2.0 and Gamma 1.5 Select OK….
* Open G’MIC and again select Unsharp Mask
Set Radius to 1 and Amount to 5, Select OK….
This further darkens the small hair……
* Select Colors Invert to the top layer
* Select Colors Threshold and move right to 255…..this is the the basic mask….
* Add new Transparent Layer…you should now have an easy job to identify areas
you wish to retain….
* Paint in White on this new layer for areas to be retained, Black to remove….
You may wish to lower opacity to better see what to paint
Be careful to leave the white wisps of hair….
* Gaussian Blur this layer perhaps at 10….this is the final mask……
* Select All and Edit Copy this layer….to insert as your mask…..
* Delete the top 2 layers leaving only the background layer….
* Select Layer-Mask-Add layer Mask….
* Select Layer Mask and Paste….Then anchor pasted section
* Add White or other colored Layer….Move behind the Background Layer
* Save as XCF or flatten and save as JPG
* Finish any additional Post Processing such as blurring, sharpening, color balance

Good Hunting.................

Last edited by willgoss; 17th October 2009 at 08:39 PM.
willgoss is offline   Reply With Quote
Old 17th October 2009, 09:47 PM   #2
Senior Member
 
Donald's Avatar
 
Join Date: Feb 2009
Location: Glenfarg, Scotland
Posts: 227
Re: Gimp/G'MIC Background Removal

Biggest problem is keeping up with all the new information now flooding in. It's wonderful. In learning overload mode.

And trying to do it 5 days in to being a non-smoker. But life is not the hell that was expected!!
Donald is offline   Reply With Quote

Old 18th October 2009, 12:07 PM   #3
Senior Member
 
David's Avatar
 
Join Date: Apr 2008
Location: Cheshire
Posts: 330
Re: Gimp/G'MIC Background Removal

Will - Useful to have this method posted here. I agree with Donald that at the moment the amount of new stuff coming on line, including a lot for the Gimp, is taxing the brain and time resources. I've been looking closely at the filter Isophotes in GMIC and hope to post something on that this coming week.

Cheers

David
David is offline   Reply With Quote

Old 18th October 2009, 12:24 PM   #4
Senior Member / Administrator
 
Colin Southern's Avatar
 
Join Date: Dec 2008
Location: Nelson, New Zealand
Posts: 3,993
Re: Gimp/G'MIC Background Removal

Quote:
Originally Posted by Donald View Post
And trying to do it 5 days in to being a non-smoker.
Well done - keep it up!
Colin Southern is online now   Reply With Quote

Old 18th October 2009, 10:34 PM   #5
Senior Member / Moderator
 
Dave Humphries's Avatar
 
Join Date: May 2008
Location: Windsor, Berks, UK
Posts: 2,373
Re: Gimp/G'MIC Background Removal

Quote:
Originally Posted by Donald View Post
But life is not the hell that was expected!!
Ah, but do those around you agree with that I wonder?

Seriously; well done and keep going.
That was one vice I avoided (but I have plenty other bad habits )
Dave Humphries is online now   Reply With Quote

Reply



All times are GMT. Page last updated at 01:51 AM.


Copyright © 2009 Cambridge in Colour