[ptx] bug (?) in viewer when FOV is small

manouchk manouchk at gmail.com
Thu Jan 26 13:21:38 GMT 2006


Hi,

I have a crash when doing centering in previewer when FOV is small about 1° 
(microscope shots)

in the terminal where hugin where started, it gives the following message :

terminate called after throwing an instance of 'vigra::PreconditionViolation'
  what():
Precondition violation!
basicImage::upperLeft(): image must have non-zero size.
(../../src/foreign/vigra/basicimage.hxx:611)

when increasing FOV (decreasing focal length the crash desappear but stitching 
is worst). As centering is not possible, stitiching is difficult too because 
the pictures are very far from the center. A workaround would be to have the 
possibility to click the center to get the pano centered that could/may 
replace the center button?

pto files starts like that :

# PTOptimizer script, written by hugin

p f2 w3000 h16500 v6  k15 n"TIFF c:NONE"
m g1 i0 f0

# image lines
i w640 h480 f0 a0.0001 b0.0001 c0.0001 d0 e0 g0 p14.4699 r0.195548 t0 v1.26156 
y-0.378799  u10 n"
01.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p13.9215 r0.172007 t0 v=0 y-0.368678  
u10 n"02.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p13.3935 r0.139445 t0 v=0 y-0.358981  
u10 n"03.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p12.94 r0.129348 t0 v=0 y-0.350472  u10 
n"04.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p12.5309 r0.271217 t0 v=0 y-0.343821  
u10 n"05.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p11.9363 r0.260312 t0 v=0 y-0.333638  
u10 n"06.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p11.9481 r0.406686 t0 v=0 y0.336171  u10 
n"07.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p12.4805 r0.371908 t0 v=0 y0.325441  u10 
n"08.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p13.0472 r0.350821 t0 v=0 y0.308234  u10 
n"09.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p13.5782 r0.377022 t0 v=0 y0.300351  u10 
n"10.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p14.0991 r0.414864 t0 v=0 y0.2873  u10 
n"11.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p14.5594 r0.362578 t0 v=0 y0.280124  u10 
n"12.jpg"
i w640 h480 f0 a=0 b=0 c=0 d=0 e=0 g0 p15.0349 r0.285264 t0 v=0 y0.266789  u10 
n"13.jpg"



Anyway I love hugin!
Cheers,
EMmanuel.
-- 
Nil, Nil, Nil,
Fleuve impétueux et tumultueux,
Tu es comme notre reine,
La source de la vie.
ancien poème Égyptien (Astérix et Obélix - mission Cléopâtre)


More information about the ptx mailing list