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.

78 CHAPTER 4. LENGTH MEASUREMENT APPROACH<br />

neighbors must meet a certain threshold. However, the zero crossing can be computed<br />

with subpixel accuracy.<br />

Steerable Filters The idea with filters that are steerable for example in scale and orientation<br />

is to design a filter that performs best for a particular edge detection task (See<br />

Section 2.3.3). In this application the goal is to find a filter that extracts the tube edges<br />

with maximum precision, while background edges and dirt are suppressed. The steerable<br />

filter approach allows for testing a large range of different edge detection kernels.<br />

Experiments with systematically varied parameter sets of first-derivative Gaussian filters<br />

following the approach of Freeman and Adelson [25] are applied to the test images. Some<br />

of the results are visualized in Figure 4.2.<br />

As can be seen, the background clutter can not be eliminated even with larger kernel<br />

sizes while the tube edges get blurred. No parameter setting for a Gaussian derivative<br />

kernel has been found that performs significantly better as a tube edge detector than the<br />

computational less expensive Sobel operator.<br />

All tested methods beside the Canny edge detector can be seen more as edge enhancer<br />

than as real edge detectors. This means, the results do not fulfill the second and third<br />

criterion for good edge detection (See Section 2.3.1). Further processing of the edge<br />

responses such as nonmaximum suppression is necessary. An alternative is a template<br />

based edge localization step which is introduced in the next section.<br />

4.5.2. Template Based Edge Localization<br />

It is important to state that even precisely detected edges (including Canny’s approach)<br />

still have no semantical meaning. In all tested methods there have been false positives,<br />

i.e. edges belonging to the background, dirt, or noise. Hence, model knowledge has to be<br />

applied to the detected edges to ensure whether an edge really corresponds to a tube’s<br />

boundary or not.<br />

In this application, the highly constrained conditions reduce the number of expected<br />

situations to a small, well defined minimum. The edges belonging to the tube boundaries<br />

of interest are always approximately vertical. Due to perspective the tube boundary<br />

appears straight or slightly curved in a convex fashion under back light, depending on the<br />

position of the tube with respect to the optical ray of the camera. The more the tube<br />

boundary is displaced from the camera center the larger is the curvature.<br />

At this stage it is of interest to locate a tube’s boundaries within the two local ROIs<br />

(left and right respectively). Strong changes in image intensity in x direction (vertical<br />

edges) have been enhanced using the SOBELX operator. The goal is not only to find<br />

the strongest peaks in the edge image, but also the strongest connected ridge along such<br />

peaks that most likely corresponds to the tube boundary. This task can be performed by<br />

template matching (See Section 2.4).<br />

If the feature to be detected can be modeled by a template, the response of the crosscorrelation<br />

with this template computes a match probability within a given search region.<br />

The idea is to design a template that models the response of the edge enhancer and<br />

correlate this template with the local ROI. The position where the correlation has its<br />

maximum provides close information on the tube boundary location. Therefore, it is

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

Saved successfully!

Ooh no, something went wrong!