01.12.2012 Views

Master Thesis - Fachbereich Informatik

Master Thesis - Fachbereich Informatik

Master Thesis - Fachbereich Informatik

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.2. MODEL KNOWLEDGE AND ASSUMPTIONS 57<br />

Figure 4.5: The image intensity of transparent tubes is not uniform as for black tubes.<br />

Depending on how much light can pass through a tube, regions appear darker or brighter.<br />

One characteristic of transparent tubes under back light are two dark horizontal stripes at<br />

the top and the bottom of a tube indicated by the arrows. The printing also reduces the<br />

translucency and thus appears darker in the image.<br />

4.2.6. Tube Orientation<br />

The tube orientation is highly constrained by the guide bars as introduced in Section 3.1.<br />

Thus, an approximately horizontal orientation can be assumed throughout the design of<br />

the inspection algorithms.<br />

In practice, the distance between the guide bars is slightly larger than the outer diameter<br />

of a tube to prevent a blockage, since tubes may not be ideally round. This means, the<br />

cross-section of a tube can be elliptical instead of circular. Let dspace denote the vertical<br />

distance between the guide bar distance dGB, and hmax the maximum expected tube<br />

extension in vertical direction with respect to the image projection. The remaining spacing<br />

distance can be expressed as dspace = dGB − hmax ascanbeseeninFigure4.6(a).<br />

The maximum possible rotation is reached if the tube hits both guide bars at two points<br />

(see Figure 4.6(b)). The maximum angle of rotation θmax can be defined as the angle<br />

between the longitudinal axis of the tube and the x-axis. One can define an unrotated<br />

version of the tube with the longitudinal axis parallel to the x-axis and shifted so that the<br />

two axis intersect at the center of gravity of the rotated tube. In Figure 4.6(b) this virtual<br />

tube is visualized as dashed rectangle. The distance between the measuring points of the<br />

rotated and the ideal horizontal tube can be also seen in the Figure and are denoted as<br />

dL and dR for the left and right tube side respectively. Both dL and dR are ≤ dspace/2. If<br />

thetubeisnotbent,dL = dR. The maximum error between the ideal distance l and the<br />

rotated distance l ′ can be estimated as follows:<br />

errθ = l ′ − l<br />

�<br />

(4.1)<br />

= l2 + d2 space − l<br />

For example, in a typical setup for 50mm tubes of 8mm diameter one tube has a length of<br />

approximately 415 pixels and dspace = 15. This leads to an error of errθ =0.27pixel. Thus,<br />

with one pixel representing 0.12mm in the measuring plane, the acceptable maximum error<br />

due to orientation would be about 0.03mm. On average this error will be even smaller.<br />

Based on these estimation, the orientation error is neglected in the following, i.e. all tubes<br />

are assumed to be oriented ideally horizontal.

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

Saved successfully!

Ooh no, something went wrong!