[ptx] Bug in Hugin for many images
Mike Runge
mike at trozzreaxxion.net
Mon Jul 19 15:40:36 BST 2004
Mathieu,
I though about a possible reason, why it fails only in rectangular mode.
Can it be, that you have taken many images with large overlaps?
Maybe while protecting rectlinear at least one image becomes completely
obsolete? When projecting rectlinear the single images are hardly stretched
at large values for the yaw angle - more than using equirectangular mode. I
think the nona stitcher failes if an image of zero dimensions results.
Have you tried to start nona from shell and did you looked for error
messages? Maybe they tell which image causes the problem and just removing it
(it's obsolte ;-) ) will help.
I think the PTStitcher engine has no problems with that special case.
best, mike
On 7/19/2004, "mathieu.tobie.ptx at voila.fr" <mathieu.tobie.ptx at voila.fr>
wrote:
> Hi!
>
>I am new in this forum...
>
>I tried Hugin (0.4 pre) to stitch many photos taken by my drone (about 50
photos). I want to generate automatically keypoints so I use autopano-sift
1.4 created by sebastian nozowin :
http://user.cs.tu-berlin.de/~nowozin/autopano-sift/
>
>Sometimes, using the option "Rectilinear", it works well and sometimes
not...
>
>The facts are the following :
>For the same project .pto:
>1- Using autopano, I generate keypoints for 16 images (for example) : when I
launch stitch in "Rectilinear", it bugs, in "Equirectangular", it works.
>2- I remove photo by photo to see if one creates the bug : I see if there
are 12 photos, it works in "Rectilinear" and "Equirectangular".
>3- I take the 13th photo with the 12th: it bugs in "Rectilinear", but not in
"Equirectangular" !
>4- I create a new project with the 12th and 13th : I put keypoints manually
(without autopano) : it works for the 2 options.
>5- So I think it is due to autopano, but when I just create automatically
with autopano a ".pto" with the 12th and 13th, it works for the 2 options!!!
>
>So to sum up, it always works in "Equirectangular", but I can't determine
why "Rectilinear" bugs when there are many images (and coming from
autopano)!
>
>I have the following messages:
>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>ERROR: 10:24:24.714323 (../include/PT/PTOptimise.h:132) discover_vertex():
image 0: no optimized neighbour images
>ERROR: 10:24:37.260161 (PanoPanel.cpp:588) DoStitch(): Error during
stitching:
>Precondition violation!
>basicImage::upperLeft(): image must have non-zero size.
>(/usr/include/vigra/basicimage.hxx:611)
>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>or
>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>ERROR: 11:09:46.123304 (../include/PT/PTOptimise.h:132) discover_vertex():
image 0: no optimized neighbour images
>ERROR: 11:10:06.985171 (PanoPanel.cpp:588) DoStitch(): Error during
stitching: St9bad_alloc
>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>
>I could always use Equirectangular but it doesn't give me the results I want
cause it is far too deformed !
>So i'd like to stay in "Rectilinear"...
>
>Here are joined my 3 projects pto (I can't join photos because they are too
big)...
>
>1- test_12_and_13_coming_autopano : there were 16 images : keypoints and
pto generated by autopano and then I removed all images except 12th and 13th,
then saved with Hugin.
>
>2- created_manually.pto : same images butr keypoints created manually
>
>3 - with_autopano : same images but keypoints and pto created by autopano.
>The last two pto work...
>
>(I hope it is not too big in memory).
>
>Regards,
>Mathieu Tobie.
>
>------------------------------------------
>
>Faites un voeu et puis Voila ! www.voila.fr
>
>
>
More information about the ptX
mailing list