Mobile app version of vmapp.org
Login or Join
Murray664

: Remove the window curtains from a photo, but save the glasses - how to do it in GIMP I have a PNG image: I want to remove only the window curtains from the above image using only GIMP.

@Murray664

Posted in: #Gimp #Images #PhotoEditing #Png #Windows

I have a PNG image:



I want to remove only the window curtains from the above image using only GIMP. I tried to remove the curtains, but along with curtains I also lost the glasses.



How to keep the glasses when removing the curtains? My software is GIMP for Win. Is there any plugins to do this?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Murray664

3 Comments

Sorted by latest first Latest Oldest Best

 

@Margaret771

The glasses look out as glasses because there are


reflection from the landscape
reflection from the window frame
reflections are doubled if there are 2 glasses
windows frame and some interior (here the curtains) seen through the glass
lower contrast in reflections and what's seen through when compared to direct photos of same subjects
some variation because the glasses are not perfect planes and in the same plane


The appearance of the glasses can be disturbing because the all above can still have substantial amount of well visible details. This is the case, if


the landscape is in a bright light
interiors have good light, strong colors and easy to figure forms


The glasses can even in the daytime look out to have more contrast than the wall.

If you want to cut holes onto the glasses and replace them with your own fake glass, consider to save those areas that have mainly the windows frame seen through or reflected. The plausibility of the result needs them.

The holes are cut by the Free Selection Tool, only one click/corner. But that needs extreme care to avoid narrow remnant stripes.

The needed layers:


Original for reference (keep it disabled)
the wall with no glasses, the glasses are cut off
full white layer for haze, opacity 33%
possible thru-seen or reflected window frames (Not used here, only leaved the seen through frame to the wall layer in 2 leftmost windows)
landscape photo for the reflection, opacity 50%
a copy of the landscape photo, shifted horizontally for the reflection from 2nd glass, opacity 50%
a BW multistop gradient pattern for variety and illusion of interiors, opacity 50%
a solid 50% grey background (test with black, too)


An example with all items:



The landscape is left out:



Used the original as the landscape, but all other items exist to make the original less disturbing:

10% popularity Vote Up Vote Down


 

@Si6392903

As others have said, removing a background is a rather complicated process.

Here is a basic overview of how you do it with Gimp.


Duplicate the image as a new layer and hide the original
(Always do this when changing an image!)
Use the various selection tools to get a the content you want to keep as a selection.
This is the hardest part and most time consuming part. You can use Ctrl and Shift to add and subtract from the current selection. I usually start with the Free Selection Tool, and then the Intelligent Scissors. Usually I need to add and remove parts of the selection.
Depending on the image, the Magic Wand or Select By Color tools might also work very well. It takes some experimenting, and it will be an art, not a science.
Delete the background.
If you don't get the results you expect, if you press Ctrl + Z, Gimp maintains the selection you had, so don't have to do all that work again.
Massage the border of your new image.
This may include adding a blur around the edge, using the eraser or burn/dodge tools to distort, and other things you might need to do so that edges don't look as sharp.


This is definitely a skill that takes practice.

Here are a few more detailed tutorials:


Separating an Object From Its Background
Removing Image Background: Gimp Fuzy Select Tool

10% popularity Vote Up Vote Down


 

@Caterina889

Try to find glasses you like on the Internet. Than, when you remove the curtains just paste "new" glasses into white spaces.
Make some tunning and it should be OK.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme