- dotTech - http://dottech.org -
How To: Remove backgrounds/extract objects from pictures
Posted By Locutus On August 24, 2010 @ 4:37 AM In Tips 'n Tricks | 16 Comments
Do you need a single object from a picture, say, a beach ball or a dog? With GIMP (a freeware, powerful image editor) and a little patience, you can extract the object from the picture. Tell me, which of the following images is the original?
(It is the second one, in case you didn’t guess it already.)
To start, you’ll need to have GIMP open. If you don’t have GIMP, you can download it at Sourceforge .
Once you have GIMP opened and the picture loaded, duplicate the picture’s layer with Ctrl+Shift+D; then disable the new layer by clicking on the eye (if you can’t see this dialog box, press Ctrl+L):
If you’re not being terribly accurate, don’t worry. For one, you’re zoomed very far in, so it’ll look better once zoomed out; for two, you can always hit backspace to undo the last point.
When you’ve gone around the entire object, press “Enter” on the keyboard to get an actual selection of marching ants. Now you need to reverse the selection so you’re selecting the background; go to”Select” ->”Invert”. After you’ve inverted it, press “Delete” on the keyboard to get rid of the background.
Press Ctrl+Shift+A to clear the selection, and congratulations–you’ve removed the background:
If you want learned how to put the object on a new background, continue reading this article; if not, go practice those background deletion skills!
When wanting to insert a foreign object into an image, the first thing to do is copy + paste the object from one image into the image you want to insert it to. You can copy + paste the object by pressing Ctrl + A to select it, and Ctrl + C to copy it; then go to the image that you want to insert the object and press Ctrl + V to paste in the object. Next you need to use the “Scale Tool” (Shift+T) to scale the background and the object so they match. Lastly, if the extraction of your object was a little sloppy, you can remedy this in a few ways:
After some practice, you will (hopefully) get something like this:
If you have any tips on how to go about object extraction/background removal, feel free to share in the comments below.
Article printed from dotTech: http://dottech.org
URL to article: http://dottech.org/17986/how-to-remove-backgroundsextract-objects-from-pictures/
URLs in this post:
 Image: http://dottech.org/wp-content/uploads/2010/08/dog.png
 Sourceforge: http://gimp-win.sourceforge.net/
 Image: http://dottech.org/wp-content/uploads/2010/08/layer.png
 Image: http://dottech.org/wp-content/uploads/2010/08/Screenshot-79.png
 Image: http://dottech.org/wp-content/uploads/2010/08/freeselect.png
 Image: http://dottech.org/wp-content/uploads/2010/08/Screenshot-dog.png-1.0-RGB-1-layer-450x261-–-GIMP.png
 Image: http://dottech.org/wp-content/uploads/2010/08/dogwhite.png
 Image: http://dottech.org/wp-content/uploads/2010/08/dogdone.png
© 2008-2012 dotTech.org | All content is the property of its rightful owner.