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. Length Measurement Approach<br />

While the previous chapter focused on the hardware setup, this chapter will present the<br />

methodical part of the system. After a brief overview, the different steps including the<br />

camera calibration and teach-in step as well as the tube localization, measuring point<br />

detection, tube tracking and the good/bad classification are introduced. All assumptions<br />

and the model knowledge used throughout these steps are presented before.<br />

4.1. System Overview<br />

The fundamental concept of the developed system is a so called multi-image measuring<br />

strategy. This means, the goal is to measure each tube not only once, but in as many<br />

images as possible while it is in the visual field of the camera. The advantage of this<br />

approach is that the decision whether a particular tube meets the length tolerances can<br />

be made based on a set of measurements. The total length is computed by averaging over<br />

these single measurements leading to more robust results. Furthermore, the system is less<br />

sensitive to detection errors. Depending on the conveyor velocity and the tube length one<br />

can reach between 2 and 10 measurements per tube.<br />

The system is designed to work without any external trigger that provokes the camera<br />

to grab a frame depending on a certain event, e.g. a tube passing a light barrier. Instead,<br />

the camera is operated in continuous mode, i.e. images are captured at a constant frame<br />

rate using an internal trigger. The absence of an external trigger, however, requires fast<br />

algorithms to evaluate whether a frame is useful, i.e. whether a measurement is possible.<br />

In addition, the system must be able to track a tube while it is in the visual field of the<br />

camera to assign measurements to this particular tube. Accurate length measurements of<br />

tubes require the very accurate detection of the tube edges. A template based tube edge<br />

localization method has been developed allowing for reliable, subpixel accurate detection<br />

resultsevenunderthepresenceoftubeedgelikebackgroundclutter. Oncethereisevidence<br />

that a tube has left the visual field of the camera, all corresponding measurements have<br />

to be evaluated with respect to the given target length and tolerances. The resulting<br />

good/bad decision must be delegated to the external controller handling the air pressure<br />

based blow out mechanism. Model knowledge regarding the inspected tubes under the<br />

constrained conditions is exploited if possible to optimize the processing.<br />

Before any measurements can be performed, the system has to be calibrated and trained<br />

to the particular target length. This includes camera positioning, radial distortion compensation<br />

and an online teach-in step.<br />

Figure 4.1 gives an overview on the different stages of the system. It can also be seen<br />

as outline of this section. The underlying methods and concepts will be introduced in the<br />

following in more detail.<br />

Throughout this chapter all parameters will be handled abstract. Corresponding value<br />

assignments used in the experiments are given in Section 5.1.1.<br />

51

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

Saved successfully!

Ooh no, something went wrong!