next up previous
Next: Diffraction Effects Up: The Imaging Process Previous: The Imaging Process

Image distortions

Real optical systems are usually affected by geometrical distortions whose type and amount varies significantly from barely visible to significant. Furthermore, some characteristics of light propagation in an optical system results in unavoidable effects, such as wide angle lens vignetting. In this section we will look at a few TeMa functions that can be used to simulate geometrical distortions and vignetting effects.

The first step is to get some perfect images. A simple and cheap way to obtain such images is to generate them using a ray tracing system. Package TeMa includes some testing images generated using the Persistence of Vision Ray Tracer (http://www.povray.org).
22#22
As detailed by Equations TM:2.26-27 geometrical distortions can be considered as image plane effects and can be accurately simulated once the distortion curves are specified. Detailed distortion information is often available for high quality lenses directly from the manufacturer or can be measured using calibration patterns. The following code snippet shows to curves based on the public data for a real wide angle lens: the percent distortion and the vignetting are reported as a function of the distance expressed in millimeters from the optical center of the lens designed for a standard 23#23 frame. The distortion and vignetting curves are obtained using spline interpolation given a set of manually measured points.
24#24
Inspection of the distortion curve, reported in Figure [*], shows it to be of a complex type, exhibiting both barrel distortion (up to 15mm from the optical center) and pincushion distortion (from 15mm onwards).
25#25

Figure 2.1: A sample distortion curved based on the data for a high quality real lens. The curve tells us that this lens exhibit both barrel and pincushion distortion.
[width=10cm]figures/sampleDistortion.jpg
Generating a vignetted image is a simple task using the functions provided by TeMa:
26#26
The results are reported in Figure 2.2. A distorted image can be generated in a similar way
27#27
A vignetted distorted image can be generated easily
28#28
Figure 2.2: Vignetting appears as a (proportional) intensity reduction whose entity increase from the center towards the boundary of the frame. The plot highlights the difference from the perfect image along a row in the middle of the image. It is apparent that vignetting can have a significant impact on template matching techniques.
[width=7cm]figures/vImage.jpg
[width=7cm]figures/vDeltaProfile.jpg


next up previous
Next: Diffraction Effects Up: The Imaging Process Previous: The Imaging Process
Roberto Brunelli 2008-11-25