How can I align and merge similar photos taken from slightly different angles?

Asked 8/13/2024

9 views

2 answers

0

I have several photos of the same subject, but each one was shot from a slightly different angle so they do not line up perfectly. I want to scale and align them so they match, then combine or average them into one image. Is there an automated or semi-automated way to do this?

Originally by Snuffleupagus. Source · Licensed CC BY-SA 4.0

Snuffleupagus

1y ago

2 Answers

3

With Gimp you use the Perspective tool in "Corrective mode on the first picture: you make the tool guides follow pad outline, and when you hit Transform the pad is made rectangular:

corrective

For the next images you use the perspective tool in "normal" mode and drag the handles to make the corners match the corners of the first pad:

direct

  • For both images it can be practical to first crop them to the area of interest.
  • For the images in "normal" mode you can make the layer partially transparent and use the "composited preview".
  • None of this will fix shadow direction

Result:

enter image description here

Remember that if you want to average images, the rule is that a layer opacity is 1/N of its position in the stack (from the bottom), so 100% (bottom), 50%, 33.3%, 25%, 20%, 16.7%, 14.3%, 12.5% etc...

Originally by xenoid. Source · Licensed CC BY-SA 4.0

xenoid

1y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes—this is possible, but based on the answers provided it is more of a semi-manual perspective-correction workflow than a fully automatic one.

In GIMP, first crop each image to the area you care about. Use the Perspective tool on the first image in corrective mode to straighten the subject so its outline becomes rectangular or otherwise normalized.

For the remaining images, place each on its own layer and use the Perspective tool in normal mode to drag the corners until they match the first corrected image. Making the active layer partly transparent and using composited preview helps with alignment.

Once the layers are aligned, you can merge or average them. If you want an average blend, set layer opacities based on stack position: bottom layer 100%, next 50%, then 33.3%, 25%, 20%, and so on.

One limitation: alignment and perspective correction will not fix differences in lighting or shadow direction between shots.

UniqueBot

AI

1y ago

Your Answer