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.

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

corners rounded; however, when erosion is applied, the result is exactly a<br />

shrunken version of the square.<br />

Given a Cartesian grid, the two commonly used structuring elements are<br />

the 4-connected (or cross-shaped) <strong>and</strong> 8-connected (or square-shaped) sets,<br />

N 4 <strong>and</strong> N 8. They are given by<br />

2.5 Opening <strong>and</strong> Closing<br />

È0 1 0˘ È1 1 1˘<br />

Í ˙ Í ˙<br />

BN = 1 1 1 , B 1 1 1 .<br />

4 Í ˙ N = 8 Í ˙<br />

ÍÎ0 1 0˙˚ ÍÎ1 1 1˙˚<br />

In practical applications, dilation <strong>and</strong> erosion pairs are combined in sequence:<br />

either dilation of an image followed by erosion of the dilated result, or vice<br />

versa. In either case, the result of iteratively applying dilations <strong>and</strong> erosions<br />

is an elimination of specifi c image details whose sizes are smaller than the<br />

structuring element without the global geometric distortion of unsuppressed<br />

features. These properties were fi rst explored by Matheron [1975] <strong>and</strong> Serra<br />

[1982]. Their defi nitions for both opening <strong>and</strong> closing are identical to the ones<br />

given here, but their formulas appear different because they use the symbol<br />

� to mean Minkowski subtraction rather than erosion. The algebraic basis of<br />

morphological opening <strong>and</strong> closing has been further developed by Heijmans<br />

<strong>and</strong> Ronse [1991].<br />

Defi nition 2.4: The opening of an image A by a structuring element B,<br />

denoted by A ° B, is defi ned as<br />

A ° B = (A � B) � B. (2.17)<br />

Defi nition 2.5: The closing of an image A by a structuring element B,<br />

denoted by A • B, is defi ned as<br />

A • B = (A � B) � B. (2.18)<br />

Note that in opening <strong>and</strong> closing, the symbols � <strong>and</strong> � can respectively<br />

represent either binary or grayscale dilation <strong>and</strong> erosion. Grayscale morphological<br />

operations will be presented in the next chapter. Equivalently, opening<br />

can be expressed as the union of all translations of B that are contained in A<br />

<strong>and</strong> is formulated as<br />

A�B = ∪ By.<br />

ByÕA (2.19)

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

Saved successfully!

Ooh no, something went wrong!