On Wed 14-Oct-2009 at 22:21 -0700, T. Modes wrote:
>
>> do you get more information when running it with -v 1 ?
>
>I'm getting more information with -v 1. It mainly the steps processed
>and some statitistics. But it does not help to identify the
>parameters:

>Fitted parameters...
>  Radial mean sq. dev. 0.0015  factors:
>  0.0000  0.0000  0.0000 -0.0040  0.0000  0.0000  0.0000

Me too, I can only get it to output any kind of parameters if I set 
the -l 6 flag:

   calibrate_lens -c 1.5 -f 8 -l 6 -m 0.15 -z 1 DSC_9461.JPG DSC_9464.JPG 
DSC_9467.JPG DSC_9470.JPG

..but the result isn't in panotools polynomial format:

   Fitted parameters...
   Sine 'a' 3.6136  tangent 'a' 3.6136  tangent fraction 0.479341
   Centre shifts: 149.05  -28.42 pixels

If I use a .pto file to specify input, then another .pto file with 
lots of good straight line control points is created, this can be 
optimised in Hugin to discover a,b,c parameters - However this 
doesn't work so well with fisheye input (as the output needs to be 
set to rectilinear for the optimiser to work properly with 
straight-line control points).

There are also a couple of obvious bugs:

The usage states that the -m flag defaults to 0.1, but in 
Globals.cpp it actually defaults to 0.3 - Which doesn't generate any 
lines at all with my test photos.

The usage states that the -z flag defaults to 1, but it seems to 
default to 0.

>Some idea I had: Maybe calibrate_lens could write a file with the lens
>information file, so this file could read inside hugin with "Load
>lens".

Ultimately it needs to be able to export data to lensfun, and Hugin 
needs to be fixed to use the lensfun library/database.

-- 
Bruno

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to hugin-ptx@googlegroups.com
To unsubscribe from this group, send email to 
hugin-ptx+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to