01.12.2012 Views

Master Thesis - Fachbereich Informatik

Master Thesis - Fachbereich Informatik

Master Thesis - Fachbereich Informatik

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

62 CHAPTER 4. LENGTH MEASUREMENT APPROACH<br />

Figure 4.10: Visualization of the resulting radial distortion model. The computed center of<br />

distortion indicated by the ‘◦’ is slightly displaced from the optical center (‘×’). The image<br />

area of interest considered in this application lies in between the red lines.<br />

Perspective Warping One possibility to compute a synthetic fronto-orthogonal view of<br />

an image is based on the extrinsic relationship of the camera plane and a particular<br />

world plane (e.g. conveyor plane) that can be extracted in a calibration step. With the<br />

extrinsic parameters it is possible to describe the position and orientation of the world<br />

plane in the camera reference frame. Finally, one can compute a transformation that<br />

maps the world plane into a plane parallel to the image plane or vice versa, and warp the<br />

image to a synthetic fronto-orthogonal view. This approach has a significant drawback.<br />

First of all, the accuracy of the results is closely related to the calibration accuracy.<br />

Furthermore, the extrinsic parameters of a camera change if the camera is moved even<br />

slightly compared to the intrinsic parameters that can be assumed constant as long as<br />

the focus is not changed. Thus, one has to recalibrate the extrinsic parameters as well as<br />

the transformation parameters every time the camera is moved, which seemed to be not<br />

practicable in this particular application.<br />

There are other methods that can be used to compute a fronto-orthogonal view of an<br />

perspective image, which are based on characteristic image features such as parallel or<br />

orthogonal lines, angles, or point correspondences and do not need any knowledge on the<br />

interior or exterior camera parameters [30]. One common approach is based on point<br />

correspondences of at least 4 points xi and x ′ i with x′ i = Hxi (1 ≤ i ≤ 4) and<br />

⎡<br />

H = ⎣<br />

h1 h2 h3<br />

h4 h5 h6<br />

h7 h8 h9<br />

⎤<br />

⎦ (4.2)<br />

the projective transformation matrix representing the 2D homography.<br />

The unknown parameters of H can be computed in terms of the vector cross product<br />

x ′ i × Hxi = 0 using a Direct Linear Transformation (DLT) [30]. To correct the perspective<br />

of an image one has to find four points in the image that lie on the corners of a rectangle<br />

in the real world, but are perspectively distorted in the image. These points xi have to be<br />

mapped to points x ′ i that represent the corners of a rectangle in the image. Then, after H

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!