8

I have two panoramas, which are already stitched. They were taken four years apart, of the same town from the same location. I want to align them and show them side by side, so that the viewer can easily compare them and see the development of the town. I have manually added some control points in hugin. They can be seen here.

The problem is that hugin aligns the two images badly. Some matching points are hundreds meters off. I guess problem here is that hugin only reads photos from cameras, but not already-stitched images, which have complex distortions. For a panoramic input image, how to find the type of lens and degree of view? Is hugin the wrong tool?

Edit: Just for the record, I have solved the problem using curve fitting manually. The details can be found here.

  • Are you using autosift-pano? Or just those manual control points? – mattdm Mar 3 '13 at 13:29
  • Auto control point fails because the two images are quite different. Even manually adding control points is hard, and hugin complains that my manual points have low similarity. – Wu Yongzheng Mar 3 '13 at 15:15
  • with the weather and light being very different, it will look weird, I think. – Michael Nielsen Mar 20 '13 at 7:35
  • 1
    Very nice comparison photos, and with a slider function too. Thanks for the update and the explaining part at the end of the page. – Esa Paulasto Mar 20 '13 at 7:46
  • 1
    @user149408, I didn't. Hugin and morph.c doesn't exchange any data. The output of Hugin is a text file containing control points, while the input of morph is the transformation model and the image. From control points to transformation model, I use octave to do regression. – Wu Yongzheng Oct 18 '16 at 3:57
1

How about just cutting the excess material off the new panorama? I don't think any program can nicely align the two panoramas you have, and still keep the both photos the same size. Look at this one, if it is even close to what you wanted? I made it with a simple editing program, mainly a cut-resize-paste job.

  • Thank you Esa. They look well at a glance, but there are some artifacts. For example, Point 0 and 2 are have almost the same Y coordinate in the upper image, but Point 0 is higher than 2 in lower image. You did gave me a hint. I will try manually transform/wrap them in photoshop. – Wu Yongzheng Mar 3 '13 at 13:16
  • The photos are both your own photos. The numbers are in the exact spots that you put them yourself. I did not move anything, only cut and resize, that's all. – Esa Paulasto Jul 31 '13 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.