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!

Aligning two images - not auto-align


bockyPT

Member
Messages
5
Likes
0
Hi there,

I'm having trouble correctly aligning two images where the same object appears but the context is way too different to have auto-align do the job for me.

Is there any way I can specify, say, 4 points that match in both layers and have Photoshop align them all (and, consequently, align the two images correctly)?

Best regards,
FS
 
Hi bocky, not sure about using points, but you can align layers
I highlight a specific layer, hit control/command + A, then use the move tool's alignment buttons in the tool bar to align the layer where I want it.
 
If there's something on both images that is identical or near identical, set the blending mode of the top layer to "Difference".
As you line up the identical items, the item will turn back.

I like the cut of your jib, cowboy. That's some clever thinking.
 
Hi bocky, not sure about using points, but you can align layers
I highlight a specific layer, hit control/command + A, then use the move tool's alignment buttons in the tool bar to align the layer where I want it.
I should have explained better, I think. The objects I want to align are not at the same scale/rotation/skew/etc, hence the points example I gave.

If there's something on both images that is identical or near identical, set the blending mode of the top layer to "Difference".
As you line up the identical items, the item will turn back.
Yeah, that's what I've been doing, but I was hoping there was some other way since it's way too much work and the results are not as good as they could be, especially because of what I said above.

Thanks for your answers though!
 
I can't due to copyright issues, but I'll add more details: I'm trying to align two photos taken some 20 years apart, where the same building is present, but the surrounding area is very different.
 
Oh, and the alignment issues come from the photos being taken at approximately the same position, but not exactly. Also, different lenses create different distortions, and so on.
 
When I've been faced with a similar problem, I have also used the difference method that Steve suggested. However, I don't rely on differencing the actual content of the image because of possible exposure, contrast, color differences. Instead, I manually add a few fiducial markers (http://en.wikipedia.org/wiki/Fiduciary_marker, aka, landmarks) to each image and then look for differences in the well defined markers.

Obviously, I don't want to deface the actual images, so I add the markers to an empty layer above each of the two images, and then group those layers with their respective images. I then nudge, rotate, stretch, etc. one group relative to the other. When I'm done, I just turn off the two marker layers.

BTW, when trying to line them up, I make full use of the ability to drag the center of rotation of a layer to any arbitrary position on that layer, such as the location of one of the landmarks. This makes it a lot easier to separate translation and scaling changes from rotational changes.

Another tip: As you pointed out, pincushion, barrel and other geometric lens distortion differences between the two images are another source of problems. If there are any corresponding places near the edges of the frames, I'll put some fiducial markers out there, as well as right on the subject. I'll first move, rotate, scale, skew the images to get good alignment of the markers on or near the subject, then I'll apply a distortion correction program to the result of that process to improve the alignment of the markers near the edge of the frame. The results are usually quite good with one pass, but sometimes you then have to iterate and touch up the overlap of the central markers. The distortion program I use is: http://powerretouche.com/Lens-distortion_plugin_tutorial.htm.

Finally, I should mention that I have a couple of HDR programs that have auto-alignment features. I've tried these for this sort of task. Sometimes, they work, other times they don't. I eventually gave up on them and reverted back to the old-fashioned manual method -- it's a bit more work, but you are guaranteed as good a result as your source images will allow.

HTH,

Tom M
 
Hi Tom,

Thanks for your detailed reply, it was very helpful! I will try to use the markers and I feel it's going to help a lot.

It's still not the automated way I was hoping for, but much better than what I've been doing so far.
 

Back
Top