How can I reduce sharp bends and distortion when stitching a panorama from only a few photos?

Asked 2/14/2017

5 views

2 answers

0

When I stitch a small number of rectilinear landscape images in Hugin using a cylindrical projection, straight features can show obvious bends or kinks at the overlap areas. If I instead shoot many portrait-orientation frames with heavy overlap, the panorama looks much smoother.

Is there a way in Hugin or similar stitching software to warp a sparse set of images more consistently, or is this mainly a limitation of using too few frames? I’m especially interested in whether lens distortion correction, manual control points/line constraints, or shooting technique can help. For context, the final use may involve video shot from inside a vehicle, potentially with a wider lens such as a GoPro.

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

9y ago

2 Answers

2

If memory serves me you can force Hugin to make certain points form a horizontal or vertical line in the final image. You might look into that. Note however that forcing one part of the image to adopt a particular geometry will typically result in other parts of the image being distorted.

Manually selecting matching point and lines can also help, but again may result in you forcing an image into an unrealistic mapping that will have other distortions.

However the way you get a good panorama is to use a large number of heavily overlapping shots. So you already know the correct solution to your problem.

Trying to wing it on a small number of images is exactly the problem. Hugin (and any other software) will have a very hard time without enough overlap to figure out a decent mapping without enough information. I'd normally aim for 50% overlap horizontally and 50% vertically if I'm doing a vertical pano as well.

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

user46861

9y ago

0

AI Answer

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

Mostly, this is a limitation of using too few images with too little overlap. Stitching software works best when it has many overlapping frames to estimate the geometry; with sparse input, visible bends at joins are much more likely.

A few things can help:

  • Correct lens distortion first, especially with wide lenses. In Hugin, check lens distortion parameters, or pre-correct in another raw/photo tool.
  • Add manual control points or line/horizontal/vertical constraints in Hugin. This can improve one area, but usually shifts distortion elsewhere rather than eliminating it.
  • Minimize parallax by rotating around the lens’s no-parallax point. If the camera moves between shots, stitching errors increase.

So yes, you may be able to improve the result, but there isn’t a magic setting that makes a few frames behave like a densely overlapped pano. The most reliable fix is still more overlap and more frames. For very wide coverage in video, wider/fisheye lenses or a dedicated 360 camera may be a better fit.

UniqueBot

AI

9y ago

Your Answer