Generalizing the pin-hole camera concept allows us to introduce several classes of camera models. It is important to remember that real cameras are never ideal: no real optical system perfectly conforms to a single projection model. Various basic models therefore approximate the lens equation, but must still be supplemented with suitable distortion terms.
Fish-eye lenses are a special case in which barrel distortion is dominant; this makes it possible to achieve extremely wide fields of view, up to or even more, for a given focal length.
Let be the incident angle of the optical ray from camera-coordinate point
with respect to the optical axis
.
This angle is
, obtained from
| (9.80) |
| (9.81) |
The idea is to treat all camera models as transformations of the incident angle into an angle
, or, more often, as a transformation
that maps the incident-ray angle to a pixel coordinate.
Fish-eye lenses follow slightly different equations. Among the ideal models (that is, those without distortion) are
By absorbing the focal length into , which then becomes a radius expressed directly in pixels, the equations above can be used to project an optical ray onto the image plane as follows:
| (9.82) |
The ideal model classes above do not account for possible nonlinearities in the optics.
The Kannala–Brandt model (KHB09) generalizes these equations by parameterizing a generic fish-eye lens through the term , using the classical Taylor series expansion to approximate various fish-eye projection models and some optical deviations.
It is useful to note that, even in fish-eye cameras, all optical rays converge at a single projection center. However, equations that are linear in a pin-hole model when expressed using homogeneous coordinates are no longer linear in fish-eye models. Consequently, even when working with homogeneous coordinates, nonlinear formulations are required, as discussed in the next chapter.
Paolo medici