Distortion (optics)
From Wikipedia, the free encyclopedia
| Optical aberration |
|---|
| Piston Tilt |
In geometric optics and cathode ray tube (CRT) displays, distortion is a deviation from rectilinear projection, a projection in which straight lines in a scene remain straight in an image. It is a form of optical aberration.
Although distortion can be irregular or follow many patterns, the most commonly encountered distortions are radially symmetric, or approximately so, arising from the symmetry of a photographic lens. The radial distortion can usually be classified as one of two main types:
- barrel distortion, in which image magnification decreases with distance from the optical axis. The apparent effect is that of an image which has been mapped around a sphere. Fisheye lenses, which take hemispherical views, utilize this type of distortion as a way to map an infinitely wide object plane into a finite image area.
- pincushion distortion, in which image magnification increases with the distance from the optical axis. The visible effect is that lines that do not go through the centre of the image are bowed inwards, towards the centre of the image. In photography, this aberration is often seen in older or low-end telephoto lenses.
A mixture of both types, sometimes referred to as moustache distortion, is less common but not rare. It starts out as barrel distortion close to the image center and gradually turns into pincushion distortion towards the image periphery. It is observed with certain retrofocus lenses, also more recently on large-range zooms such as the Nikon 18–200 mm.
In order to understand these distortions, it should be remembered that the optical systems in question have rotational symmetry, so the didactically correct test image would be a set of concentric circles having even separation - like a shooter's target. It will then be observed that these common distortions actually imply a nonlinear radius mapping from the object to the image: What is seemingly pincushion distortion, is actually simply an exaggregated radius mapping for large radii in comparison with small radii. A graph showing radius transformations (from object to image) will be steeper in the upper (rightmost) end. Conversely, barrel distortion is actually a diminished radius mapping for large radii in comparison with small radii. A graph showing radius transformations (from object to image) will be less steep in the upper (rightmost) end.
Purple/green fringing in the outer parts of an image indicate lateral chromatic aberration: The radius distortion varies with the color (wavelength) of the light, and may be non-linear.
Contents |
[edit] Software correction
Radial distortion is modelled by a function D(r) that affects each point v in the projected plane relative to the principal point p,
where D(r) is normally a non-linear scalar function and p is close to the midpoint of the projected image. Barrel projections are characterized by a positive gradient of the distortion function
, whereas pincushion by a negative one.
Software can correct those distortions by warping the image with a reverse distortion. Lateral chromatic aberration (purple/green fringing) can be significantly reduced by applying such warping for red, green and blue separately.
[edit] Calibrated
Calibrated systems work from a table of lens/camera transfer functions:
- PTlens is a Photoshop plugin or standalone application which corrects complex distortion. It not only corrects for linear distortion, but also second degree and higher nonlinear components.
- DxO Labs' Optics Pro can correct complex distortion, and takes into account the focus distance
[edit] Manual
Manual systems allow manual adjustment of distortion parameters:
- Photoshop CS2 and Photoshop Elements (from version 5) include a manual Lens Correction filter for simple (pincushion/barrel) distortion
- The GIMP includes manual lens distortion correction (from version 2.4).
- PhotoPerfect has interactive functions for general pincushion adjustment, and for fringe (adjusting the size of the red, green and blue image parts).
- Hugin can be used to correct distortion,[1] though that is not its primary application
[edit] Related phenomena
Radial distortion is a failure of a lens to be rectilinear: a failure to image lines into lines. If a photograph is not taken straight-on then, even with a perfect rectilinear lens, rectangles will appear as trapezoids: lines are imaged as lines, but the angles between them are not preserved (tilt is not a conformal map). This effect can be controlled by using a perspective control lens, or corrected in post-processing.
Due to perspective, cameras image a cube as a square frustum (a truncated pyramid, with trapezoidal sides)—the far end is smaller than the near end. This creates perspective, and the rate at which this scaling happens (how quickly more distant objects shrink) creates a sense of a scene being deep or shallow. This cannot be changed or corrected by a simple transform of the resulting image, because it requires 3D information, namely the depth of objects in the scene. This effect is known as perspective distortion.
[edit] See also
[edit] References
- Paul van Walree. "Distortion". Photographic optics. http://toothwalker.org/optics/distortion.html. Retrieved on 02 Feb. 2009.


