[ptx] hugin 0.6 problem when loading photo from autopano-sift

Emmanuel Favre-Nicolin manouchk at gmail.com
Sun Jul 30 22:07:28 BST 2006


My first test with hugin 0.6 gave me a little problem when I create control 
points. No control point is loaded (after closing autopano-sift) and an error 
message appears in the console where hugin was loaded.

The error message is :

ERROR: 17:50:24.862504 (AutoCtrlPointCreator.cpp:79) 
readUpdatedControlPoints(): Could not find image 0, name: IMG_9102.JPG in 
autopano output

For information :

initial pto file is :
# hugin project file, version 1
p f2 w3000 h1500 v360  n"TIFF c:NONE"
m g1 i0 f0

# image lines
i w3072 h2048 f0 K0a1 K0b0 K1a1 K1b0 K2a1 K2b0 Va0 Vb0 Vc0 Vd0 Vx0 Vy0 a0 b0 
c0 d0 e0 g0 p0 r0 t0 v67.3571 y0  u10 n"IMG_9102.JPG"
i w3072 h2048 f0 K0a1 K0b0 K1a1 K1b0 K2a1 K2b0 Va=0 Vb=0 Vc=0 Vd=0 Vx=0 Vy=0 
a=0 b=0 c=0 d=0 e=0 g=0 p0 r0 t=0 v=0 y0  u10 n"IMG_9103.JPG"
# specify variables that should be optimized
v p1 r1 y1 
v 
# control points
#hugin_options r0 e2

and PTO file created by autopano-sift seems to be :

cat /tmp/autopano_result_tempfile.pto

# Hugin project file
# automatically generated by autopano-sift, available at
# http://cs.tu-berlin.de/~nowozin/autopano-sift/

p f2 w3000 h1500 v360  n"JPEG q90"
m g1 i0

i w3072 h2048 f0 a0 b-0.01 c0 d0 e0 p0 r0 v180 y0  u10 n"IMG_9102.JPG"
i w3072 h2048 f0 a=0 b=0 c=0 d0 e0 p0 r0 v=0 y0  u10 n"IMG_9103.JPG"

v p1 r1 y1

# match list automatically generated
c n0 N1 x1451.170432 y298.013503 X1452.581317 Y296.990346 t0
c n0 N1 x2849.748837 y810.005980 X2848.202780 Y810.606867 t0
c n0 N1 x2862.749858 y844.659358 X2862.170769 Y844.560977 t0
c n0 N1 x1624.392792 y603.136182 X1624.264506 Y601.933961 t0
c n0 N1 x1884.258703 y403.518079 X1887.560028 Y404.162638 t0
c n0 N1 x415.584258 y453.283658 X412.835355 Y452.270831 t0
c n0 N1 x1543.315070 y361.499485 X1542.922605 Y362.760444 t0
c n0 N1 x2703.346370 y88.750856 X2702.423339 Y89.198618 t0
c n0 N1 x2716.849396 y200.655629 X2715.362043 Y201.528854 t0
c n0 N1 x1099.906801 y526.460073 X1100.008888 Y525.438941 t0
c n0 N1 x2519.610007 y417.791080 X2519.509134 Y417.354570 t0
c n0 N1 x1427.285318 y359.275792 X1430.762675 Y359.897822 t0

# :-)



I've built hugin on gentoo using the same ebuild than the one of version 0.5 
(I just omitted the gcc4.1 patch). I tested this problem wih photos located 
in a directory which path contains only ascii caracters. Anyone else can 
reproduce this behaviour ?


More information about the ptx mailing list