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.

5.3. EXPERIMENTAL RESULTS 107<br />

The tolerances for these lengths differ, i.e. the 30mm tubes are allowed to deviate only<br />

up to 0.5mm around the target length while 70mm tubes have a larger tolerance of 1mm.<br />

The measuring precision can be directly linked to these tolerances. Accordingly the system<br />

must measure smaller tubes with a higher precision then larger ones.<br />

In this scenario, the accuracy and precision is evaluated based on the mean and standard<br />

deviation of a sequence of tubes measured online that approximately meet the given target<br />

length. Corresponding ground truth data is available.<br />

Performance Finally, it is of interest to determine the performance of the system in<br />

terms of the average per frame processing time ΩTIME. It is investigated how the total<br />

processing time is distributed over the different stages of the inspection including radial<br />

distortion compensation, profile analysis, edge detection and template matching, as well<br />

as the total length computation and tracking.<br />

5.3. Experimental Results<br />

In this section the experimental results of the different scenarios are presented and discussed.<br />

Further discussion as well as an outlook on future work is given in Section 5.4.<br />

5.3.1. Noise<br />

The influence of noise on the measuring accuracy is tested on synthetic sequences. Rectangles<br />

of 200 pixels width are placed on a uniform background with a contrast of 70 gray<br />

levels between the object and the brighter background. The image size is 780 × 160, and<br />

the sequence is analyzed like a real sequence with two differences. First, the perspective<br />

correction function is disabled, since the synthetic ‘tube’ is not influenced by perspective,<br />

i.e. the width of the rectangle is constant independent of the image position. Furthermore,<br />

the dynamic selection of template curvatures based on the image position does not work<br />

as well in this scenario, since the model knowledge assumptions do not hold. Thus, in<br />

this experiment all templates are tested at each position (computation time is not critical<br />

here).<br />

Gaussian noise of standard deviation σN has been added to the ideal images, with<br />

σN ∈{5, 10, 25}. Sample images of each noise level are shown in Figure 5.4(a)-(d).<br />

The measuring results are evaluated using the root-mean-square-error between the<br />

ground truth length of 200pixels and the result of the single measurements. The results<br />

show that in the ideal (noise free) case, the pixel length is always measured correctly.<br />

Under the presence of noise, the measured length varies at subpixel level. Figure 5.4(e)<br />

shows how the measurements differ in accuracy and precision under the presence of noise.<br />

The maximum deviation from the target length occurs at the largest standard deviation<br />

(σN = 25). The RMSE results can be found in Figure 5.4(f). For sequences with only<br />

a little amount of noise (σN = 5) the RMSE is acceptable low with 0.122. If one pixel<br />

represents 0.12mm in the measuring plane, the real world error is about 1/100mm. Even<br />

under strong noise (σN = 25), which is far beyond the noise level of real images, the<br />

measuring error is 0.252pixels or 0.03mm in the example. This is still significantly below<br />

the human measuring variance.

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

Saved successfully!

Ooh no, something went wrong!