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.

16 <strong>Image</strong> <strong>Processing</strong> <strong>and</strong> <strong>Mathematical</strong> <strong>Morpholo</strong>gy<br />

Example 2.1:<br />

A = {(0, 2), (1, 1), (1, 2), (2, 0), (2, 2), (3, 1)}<br />

b = (0, 1)<br />

(A) b = {(0, 3), (1, 2), (1, 3), (2, 1), (2, 3), (3, 2)}<br />

0<br />

1<br />

2<br />

3<br />

0 1 2 3<br />

0<br />

0<br />

1<br />

0<br />

0<br />

1<br />

0<br />

1<br />

1<br />

1<br />

1<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

1<br />

2<br />

3<br />

0 1 2 3<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0<br />

1<br />

0<br />

A A (0,1)<br />

Defi nition 2.2: Let A, B Ã E N . The binary dilation of A by B, denoted by A � b B,<br />

is defi ned as<br />

A � b B = {c � E N |c = a + b for some a � A <strong>and</strong> b � B}. (2.9)<br />

The subscript of dilation “b” indicates binary. Equivalently, we may write<br />

∪ ∪<br />

A � B = ( A) = ( B)<br />

.<br />

b b a<br />

bŒB aŒA 0<br />

1<br />

0<br />

1<br />

1<br />

1<br />

1<br />

0<br />

(2.10)<br />

The representation, A �b B = ∪ (A) b�B b , states that the dilation of A by B can<br />

be implemented by delaying the raster scan of A by the amounts corresponding<br />

to the points in B <strong>and</strong> then ORing the delayed raster scans. That is<br />

Example 2.2:<br />

( ) OR[AND( , )].<br />

A �bB<br />

(,) i j = B( m, n) A( i-m, j-n) mn ,<br />

A = {(0, 1), (1, 1), (2, 1), (3, 1)}<br />

B = {(0, 0), (0, 2)<br />

A �b B = {(0, 1), (1, 1), (2, 1), (3, 1), (0, 3), (1, 3), (2, 3), (3, 3)}.<br />

0<br />

1<br />

2<br />

3<br />

0 1<br />

0 1<br />

0 1<br />

0 1<br />

0 1<br />

2<br />

0<br />

0<br />

0<br />

0<br />

3<br />

0<br />

0<br />

0<br />

0<br />

0<br />

0 1<br />

1<br />

0<br />

A B A ⊕ b B<br />

2<br />

1<br />

0<br />

1<br />

2<br />

3<br />

0<br />

0<br />

0<br />

0<br />

0<br />

1<br />

1<br />

1<br />

1<br />

1<br />

2<br />

0<br />

0<br />

0<br />

0<br />

(2.11)<br />

3<br />

1<br />

1<br />

1<br />

1

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

Saved successfully!

Ooh no, something went wrong!