Master Thesis - Fachbereich Informatik
Master Thesis - Fachbereich Informatik
Master Thesis - Fachbereich Informatik
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4.5. MEASURING POINT DETECTION 83<br />
occurrence<br />
0.2<br />
0.18<br />
0.16<br />
0.14<br />
0.12<br />
0.1<br />
0.08<br />
0.06<br />
0.04<br />
0.02<br />
0<br />
-0.002 0 0.002 0.004 0.006 0.008 0.01 0.012<br />
curvature<br />
(a)<br />
occurrence<br />
0.3<br />
0.25<br />
0.2<br />
0.15<br />
0.1<br />
0.05<br />
0<br />
-0.025 -0.02 -0.015 -0.01<br />
curvature<br />
-0.005 0 0.005<br />
Figure 4.19: Histogram of template occurrence for (a) left and (b) right tube side. It can<br />
be seen that only a small range of curvatures can be observed. This reduces the number of<br />
templates that have to be tested each time.<br />
120<br />
100<br />
80<br />
60<br />
40<br />
20<br />
0<br />
0<br />
2<br />
x<br />
4<br />
6<br />
8<br />
0<br />
10<br />
20<br />
30<br />
40<br />
50<br />
60<br />
y<br />
70<br />
10 80<br />
Figure 4.20: If the height weighting coefficient gets too large (here: b = 20), the center of<br />
the tube edge does not contribute to the matching score anymore.<br />
Template Weighting The weighting coefficient b in Equation 4.14 is important for transparent<br />
tubes. Due to a poor contrast, the overall edge response of a transparent tube might<br />
be low. If considering only the center region of an edge, the contrast might be even lower<br />
than a background edge at worst case. The cross-correlation only computes the similarity<br />
of a template at a certain location in the image. The maximum response is taken as match,<br />
since it is assumed that there must be a tube edge in the search region, even if the same<br />
or another template matches the real tube edge perfectly, but with a lower score. Finally<br />
this will lead to a wrong measurement.<br />
With model knowledge about the tube characteristics one can assume that the contrast<br />
at the edge ends is significantly stronger. If the template is weighted uniformly at the<br />
center and the ends, the correlation score depends on the whole edge equally. On the<br />
other hands, if the ends of the template are weighted stronger than the center, a template<br />
that perfectly fits the tube edge will yield a larger score, since background edges are usually<br />
uniform. Thus, the template is designed to prefer tubes edges.<br />
The weighting coefficient b hastobelargerthanonetoyieldthedesiredeffect.Onthe<br />
other hand, b must not be too large as well, since then the ends get too much influence. In<br />
the extreme case, the template equals two spots at a certain distance that do not represent<br />
a tube edge anymore (see Figure 4.20).<br />
(b)