By generalizing the concept of the pin-hole camera, it is possible to introduce several classes of camera models. It is important to remember that real cameras are never ideal: no real optical system conforms perfectly to a single projection model. For this reason, various basic models approximate the lens equation, but suitable distortion terms must still be added to them.
Fish-eye optics represent a special case in which barrel distortion is dominant; this makes it possible to obtain extremely wide fields of view for a given focal length, up to or even more.
Let be the angle of incidence of the optical ray from the camera point
with respect to the optical axis
.
This angle is
, obtained from
| (9.79) |
| (9.80) |
The idea is to regard all camera models as mappings of the angle of incidence to an angle
, or, more commonly, as a
transformation that maps the angle of the incident ray to a pixel radius.
The various fish-eye lenses follow slightly different equations. Among the ideal models (and therefore without distortion), we can identify
By absorbing the focal length into , which thus becomes a radius expressed directly in pixels, the preceding equations make it possible to project an optical ray onto the image plane as follows:
| (9.81) |
The above class of ideal models does 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, which makes it possible to incorporate both the different lens models presented above and any distortions introduced by the optics.
It is useful to recall that, also in fish-eye cameras, all optical rays converge at a single projection center; thus, a pin-hole still exists. However, all equations that can be expressed linearly in a pin-hole model using homogeneous coordinates are no longer linear in fish-eye models. Consequently, even when working with homogeneous coordinates, it is necessary to use nonlinear formulations, as will be discussed in the next chapter.
Paolo medici