[ptx] Crash on optimise

Douglas Wilkins douglasw at zahav.net.il
Thu Oct 14 19:31:00 BST 2004


On Thu, 2004-10-14 at 11:14 +0200, Bram de Jong wrote:
> Hi everyone,
> 
> I have a failsafe method of generating a crash everytime I run Hugin :)
> 
> Using: hugin_2004_09_15-01_30_win32.zip
> 
> Load this:
> http://bram.smartelectronix.com/tmp/crash_test_dummy.zip
> (file created with autopano with /project:hugin settings at command line)
> 
> And just try to get through the optimisation with pairwise: I get
> assertion failures each time.
> 
> **Maybe** it's the EXIF of my camera or something: when I hit the
> "load lens settings from EXIF" I get 130-degrees, which seems a bit
> strange (or am I wrong). The camera is an Olympus C8080-WZ. The images
> are resized because I didn't think you guys would like my 8MPix JPG's
> ;-) (but I tested the crash with the resized images)
> 
> can anyone help?
> 
>  - bram
> 

Hi there,
OK, so the current version of hugin on linux copes with these fine exept
it produces lines like these:
ERROR: 17:53:18.522022 (Panorama.cpp:126) getPTStringParam(): could not
find string param n in line: o f0 y+0.000000 r+0.000000 p+0.000000 u20
d0.000000 e0.000000 v70.000000 a0.000000 b0.000000 c0.000000

As far as the EXIF Info is concerned, the camera info gives a focal
length of 7.1 mm but does not have a crop factor so hugin does the
following:
ERROR: 17:57:35.534655 (PanoramaMemento.cpp:157) readEXIF(): EXIF does
not contain sensor width, assuming 36 x 24 mm film
(hence the 130-degrees) 
PTLens database shows 3.933 as the crop factor to use (equivalent focal
length ~28mm). By the way, at the wide angle you are using, it might be
worth running the photos through PTLens first to correct the
distortions, or use a = 0.013182 and  b = -0.036019.
All of this aside, I have attached an updated .pto that seems fairly
accurate

regards,
Doug



More information about the ptX mailing list