Package: hugin
Version: 0.6.1-1
Severity: normal

*** Please type your report below this line ***

Well, hugin does not work anymore. It used to work when I used the
version from debian-multimedia.org. Even with only two images and seven
manually set or 19 autopano-sift control points the optimizer always returns:

"Optimizer run finished.
Results:
 average control point distance: 3.464987
 standard deviation: 1.607763
 maximum: 6.482469

*WARNING*: very high distortion coefficients (a,b,c) have been
estimated.
The results are probably invalid.
Only optimize all distortion parameters when many, well spread control
points are used.
Please reset the a,b and c parameters to zero and add more control
points

Apply the changes anyway?"

Applying and canceling seem to have the same zero effect on the
resulting panorama, and preview shows nothing but black. Even with just the 
images and no control points. 

I newer used the lower level tools without hugin, so I'm
not able to debug this on my own, sorry. I think the old version
displayed the images as they are in the preview if there were no control
point or optimisation was not done. Autopano-sift from
debian-multimedia.org finds 19 matching controlpoints, but
stiching in hugin seems broken.

Screen shots and the images I want to stitch:

http://kapsi.fi/mcfrisk/temp/hugin_control_points.png
http://kapsi.fi/mcfrisk/temp/hugin_optimisation.png
http://kapsi.fi/mcfrisk/temp/hugin_preview.png
http://kapsi.fi/mcfrisk/temp/img_0141.jpg
http://kapsi.fi/mcfrisk/temp/img_0142.jpg

