What's new

Best approach for removing tree?


thyestes

New Member
Messages
3
Likes
3
Hi Guys,

I have this picture where I want to remove the tree in the foreground and preserve the gradient blue sky. I'm pretty new to Photoshop and haven't bene able to find a good approach for this. What would your approach be? Can you explain how I should do this?

Many thanks.

Kr,
Martijn

20170415_19-24-29.jpg
 

Rich54

Guru
Messages
958
Likes
1,877
The blue sky is probably the easiest part of this. You can use the gradient tool to draw a new sky over the entire image, and then mask away the sky to reveal the buildings. The hard part will be to remove the tree branches that are covering the central tower and then somehow drawing-in the intricate architectural features that are now hidden by the branches. Using the clone stamp for this would be a nightmare. I don't know if this is a famous building where you can find another photo of it, or maybe you live nearby and can take your own photo. But if you somehow had another photo with an unobstructed view of the tower—shot from a similar perspective—you could clone the top half of that tower onto this photo. Maybe others will have a better idea, but to me, this is an extremely difficult project, especially for somebody new to Photoshop.
 

thyestes

New Member
Messages
3
Likes
3
Thanks for your reply. It is de Dom in Utrecht pretty famous, at least in the Netherlands :) I don't live too far away but they are restoring it.

Of course I can download picture with parts of that building, or even complete nicer and better pictures. Just want to use this case to get familiar with parts of Photoshop. At least I'll try your suggestion with the sky.

Kr
Martijn
 

Rich54

Guru
Messages
958
Likes
1,877
Ignoring the difficulties of the building itself, here's a way to deal with the sky:
  • Using the color sampler (eyedropper) tool, select the darkest blue of the sky as the foreground color and select the lightest part of the sky, down at the bottom, as the background color.
  • Use the Rectangular Marquee tool to create a selection of the area where there is sky. Like this:
1602355411005.png

  • Now use the gradient tool to draw a new sky into this selection. The sky is slightly darker on the left half of the photo vs. the right half, so when you use the gradient tool, you can angle it slightly from the top-left to the bottom-right. Something like this:
1602355682309.png

  • Temporarily turn off the visibility of your new sky layer.
  • Now, duplicate the original image to a new layer and turn off the visibility of the original background layer.
  • Follow the instructions in the video attached below to remove the blue sky from your image. Once you've done that, move your new sky layer immediately below the layer where you have removed the sky. You should now have something like this:
1602356172434.png

  • This looks like you are right back where you started. However, the sky is now separate on its own layer, so any changes you make to the layer with the building and tree will not affect the sky.
  • Add a layer mask to the layer with the building and, painting with black, mask away the tree branches covering the sky. This will reveal your new sky that you created in the layer below.
Here's the video I mentioned. You can do a YouTube search for "Photoshop Blend-If" to find many tutorials on this technique.

 

thyestes

New Member
Messages
3
Likes
3
Cool stuff, thanks!

Managed to get the tree away. I had to remove the small trees at the left as well as my new sky wasn't exactly the same as the old sky. Now I'm going to puzzle on removing the rest of the leaves

Dom_new.jpg
 

IamSam

Administrator
Staff member
Administrator
Messages
18,327
Likes
11,611
Hey.

Just another approach.

I used the Gradient Tool set to the Foreground to Background preset. I point sampled the colors for the foreground and background from these two places.

Note the red X's
Screen Shot 2020-10-13 at 10.12.58 AM.png

On a new layer above the original image, I then created a gradient trying to best match the angle.
Screen Shot 2020-10-13 at 10.13.21 AM.png

I placed a layer mask on the gradient layer.
I then selected the layer mask and used the Brush Tool (set to black) and a brush set to 0% hardness, 1% opacity to blend the bottom of the Gradient layer into the existing sky background.
I do this to get the best possible blend between the new BG and the old............including the trees to the right. It's very hard to get a perfect selection that looks natural.

Here I have not yet finished masking out the tower. I will do this later.
Note how the trees and the tops of the building look more natural.
Screen Shot 2020-10-13 at 10.34.07 AM.png

Screen Shot 2020-10-13 at 10.25.58 AM.png

Later, I will also show how to remove the remaining tree off of the building.
 

Top