[layout] Focal length is incorrect for portrait images

Bug #679317 reported by James Legg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Hugin
Fix Released
Critical
Unassigned

Bug Description

In gsoc2009_layout, the focal length shown on the camera and lens tab does not match up with the focal length from trunk. This occurs when the image is a portrait fisheye image. The focal length is out by the aspect ratio.

Revision history for this message
rew (r-e-wolff) wrote :

Tested: I took two shots, one rotated 90 degrees. My images happen to be frames from a movie so, they don't have exif. If put in 40.5 degrees FOV for the portrait image. and 65 degrees for the landscape image. Both images show a focal length on the order of 29 mm. (correct!).

But one Image renders completely wrong.

To reproduce:
  http://prive.bitwizard.nl/test_ls.jpg
  http://prive.bitwizard.nl/test_pt.jpg

and enter the above FOV's for the images (40.5 for the pt and 65 for the other).
Next click align.

Tested on Pre-Release 2010.4.0.1e3fcb26cf9e

Changed in hugin:
status: New → Triaged
Yuv (yuv)
Changed in hugin:
status: Triaged → Confirmed
rew (r-e-wolff)
tags: added: calculation focal fov length preview rendering
Yuv (yuv)
Changed in hugin:
importance: High → Critical
Revision history for this message
Yuv (yuv) wrote :

Tested on 2016.0.0~rc2+sfsg-1ubuntu1~trusty Xubuntu 14.04LTS

following the process in comment #1, the images now align and render well, however they end up in the nadir (using the Assistant / Simple Interface).

tmodes (tmodes)
Changed in hugin:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.