What's new
Photoshop Gurus Forum

Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Merge layers/content aware fill based on another layer


mr.kenken

New Member
Messages
3
Likes
0
layer merge.jpg
Probably a very easy fix, but I think I'm getting rusty. How do I match the area all the way to the right with the cut out layer in front (you see the edge in the circle). I also need to match the height of the edge on the left hand part of the image.
 
I did this very fast with just a selection and the Brush Tool. Didn't fix the hand.
Screen Shot 2025-06-10 at 5.28.04 PM.png

I'm waiting to hear from some of the other members to show how to do this with AI fill.
 
Here is my approach that I used which included gernative fille.

First, since the original without the red circle was not provided. I first selected around the red selection and did a generative fill.

Screenshot 2025-06-10 at 5.07.37 PM.jpg

I had to do a little healing on the right side of the drum to make it look as it should:

Screenshot 2025-06-10 at 5.11.35 PM.jpg

I then made a selection in line with the left side edge of the paneling and selected all the areas that needed fixing and used generative fill:

Screenshot 2025-06-10 at 5.15.05 PM.jpg

It was pretty good yet did not get the edge wall edge exactly right so also did some healing/cloning within the selection for this result:

Screenshot 2025-06-10 at 5.19.41 PM.jpg

I hope that helps
John Wheeler
 
I don't know what the rest of your image looks like, but first I cropped into the image so that the mismatched area was cropped out. Then I recropped the area, pulling out with the generative expand option selected.. Using the selection and clone tool. I matched the bottom trim of the wall to the left side.

Cropped back:

1749598882526.png

Cropped/expanded with Generative Expand option:
1749598750746.png
 
Here is my approach that I used which included gernative fille.

First, since the original without the red circle was not provided. I first selected around the red selection and did a generative fill.

View attachment 151318

I had to do a little healing on the right side of the drum to make it look as it should:

View attachment 151319

I then made a selection in line with the left side edge of the paneling and selected all the areas that needed fixing and used generative fill:

View attachment 151320

It was pretty good yet did not get the edge wall edge exactly right so also did some healing/cloning within the selection for this result:

View attachment 151321

I hope that helps
John Wheeler
Wow, thank you for the detailed explanation! I've been using the crop + generative expand approach, similar to to JeffK above, but haven't used the generative fill based on selections very much. I managed to recreate what you did here, but as you mentioned, the wall edge isn't exactly right. I've been using the healing tools before, but always struggle when I need to base the healing on another part of the image. Is there any chance that you can explain how you did" healing/cloning within the selection"?
 
Hi @mr.kenken

Sure, I can show about the same steps. I typically delete the files after posting to save disk space yet I will start with the image I already posted part way through.

Do note that Generative Fill gives highly variable results and sometimes you have to give it multiple gos to get it right.

So I recreated the selection and the guide to match the flooring on the left:

Screenshot 2025-06-11 at 10.06.45 AM.jpg

I used generative fill until I got a reasonable result though the edege at the floor as you have also seen was not too great:

Screenshot 2025-06-11 at 10.09.32 AM.jpg

I used the Select > Reselect command to reselect the previous selection, which I had previously used for healing or cloning. For this example, I only use the stamp tool for cloning:

Screenshot 2025-06-11 at 10.10.42 AM.jpg

I am providing a larger screen shot the includes the stamp tool and brush settings that were used (relatively soft brush and with the alignment option checked) as well as where I set the sample point from at red arrow and then the starting point and brush direction that I used for the cloning with the green arrow. Note that it may not look perfect when you are doing it, yet this area is not the center of attraction, so it does not have to be perfect.

Screenshot 2025-06-11 at 10.26.24 AM.jpg

After cloning, I removed the selection edge and moved the guide out of the way. Since the selection was used, you get a pretty clean edge.

Screenshot 2025-06-11 at 10.27.06 AM.jpg

I hope the extra step-by-step clarifies the details. Sometimes you have to go back a step to retry cloning until you are satisfied with the result, and that all comes with a bit of practice/experience.

John Wheeler
 
Hi @mr.kenken

Sure, I can show about the same steps. I typically delete the files after posting to save disk space yet I will start with the image I already posted part way through.

Do note that Generative Fill gives highly variable results and sometimes you have to give it multiple gos to get it right.

So I recreated the selection and the guide to match the flooring on the left: [deleted to minimize reply]
Thank you very much! I've never used the stamp tool before. I'm happy with the result - It's not perfect, but as you mentioned, it doesn't have to be so in the corner. Skjermbilde 2025-06-11 214522.jpg
 


Write your reply...

Back
Top