Hi,

I just tried the (freshly compiled) calibrate_lens program on the photograph provided by the download link in my last e-mail on this subject.

I had to use the option "m 0.1", i.e. had to allow very short lines, as the horizontal / vertical edges of the "tiles" (which are actually aluminium panels, I guess) were not identified as continuing lines.

The ouput (as dumped below) is, however, cryptic. As far as I can see, there is no documentation whatsoever for calibrate_lens (?).

Others seem to have the same problems with interpretating the program's results:
http://groups.google.com/group/hugin-ptx/browse_thread/thread/f5afc98072ef1046

Can anybody help?

In principle, I doubt that one should rely on automatic processing when determining such crucial parameters. It's probably better to invest some human, i.e. intelligent, preprocessing.

Wolfgang Hugemann
Lens calibration tool

Version 2009.4.0.4742 built by Allard

Processing image 92.jpg

Rectilinear lens
Crop factor:                    3.72988
Pixel density (pixels/mm):      212.603
Focal length (mm):              9.2
Focal length (pixels):          1955.95

Scaling by:             0.934579
New dimensions:         1600 x 1279
Minimum line length:    160

Detecting edges...
Writing 92_edges_threshold_4_scale_2.jpg
  edgeMap2linePts(saveimages 1): 4598 segments
  linePts2lineList(lmin 160 flpix 1955.95) 
  debug plot dbg_goodlines.jpg  98 lines 
  debug plot dbg_badlen.jpg  8 lines 
  debug plot dbg_badori.jpg  9 lines 
  98 lines
98 lines found

Found 98 lines.

Writing lines to file 92.lines

Camera digicam h 1712 (212.6/mm) v 1368 (212.6/mm)
Lens rectilinear FL 9.2 mm (1955.9 pixels)
Iter: 0, estimate: 0 -- errors 0.0714154252 0.0040568361
Iter: 10, estimate: -0.016153382 -- errors 6.84589016e-005 0.00291043389
Iter: 20, estimate: -0.0161681211 -- errors 4.9119504e-006 0.00291043282
Iter: 30, estimate: -0.016169096 -- errors 9.89986448e-009 0.00291043282
Iter: 40, estimate: -0.0161690958 -- errors 5.04799143e-008 0.00291043282
Iter: 50, estimate: -0.0161690958 -- errors 2.35416946e-006 0.00291043282

Levenberg-Marquardt returned in 51 iterations
reason  2 - stopped by small Dp 
    start ||e||_2 :     0.00405684
    final ||e||_2 :     0.00291043
    ||J^T e||_inf :     2.35417e-006
    ||Dp||_2      :     1.78437e-038
    mu/max[J^T...]:     1.24997e+013
    iterations    :     51
    stop reason   :     2
    function evals:     58

Fitted parameters...
  Radial mean sq. dev. 0.0019  factors: 
  0.0000  0.0000  0.0000 -0.0051  0.0000  0.0000  0.0000

-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to