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.

4.4. TUBE LOCALIZATION 65<br />

(a) (b)<br />

Figure 4.12: (a) Control points (marked as crosses) are used to adjust the virtual calibration<br />

grid of width w and height h to the underlying image data. (b) Gradient orientation φ at<br />

each control point. Since the computed values are only an approximation, a narrow range of<br />

orientations indicated by the gray cones around the ideal orientation is also seen as match.<br />

have shown that it is possible to adjust the camera within an acceptable time to yield a<br />

100% coverage in step one and a grid standard deviation of less than 0.3pixels. In this<br />

case the camera is assumed to be adjusted good enough for accurate measurements.<br />

4.4. Tube Localization<br />

Since the system is intended to work without any external trigger (e.g. a light barrier)<br />

that gives a signal whenever a tube is totally in the visual field of the camera, the first<br />

step before further processing of a frame is to check whether there is a tube in the image<br />

that can be measured or not. If there is no tube in the image or only in parts, this image<br />

can be neglected. This decision has to be very fast and reliable.<br />

4.4.1. Gray Level Profile<br />

To classify an image into one of the states proposed in Section 4.2.2, an analysis of the intensity<br />

profile along the x-axis is performed. Strong changes in intensity indicate potential<br />

boundaries between tubes and background.<br />

In ideal images as be seen in Figure 4.2, the localization of object boundaries is almost<br />

trivial with standard edge detectors (see Section 2.3). In real image sequences, however,<br />

there are many changes in intensity of different origin that do not belong to the boundaries<br />

of a tube, e.g. caused by the background pattern (see Figure 3.8) or by dirt on the conveyor<br />

belt. Furthermore, the printing on transparent tubes, visible in the image using back light<br />

illumination, influences the intensity profile as will be seen later on.<br />

The intensity profile ˆ Py of an image row y can be formally defined as

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

Saved successfully!

Ooh no, something went wrong!