I am attempting to use hugin (and a well defined panorama) to gather
parameters so that I can use fulla to batch correct non-panorama
images (a la Dx0)

http://www.dxo.com/intl/photo/dxo_optics_pro/exclusive_features/optics_geometry_corrections/distortion

fulla can correct both geometric distortion and vignetting,
both of which my Canon A630 is prone to at the wide end of its zoom (circa 
35mm).

I established that the distortion parameters (a,b,c) from
my hugin project were directly usable as parameters
to fulla's -g, but that the 'd' parameter (companion to 'e')
in hugin, is not the 'd' that fulla needs. The 'd' that
fulla needs is 1 - ($a + $b + $c);

That works nicely, and my pictures are now undistorted.

I then moved on to vignetting. I used the Exposure
optimiser of hugin 0.7.0 on a LDR panorama
to establish corrections for vignetting.

I then "fished" the Va - Vd numbers out of the project file,
and fed them to fulla's -c argument.

Sadly, my output is now black :-(

Here is a segment of my pto file, and my fulla command line:

i w3264 h2448 f0 Eb1 Eev0.0426853873562094 Er1 Ra-0.289657175540924 
Rb-0.160850718617439 Rc-0.698156535625458 Rd0.750597715377808 
Re-0.0794976875185966 Va1 Vb-0.299619633752106 Vc0.223789252858095 
Vd-0.0834355105414739 Vx0 Vy0 a0.0121556676966267 b-0.0365387828989006 
c0.00207187580963575 d0 e0 g0 p1.03313129581927 r-94.3381191539111 t0 
v52.9392446427902 y-21.8856217777085  Vm5 u10 n"img_3128.jpg"

fulla -v -o ./IMG_3614_corr.JPG -g 0.0121557:-0.0365388:0.00207188:1.02231122  
-c 1:-0.299619633752106:0.223789252858095:-0.0834355105414739  IMG_3614.JPG

All help gratefully received.

   BugBear

--~--~---------~--~----~------------~-------~--~----~
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