Hi, I find it extremely difficult to get information about the exact calibration model used in Hugin. Yes, I know that a, b, c refer to radial distortions, d, e are an offset, and g, t refer to shear (and Va, Vb, Vc have something todo with vignetting). However since I'm trying to convert some other lens model (the one from the Matlab Calibration Toolbox) into the Hugin one (as good as possible), I really need the math!
Here's what I have found out so far: * x gets translated by (-width/2), y by (-height/2). Presumably it's here that d and e come into play - but is it x_new=x-width/2-e or x_new=x-width/2+e(i.e. does e get added or subtracted?) * x_new then gets scaled by s=min(height,width)/2 so that x_newer=xnew/s * Next comes radial distortion such that x_newest=(a*r^3+b*r^2+c*r+(1-a-b-c))*x_newer, with r=sqrt(x_newer^2+y_newer^2). Presumably here we're also going to deal with shear, so g and t will probably come into play here. But how? * then scale and translation are undone again, and I can get the undistorted image values for (x,y) by sampling the image at position (x_newest*s+width/2,y_newest*s+height/2) (and here, again, d and e might come into play - or not.) So, how are d, e, g, t applied? Any help deeply appreciated Sven PS: oh, and if anyone knows what to make of Va etc...? -- -- 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 --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
