30.01.2013 Views

Shih_Image_Processing_and_Mathematical_Morpholo.pdf

Shih_Image_Processing_and_Mathematical_Morpholo.pdf

Shih_Image_Processing_and_Mathematical_Morpholo.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Decomposition of <strong>Morpholo</strong>gical Structuring Elements 283<br />

3<br />

7<br />

6<br />

4<br />

8<br />

5<br />

6<br />

5<br />

9<br />

8<br />

5<br />

4<br />

10<br />

7<br />

12<br />

5<br />

9<br />

7<br />

11 {{ = max<br />

4 3 10 9 7<br />

× 4 × × 5<br />

× 8 × 10 9<br />

× × × × ×<br />

4 6 × 12 11<br />

× × 10 9 7<br />

4<br />

–3<br />

1<br />

0 ⊕ 6 5 8 7 7<br />

–3<br />

–2<br />

–3<br />

–8<br />

× 4 × × 5<br />

{{<br />

= max<br />

1<br />

0<br />

–3<br />

⊕ 6 5 8 7 7<br />

–2<br />

×<br />

0<br />

⊕ 4 6 × 12 11<br />

×<br />

×<br />

×<br />

8<br />

×<br />

×<br />

×<br />

×<br />

×<br />

×<br />

×<br />

×<br />

×<br />

×<br />

×<br />

–2<br />

, –4<br />

, × × 10 9 ×<br />

–3<br />

–8<br />

= max{ {<br />

1<br />

0 ⊕ 6<br />

–3<br />

–2<br />

0<br />

4<br />

× ⊕ ×<br />

5<br />

4<br />

8<br />

×<br />

7<br />

×<br />

–2<br />

7 ×<br />

0<br />

, –4<br />

×<br />

×<br />

5 ×<br />

⊕<br />

⊕<br />

4<br />

×<br />

6<br />

×<br />

×<br />

10<br />

12 11<br />

,<br />

9 ×<br />

×<br />

×<br />

×<br />

, 0<br />

FIGURE 9.24 The combined row-<strong>and</strong>-column decomposition of a two-dimensional structuring<br />

element.<br />

9.3.4 Complexity Analysis<br />

In this section, we discuss the computational complexity of the structuring<br />

element decomposition. The worst case in decomposing the one-dimensional<br />

arbitrary grayscale structuring element is when the size is n, it is decomposed<br />

into (n - 1)/2 smaller structuring components of size 3 as shown in<br />

Figure 9.25.<br />

Supposing that an image is performed several dilations by l SEs of size N,<br />

S1 N, S2 N, º , Sl N, for each pixel it needs l · N processing time <strong>and</strong> l · N comparisons<br />

(maximum operation) in a general sequential architecture as shown in<br />

Figure 9.26a. If all the SEs are decomposable without utilizing the maximum<br />

selection operation as shown in Figure 9.26b, it needs 3 · [(N - 1)/2 + (l - 1)]<br />

processing time <strong>and</strong> 3 · l · (N - 1)/2 comparisons in a pipeline architecture<br />

with l stages. However, in the worst case if all the SEs can only be decomposed<br />

into the format as shown in Figure 9.25, it needs 3 · [(N - 1)/2 + (l - 1)]<br />

processing time <strong>and</strong> 3 · l · (N - 1)/2 + l · N comparisons in a pipelined architecture<br />

with l stages. Table 9.4 shows the computational complexity of decomposing<br />

one-dimensional SEs in different conditions.<br />

,

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

Saved successfully!

Ooh no, something went wrong!