hugin problem, randomly rotating source images

3,916 views
Skip to first unread message

galocza

unread,
Nov 30, 2008, 3:41:14 PM11/30/08
to hugin and other free panoramic software
hi,
i can only hope that i post my problem in the right place. i havent
found a hugin forum at sf.net only a link to this group.
im an amateur pont&clicker but i enjoy making a panoramic image now
and then. ive created about 8-10 such images with hugin in the last
year without problems. i dont understand half of the terminology, so i
only change settings that i understand.
this weekend ive shot photos for 3 panoramic pictures, one of them was
created successfully but with two of them i encountered a strange
problem. after adding the images and pressing "align" some of the
pictures are rotated or even upside down on the "control points" tab
and i think this causes the problem: in the preview window the image
is very strangely stitched, distorted.
on "images tab" they are all in the right orientation, exif says they
are all right. control point pairing seem to be in order even on the
rotated pictures, but the result is wrong, and i think it is because
of the orientation, but i dont know why hugin rotates them.
i tried to include fewer pictures in the panoramic image, i succeeded
with two, but adding a third gave wrong results again.
i use a different camera now than earlier (canon ps s710 is earlier,
now a canon ps a530), i dont know if this can cause problems. i used
the cameras stitch assist feature like many times in the past.
so, please if somebody could tell me: what do i do wrong?
thanks in advance,
galocza

ps: ive uploaded the source pictures and 2 hugin screenshots (sorry,
25mb) here:
http://freebies.uw.hu/hugin.zip

Dale Beams

unread,
Nov 30, 2008, 6:11:14 PM11/30/08
to hugi...@googlegroups.com
I too have encountered this problem.  At one time I thought it was only confined to yellow/brown panos, but recently have noticed it on pano with multiple hues.  I have been unable to find anyone that could explain the problem






> Date: Sun, 30 Nov 2008 12:41:14 -0800
> Subject: [hugin-ptx] hugin problem, randomly rotating source images
> From: galo...@gmail.com
> To: hugi...@googlegroups.com

galocza

unread,
Dec 1, 2008, 12:58:59 AM12/1/08
to hugin and other free panoramic software
i forgot to mention that i tried to pre-rotate the pictures in the
other direction before loading them into hugin hoping that i theyll be
ok this way but no success.
the former camera was a710is not s710is (im not sure if this is
important). mistyped, sorry.
g

Seb Perez-D

unread,
Dec 1, 2008, 4:04:56 AM12/1/08
to hugi...@googlegroups.com
On Sun, Nov 30, 2008 at 21:41, galocza <galo...@gmail.com> wrote:
> on "images tab" they are all in the right orientation, exif says they
> are all right. control point pairing seem to be in order even on the
> rotated pictures, but the result is wrong, and i think it is because
> of the orientation, but i dont know why hugin rotates them.
> i tried to include fewer pictures in the panoramic image, i succeeded
> with two, but adding a third gave wrong results again.

You may have bad control points: review each pair of connected images,
and see if the control points seem to refer to the same location in
the left and right image. Delete the bad control points, and
reoptimize.

Cheers,

Seb

galocza

unread,
Dec 1, 2008, 6:28:54 AM12/1/08
to hugin and other free panoramic software
thank you for your replies.
control point pairing do seem to be in order, even when one of the
pictures is rotated by 90 or 180 degrees.
ive uploaded two screenshots separately to demonstrate it better:
http://freebies.uw.hu/hugin1.jpg
http://freebies.uw.hu/hugin2.jpg
thx,
g

Dane

unread,
Dec 1, 2008, 11:58:05 AM12/1/08
to hugin and other free panoramic software

If this is a 360 degree panorama, make sure you allow it to optimize
"View".

galocza

unread,
Dec 1, 2008, 4:19:50 PM12/1/08
to hugin and other free panoramic software
it seems that all my problems have to to with autopano-sift-c. i
selected the old autopano 1.03 in hugin 0.7.0 and all my worries gone.
i never could get autopano-sift to work and it seems that i dont have
much luck with with the c version either.
so if sbody runs into the same problem, try autopano 1.03, autopano-
sift-c or its implementation in hugin(?) seems to be buggy.
cheers,
g

paul womack

unread,
Dec 2, 2008, 4:54:39 AM12/2/08
to hugi...@googlegroups.com

This must be context dependent, if true.

SIFT works fine for me.

BugBear

panoplayer

unread,
Dec 2, 2008, 10:49:07 PM12/2/08
to hugin and other free panoramic software
Control points are not in order, not when one of the images is upside
down. I had the same problem, though mine was caused by the auto
seeking control points to select one point in the clouds of the sky in
one picture and from the reflection of the cloud in the water in the
next one.

My solution was to bring up the the control point table and to delete
all the control points with large distances, i.e. more than 1.00.
Then I went in and now my images were correctly aligned but I had to
manually put in control points, something very easy to do with Hugin.

Dale Beams

unread,
Dec 2, 2008, 11:32:21 PM12/2/08
to hugi...@googlegroups.com
The problem for me is that the control points were in order.  I can reproduce this over and over again.  I'll post a test case and links later this week.  I understand the user's problem, as I have the same problem.






> Date: Tue, 2 Dec 2008 19:49:07 -0800
> Subject: [hugin-ptx] Re: hugin problem, randomly rotating source images
> From: redwo...@gmail.com
> To: hugi...@googlegroups.com

Seb Perez-D

unread,
Dec 3, 2008, 4:13:21 AM12/3/08
to hugi...@googlegroups.com
On Wed, Dec 3, 2008 at 05:32, Dale Beams <drb...@hotmail.com> wrote:
> The problem for me is that the control points were in order. I can
> reproduce this over and over again. I'll post a test case and links later
> this week. I understand the user's problem, as I have the same problem.

Have you tried to:

- reset all image positions. All images should be in the same orientation
- check that you do not have too many vertical or horizontal control
points/lines
- optimize on (y,p,r,b). If it is a 360° panorama, have you checked
that the field of view for the lens is correct? optimize on the field
of view as well.
- after optimization, check the control points with a large distance.

Cheers,

Seb

Matthias Urlichs

unread,
Dec 2, 2013, 6:01:04 AM12/2/13
to hugi...@googlegroups.com


On Wednesday, December 3, 2008 10:13:21 AM UTC+1, Seb Perez-D wrote:

Have you tried to:

… all of the above.

If nothing else works, save the project and open it in a text editor. The line starting with 'i' which corresponds to the upside-down image should have a number close to +/- 180. Add (or subtract) 180 from that, so that it's close to zero.

Save, open the project in Hugin, re-optimize, everything should be OK.
Reply all
Reply to author
Forward
0 new messages