30.11.2012 Views

Thesis (PDF) - Signal & Image Processing Lab

Thesis (PDF) - Signal & Image Processing Lab

Thesis (PDF) - Signal & Image Processing Lab

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6.2. MORPHOLOGICAL OPERATIONS ON THE EXTREMA-WATERSHED TREE 87<br />

6.2.2 Opening by reconstruction<br />

We can define an opening by reconstruction operator in the extrema-watershed tree.<br />

The classical version of this morphology operator is defined in [3] as a single erosion<br />

operation followed by a sequence of conditional dilation operations. The sequence is<br />

stopped when stability is reached - meaning that a dilation followed by the minimum<br />

operation does not change the resulting image.<br />

Using an opening operator defined on a tree, an opening by reconstruction operator<br />

is equivalent to tree pruning, where the pruning criteria is whether the vertex in<br />

question exists in the opened image. The tree pruning for opening by reconstruction<br />

is done using the following steps:<br />

1. Apply an opening operator on the source image.<br />

2. In a tree, for every label remaining in the tree, mark all vertices of the path<br />

starting from this label until the tree root, as still existing in the tree.<br />

3. Replace every label in the input image by the closest parent label that was<br />

marked as still existing in the tree.<br />

Let’s demonstrate the method using an example illustrated in Fig. 6.13. In this<br />

example a source image consists of three rectangles located on a background. In the<br />

corresponding tree, those shapes have indexes V1, V2 and V3. In the example, a<br />

regular opening operator and an opening by reconstruction are applied on the image.<br />

The structuring element is a square that is bigger than V2, but smaller than the other<br />

shapes. The regular opening, shown in the figure, will leave the root label V5 shown<br />

in the image instead of V2. However, the opening by reconstruction will remove V2,<br />

as shown, and then reconstruct label V4 instead.<br />

Additional examples can be seen on Figs. 6.14 and 6.15.

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

Saved successfully!

Ooh no, something went wrong!