Not really; I've read that most zoom lenses encode the zoom position
using only a few bits. Also I remember the Sigma 4.5 being reported as
5mm by nikon cameras..
> 1) PTGui, like Hugin, won't let you say whether your fisheye is equal-
> area or equal-angle. At least it assumes equal-area, which is almost
> always right, while Hugin still assumes equal-angle. PTAssembler
> allows you to choose, but unfortunately computes fov wrong when you
> specify equal-area.
I think PTGui does equal angle as well.. Adding more fisheye models is
on my list, in particular the Nikon 10.5 doesn't fit well in the current
model.
> 2) For the "circular fisheye" format, you apparently set hfov
> according to the diameter of the cropping circle. That makes it very
> hard to work out, from the information in the PTGui project file, the
> actual angular scale of the image. The most direct way to specify
> angular scale is of course to state the focal length in pixels --
> Dersch's "distance parameter". The longstanding PT practice of
> relying on hfov to store this crucial parameter is a mistake, because
> in hfov it is mixed with two other parameters (image width and
> projection function) each of which is subject to uncertainties and
> misinterpretations. But as long as you do stick to that practice, it
> would be better if hfov always corresponds to the stated image width.
Whether the fov should refer to the cropped or the uncropped part of the
image is a matter of preference I think. PTGui indeed does this
different from Hugin.
> 3) When the exif specifies an image orientation, you record the
> dimensions in the project file as if the image were oriented that way
> (and don't, as far as I can see, also record whether those dimensions
> are transposed from the filed dimensions). That is no harm so long as
> the stated "hfov", "width", and "format" agree, and it is understood
> that the angular scale is to be computed from those quantities before
> even looking at the image file. But it can easily lead to more
> confusion.
Actually PTGui Pro can do it both ways, see the 'Physically rotate
images with EXIF orientation tag upon loading' in the Project Settings
tab. Both behaviours have pros and cons, it was discussed in this forum
several times.
> What I'm really saying in 2) and 3) is, wouldn't it be better to state
> the angular scale of each image in the project file directly, as focal
> length in pixels? Then all these difficulties of interpreting
> "hfov" (I could cite a half-dozen more) would disappear.
I completely agree. The current behaviour is a Panotools heritage, I
would like to change it but this has to be done carefully in order to
stay compatible with previous versions.
Joost
The black background merges into the roll off at the edges of
the circular image and there is (usually) always the footprint of the
pano head in the darkest part of the image which (usually)makes the
exact location of the lower edge of the crop circle difficult to
place.
And when using an NN3/5 I always see the shadow of the lower and
upper arm on the bottom and side of the circular image -- if I
don't zoom in -- and that also makes placing of the crop circle
difficult.
Anything you can do to make setting of the crop circle easier (for
me) would be appreciated.
Hans said it all and clear. I may give another personal answer:
contrasting from standard rectilinear, the radial mapping of a real
fisheye lens is similar to an optical "finger print" or "individual
signature". No fisheye follows exactly a canonical law (i.e.
mathematical / optical way of categorization).
In short: no **real fisheye lens** projection is strictly
equidistant, orthographic, equisolid angle or stereographic.
Furthermore the individual signatures of a given category from the
list above may appear strikingly different one from another.
The weirdest measurement results I have ever seen was got only two
days ago and concerns the new Samyang 8 mm "aspherical" 8 mm f3.5 CS
fisheye (which I shaved last monday):
http://michel.thoby.free.fr/SAMYANG/Samyang Projection.pdf
It belongs to the Stereographic category and could be the first one
of this kind that is affordable (very cheap indeed). Moreover and as
all fisheyes do, this lens doesn't follow the canonical Stereographic
mathematical model exactly and doesn't not even follow rules of the
categories governed by "cousin" equations.
You may compare with a set of graph for other fisheyes, most of them
were cited above by Hans:
http://michel.thoby.free.fr/SAMYANG/Sigma_Nikkor_Tokina_etc.pdf
BTW: you can also buy this lens as a...7 mm fisheye from Vivitar
(series 1).
This is in itself another related subject: is affecting a fisheye
lens with a "single" focal length really reasonable? The actual
optical changing behavior which depends directly on the angle that
the light is entering the lens (from 0 to more than 90° sometimes)
make the definition of a sole focal length a vain endeavor.
Michel
> I have been thinking that there could be a universal fisheye model,
> governed by a single continuous parameter. It seems that all known
> fisheye projections fall in an "envelope" bounded by the stereographic
> projection R = 2 f tan( A / 2) and the equal-area R = 2 f sin( A /
> 2 ). Equal-angle R = A is right in the middle of the envelope. So a
> linear combination, K * equal-angle() + (1 - K) * stereographic(), 0
> <= K <= 1, could be a pretty good model for any fisheye. I would go
> so far as to suggest that this model function be teamed with a
> simplified radius correction polynomial having only even terms (as is
> pretty universal for lens correction except in the PT world) i.e.
> eliminate the cubic coefficient b and replace it with K (and with
> nothing at all in the case of a rectilinear lens; but that is a
> different argument). That would not increase the number of lens
> correction parameters, but I predict it would make their optimization
> far more reliable.
Tom,
May I quote James Kumler and Martin Bauer? In their famous paper
comparing "Fisheye lens designs and their relative performance" they
proposed (and used) a simple formula that seems to fit most (if not
all) the fisheye lenses.
http://www.coastalopt.com/pdfs/FisheyeComparison_SPIE.pdf
(Page 9; § 4.2 Radial Image Mapping):
<< The radial image mapping for these lenses can be fit to the
general form r = Alpha * sin (Beta * Theta) where r is the distance
from the center of the camera image to the point of interest, Theta
is the angle between the central axis ofthe fisheye lens and the line
to the point of interest in the real image, Alpha is a scale factor,
in these cases to convert from angle in space to millimeters in the
image plane, and Beta is the radial mapping parameter. (It should be
noted that Beta effects very strongly.) The theoretical fisheye map
of r = Alpha * Theta is approached as Beta approaches zero. >>
The graph that I have drawn and that you have presented the other day
on this thread is based on this concept that needs only two parameters.
I don't know if James and Martin are the inventors, but I am amazed
that this has not yet got more attention.
Regards,
Michel
If you drag the 'diagonal' edges of the circle (e.g. the top right
side), the circle stays centered..
Joost