Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
[2.1] 3D Imaging, Analysis and Applications-Springer-Verlag London (2012).pdf
Скачиваний:
12
Добавлен:
11.12.2021
Размер:
12.61 Mб
Скачать

2 Passive 3D Imaging

47

Fig. 2.5 Examples of radial distortion effects in lenses: (a) No distortion (b) Pincushion distortion (c) Barrel distortion (d) Fisheye distortion

2.3.3 Radial Distortion

Typical cameras have a lens distortion, which disrupts the assumed linear projective model. Thus a camera may not be accurately represented by the pinhole camera model that we have described, particularly if a low-cost lens or a wide field-of- view (short focal length) lens such as a fisheye lens is employed. Some examples of lens distortion effects are shown in Fig. 2.5. Note that the effect is non-linear and, if significant, it must be corrected so that the camera can again be modeled as a linear device. The estimation of the required distortion parameters to do this is often encompassed within a camera calibration procedure, which is described in Sect. 2.4. With reference to our previous three-stage development of a projective camera in Sect. 2.3.2, lens distortion occurs at the second stage, which is the 3D to 2D projection, and this distortion is sampled by the image sensor.

Detailed distortion models contain a large number of parameters that model both radial and tangential distortion [7]. However, radial distortion is the dominant factor and usually it is considered sufficiently accurate to model this distortion only, using a low-order polynomial such as:

xnd

xn

xn

 

k1r

2

+

k2r4

,

ynd

=

yn

+

yn

 

 

 

 

where [xn, yn]T is the undistorted image position (i.e. that obeys our linear projection model) in normalized coordinates, [xnd , ynd ]T is the distorted image position in normalized coordinates, k1 and k2 are the unknown radial distortion parameters,

and r = xn2 + yn2. Assuming zero skew, we also have

xd

x

 

(x

x0)

k1r2

+

k2r4

,

(2.6)

yd

= y

+

(y

y0)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

whereT the distorted position [xd , yd ]T is now expressed in pixel coordinates and

[x, y]

are the usual pixel coordinates predicted by the linear pinhole model. Note

that r is still defined in normalized image coordinates and so a non-unity aspect ratio (mx = my ) in the image sensor does not invalidate this equation. Also note that both Eq. (2.6) and Fig. 2.5 indicate that distortion increases away from the center of the image. In the barrel distortion, shown in Fig. 2.5(c), distortion correction requires that image points are moved slightly towards the center of the image, more so if they are near the edges of the image. Correction could be applied to the whole image, as