Stereographic lens projection not loaded from lens .ini file

Bug #790039 reported by Janne on 2011-05-30
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I have lens profiled and have saved the profile as a .ini file. When I load images Hugin asks for the FoV etc for the images as usual and if I use the load lens button and point Hugin to the lens profile, the lens projection shown isn't correct (should be stereographic, is rectilinear instead) and wrong focal length is reported (should be 8.8mm but 6.23mm is shown instead). I have to set the lens type to stereographic first and then load the lens profile. Equirectangular and rectilinear projection are reported correctly though.

Lens is non-CPU one but I've set up my camera so that correct focal length is stored in the EXIF data of the images.

Here's a screenshot:

Win7 x64, Hugin 2011.0.0.0fd3e119979c built by Matthew Petroff (2011.1 RC1?).

johnb (namklim) wrote :

Using the 32-bit Win XP build 2011.0.0.0fd3e119979c built by Matthew
I am using a Samyang 8mm lens on a Pentax.
If I load a set of images the Assistant shows lens type Normal
(rectilinear) focal length 8mm.
If I then select Load Lens in Assistant and load my stored .ini file
for the Samyang it changes to Normal (rectilinear) focal length 3.86mm
(and shows the same parameters and Lens type on the Camera and Lens
tab). An align with those settings will not produce correctly stitched
However, if I use Load Lens from the Camera and Lens tab and load the
same file the correct data in loaded: Lens type Stereographic, focal
length 9.53mm (shows on both Assistant and Camera and Lens tab) and
the images stitch correctly.

tmodes (tmodes) wrote :

Tried to fix in rev 6edb80275ed6

Changed in hugin:
status: New → Fix Committed
Yuv (yuv) on 2011-07-17
Changed in hugin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers