On Mon 15-Oct-2012 at 21:01 +0200, Erik Krause wrote:
Am 15.10.2012 15:15, schrieb lireful:
I have calibrated a fisheye lens using Kannala model, which is
basically a polynomial R(theta), where R is the polar coordinates
radius of current point. Now I have a need to work with this
calibration in PTGui. We use Canon APS-C matrix crop-factor 1.62,
4272x2848 matrix in the landscape mode, 8 mm Sigma fisheyes.
You should have asked on the PTGui mailing list first of all...
Sorry, I don't understand the math you provided, only one point: r =
1 in panotools is not half the width, it's half the shorter side. And
perhaps its worth mentioning that the original panotools model (which
is used by PTGui) uses the abc parameters to handle the deviation
from the R=f*theta*m model, not the fisheye distortion itself.
Also PTGui handles photo cropping differently: Hugin fits the radial
distortion and angle of view to the edge of the image frame,
cropping is simply a mask that excludes pixels from the stitch.
PTGui fits the radial distortion to the boundary of the crop, the
crop boundary actually expands or contracts the 'photo' - This means
that for circular fisheyes (which are usually cropped) it isn't
possible to transfer lens parameters between the tools.
--
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 [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