The few old .pto projects I have work and previews and tiff exports seem fine 
( http://kapsi.fi/~mcfrisk/skiing/kuvia/2006/isosyote/ ).
The field of view seems to get really big for some reason, but that I
can adjust manually. 

Below is the .pto, terminal output from hugin and some log I found from /tmp.

-Mikko

-----------seq_051.pto-----------------------
# hugin project file, version 1
p f2 w8513 h5959 v10  k0 n"TIFF c:NONE"
m g1 i0 f0

# image lines
i w3072 h2304 f0 K0a1 K0b0 K1a1 K1b0 K2a1 K2b0 Va0 Vb0 Vc0 Vd0 Vx0 Vy0 
a-0.348965 b1.0805 c5.24587 d-9505.05 e-38749.2 g0 p1.45266e-05 r-8.31102e-05 
t0 v17.8078 y9.76183e-05  u10 n"/home/mcfrisk/08042006/img_0141.jpg"
i w3072 h2304 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.067652 r-0.768484 t=0 v=0 y0.117025  u10 
n"/home/mcfrisk/08042006/img_0142.jpg"


# specify variables that should be optimized
v a0 b0 c0 d0 e0 v0 
v p1 r1 y1 
v 

# control points
c n0 N1 x1561 y1199 X829.838 Y1137.85 t0
c n0 N1 x2284 y611 X1568.9 Y571.921 t0
c n0 N1 x2767 y616 X2047.83 Y592.01 t0
c n0 N1 x2345 y1337 X1606.3 Y1295.92 t0
c n0 N1 x2256 y1668 X1509.11 Y1625.04 t0
c n0 N1 x2891 y1633 X2139.23 Y1604.49 t0
c n0 N1 x2982 y1909 X2221.15 Y1880.11 t0
c n0 N1 x2955 y1053 X2222.49 Y1031.1 t0

#hugin_options r0 e2
---------------------------------------

-------------hugin.log-----------------
Panorama obj created
/usr/share/locale
Optimizing Variables
Strategy 1
Average (rms) distance between Controlpoints 
after 0 iteration(s):          3.69876302917719 units
Strategy 1
Average (rms) distance between Controlpoints 
after 1 iteration(s):          3.69876302917719 units

Optimizing Variables
Strategy 2
Average (rms) distance between Controlpoints 
after 0 iteration(s):          3.69876303001125 units
Strategy 2
Average (rms) distance between Controlpoints 
after 1 iteration(s):           3.6986375827792 units
Strategy 2
Average (rms) distance between Controlpoints 
after 2 iteration(s):          3.69863758031614 units
------------------------------------

----------/tmp/hugin_debug_optim_results.txt--------------------
# PTOptimizer script, written by hugin

p f2 w8513 h5959 v10  k0 n"TIFF c:NONE"
m g1 i0 f0

# image lines
i w3072 h2304 f0 a-0.348965 b1.0805 c5.24587 d-9505.05 e-38749.2 g0 
p1.45266e-05 r-8.31102e-05 t0 v17.8078 y9.76183e-05  u10 
n"/home/mcfrisk/peebin_kuvia_01/08042006/img_0141.jpg"
i w3072 h2304 f0 a=0 b=0 c=0 d=0 e=0 g=0 p0.0668574 r-0.774068 t=0 v=0 
y0.114047  u10 n"/home/mcfrisk/peebin_kuvia_01/08042006/img_0142.jpg"


# specify variables that should be optimized
v a0 b0 c0 d0 e0 v0 
v p1 r1 y1 
v 

# control points
c n0 N1 x1561 y1199 X829.838 Y1137.85 t0
c n0 N1 x2284 y611 X1568.9 Y571.921 t0
c n0 N1 x2767 y616 X2047.83 Y592.01 t0
c n0 N1 x2345 y1337 X1606.3 Y1295.92 t0
c n0 N1 x2256 y1668 X1509.11 Y1625.04 t0
c n0 N1 x2891 y1633 X2139.23 Y1604.49 t0
c n0 N1 x2982 y1909 X2221.15 Y1880.11 t0
c n0 N1 x2955 y1053 X2222.49 Y1031.1 t0

#hugin_options r0 e2

*

# ====================================================================
# Output  generated by Panorama Tools

# 43 function evaluations
# the relative error in the sum of squares is at most tol
# final rms error 3.69864 units

# Panorama description
# p f2 w8513 h5959 v10 n"TIFF c:NONE"

# Parameters for Each Input Image:
# (*) - optimized         (p) - preset 

# Image No 0:
# Yaw:  9.76183e-05 deg (p)     Pitch:  1.45266e-05 deg (p) 
# Roll: -8.31102e-05 deg (p)    HFov:   17.8078 deg (*)
# Polynomial Coefficients: a   -0.348965 (*); b   1.080500 (*); c   5.245870 (*)
# Horizontal Shift: -9505.050000 (*)   Vertical Shift:  -38749.200000 (*)
# 4th polynomial coefficient: -4.97741
# Command for Panorama Creation: 
o f0 r-8.31102e-05 p1.45266e-05 y9.76183e-05 v17.8078 a-0.348965 b1.080500 
c5.245870 g0.000000 t0.000000 d-9505.050000 e-38749.200000 u10 -buf 

# Image No 1:
# Yaw:  0.114047 deg (*)        Pitch:  0.0668574 deg (*) 
# Roll: -0.774068 deg (*)       HFov:   17.8078 deg (*)
# Polynomial Coefficients: a   -0.348965 (*); b   1.080500 (*); c   5.245870 (*)
# Horizontal Shift: -9505.050000 (*)   Vertical Shift:  -38749.200000 (*)
# 4th polynomial coefficient: -4.97741
# Command for Panorama Creation: 
o f0 r-0.774068 p0.0668574 y0.114047 v17.8078 a-0.348965 b1.080500 c5.245870 
g0.000000 t0.000000 d-9505.050000 e-38749.200000 u10 +buf 


# ==========================================================================
# Control Points: Distance between desired and fitted Position (in "Pixels")

# Control Point No 0:  1.99921
# Control Point No 1:  5.71564
# Control Point No 2:  4.18272
# Control Point No 3:  0.518286
# Control Point No 4:  2.28674
# Control Point No 5:  3.72862
# Control Point No 6:  5.79167
# Control Point No 7:  1.52809
------------------------------------------------

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'testing'), (500, 
'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages hugin depends on:
ii  hugin-bin                     0.6.1-1    hugin binaries
ii  hugin-tools                   0.6.1-1    some tools for hugin
ii  libpano12-bin                 2.8.3-1    panorama tools utilities

hugin recommends no packages.

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to