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.1. EXPERIMENTAL DESIGN 99<br />

between light efficiency and motion blur effects. This shutter time requires a small Fnumber<br />

of 1.4 to yield sufficient bright images.<br />

In all experiments it is assumed that the system is calibrated correctly, the radial distortioncoefficientsareknownandateach-instephasbeenperformedtolearnfpix2mm.<br />

In<br />

addition, the perspective correction function has been determined before each experiment<br />

to compensate for perspective distortions.<br />

5.1.2. Evaluation Criteria<br />

There are several criteria that can be used to compare and evaluate the results of different<br />

experiments. These can be classified into quantitative and qualitative criteria.<br />

Quantitative Criteria<br />

Total Detection Ratio The system must exactly detect the number of tubes that pass<br />

the visual field of the camera. Formally, this can be expressed in the following score Ωtotal:<br />

Ωtotal = Ndetected<br />

(5.1)<br />

Ntotal<br />

where Ndetected indicates the number of detected tubes and Ntotal the total number<br />

of tubes respectively. Ωtotal = 1 is a necessary but not sufficient criterion for a correct<br />

working inspection system.<br />

Per Tube Measurements The average number of single measurements for each tube<br />

depends mainly on the velocity of the conveyor and the camera frame rate. If N tubes<br />

have been measured, the mean number of per tube measurements can be computed as:<br />

ΩPTM = 1<br />

N<br />

where mi isthenumberofsinglemeasurementsoftheith tube.<br />

N�<br />

i=1<br />

mi<br />

(5.2)<br />

False Positives/ False Negatives Each tube T can be classified into one of the three<br />

groups G0 (good ),G− (too short), and G+ (too long) ifmeasuredmanually. G0 is defined<br />

by the target length and the allowed tolerance for this length. It contains all tubes that<br />

meet the tolerance in the real world. G− and G+ include all tubes of a real world length<br />

that lie below the lower or above the upper tolerance threshold respectively.<br />

In the same way, each tube can be categorized into one of the three groups G ′ 0 , G′ −,or<br />

G ′ + based on the measured length by the visual inspection system. In the ideal case, this<br />

three groups are equal to the corresponding ground truth classifications, i.e. G ′ 0 = G0,<br />

G ′ − = G−, andG ′ + = G+ 1 .<br />

In practice, however, the measurements are biased by many factors like perspective<br />

errors, curved tubes, skew tube edges, noise, motion blur, or failures in measuring point<br />

detection. In addition, as will be introduced in Section 5.1.3, the manually acquired ground<br />

1 Theoretically, a fourth group U for unsure can be defined including all tubes that could not be detected<br />

at all. These tubes have to be handled by different mechanisms as will be discussed in later sections

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

Saved successfully!

Ooh no, something went wrong!