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.4. TUBE LOCALIZATION 67<br />
�<br />
1<br />
Psmooth = P ∗<br />
Ksmooth<br />
�<br />
1<br />
Ksmooth<br />
��<br />
...<br />
�<br />
1<br />
Ksmooth<br />
�<br />
Ksmooth times<br />
(4.5)<br />
The idea of this low pass filtering operation is to reduce the high-frequency components<br />
in the profile, thus, especially the structure of the background pattern.<br />
Obviously, this step also blurs the tube edges, and therefore reduces the detection precision<br />
significantly. Having in mind the goal of the profile analysis, it is intended to verify<br />
whether a measurement is possible in the current frame or not. In a next step, the proper<br />
measurements have to be performed on the original image data and not on the profile.<br />
However,knowledgeofthisfirststepdoesnothavetobediscardedandcanbeusedinstead<br />
to optimize the following. In other words, if it is possible to predict a tube’s boundaries<br />
reliable, but not precise, this information is then used to define a region of interest (ROI)<br />
as close as possible around the exact location.<br />
Step 2: The next step is to detect strong changes in the profile. Large peaks in the first<br />
derivative of the profile indicate such changes and can be considered as candidates for<br />
tube boundaries. Therefore, a convolution with a symmetric 1D kernel approximating the<br />
first derivative of a Gaussian is performed:<br />
Pdrv = Psmooth ∗ Dx<br />
(4.6)<br />
The odd symmetric 9 × 1 filter kernel Dx is given by the following filter tab as proposed<br />
in [25] for the design of steerable filters:<br />
tab 0 1 2 3 4<br />
value 0.0 0.5806 0.302 0.048 0.0028<br />
With this kernel a dark-bright edge results in a negative response while a bright-dark<br />
edge leads to a positive response. The intensity of the response is proportional to the<br />
contrast at the edge.<br />
Assuming the potential tube boundaries have a sufficient contrast, only the strongest<br />
peaks of Pdrv are of interest for later processing. To simplify the task of peak detection,<br />
theabsolutevaluesofthedifferentiatedprofilearetakenintoaccountonly. Thisisdenoted<br />
as follows:<br />
as P +<br />
drv<br />
P +<br />
drv = |Pdrv| (4.7)<br />
Note that the information of the sign of a peak in Pdrv is still useful for later classification<br />
and has not to be discarded.<br />
Step 3: A thresholding is performed on P +<br />
drv to eliminate smaller peaks that correspond<br />
for example to changes in intensity due to the background pattern or dirt:<br />
� +<br />
P<br />
Pthresh(x) = drv (x)<br />
0<br />
+<br />
, if P drv (x) >τpeak<br />
, otherwise<br />
(4.8)