Erosion (morphology)

Erosion (morphology)

Erosion is one of two fundamental operations (the other being dilation) in Morphological image processing from which all other morphological operations are based. It was originally defined for binary images, later being extended to grayscale images, and subsequently to complete lattices.

Binary erosion

In binary morphology, an image is viewed as a subset of an Euclidean space mathbb{R}^d or the integer grid mathbb{Z}^d, for some dimension "d".

The basic idea in binary morphology is to probe an image with a simple, pre-defined shape, drawing conclusions on how this shape fits or misses the shapes in the image. This simple "probe" is called structuring element, and is itself a binary image (i.e., a subset of the space or grid).

Let "E" be an Euclidean space or an integer grid, and "A" a binary image in "E".The erosion of the binary image "A" by the structuring element "B" is defined by:

::A ominus B = {zin E | B_{z} subseteq A},

where "B""z" is the translation of "B" by the vector z, i.e., B_z = {b+z|bin B}, forall zin E.

When the structuring element "B" has a center (e.g., a disk or a square), and this center is located on the origin of "E", then the erosion of "A" by "B" can be understood as the locus of points reached by the center of "B" when "B" moves inside "A". For example, the erosion of a square of side 10, centered at the origin, by a disc of radius 2, also centered at the origin, is a square of side 6 centered at the origin.

The erosion of "A" by "B" is also given by the expression: A ominus B = igcap_{bin B} A_{-b}.

Example

Suppose A is a 13 * 13 matrix and B is a 5 * 1 matrix:

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 1 1 1 1 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Assuming that the origin B is at its center, for each pixel in A superimpose the origin of B, if B is completely contained by A the pixel is retained, else deleted.

The Erosion of A by B is given by

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

This means that only when B is completely contained inside A that the pixels values are retained, else it gets deleted or in other words it gets eroded.

Properties

* The erosion is translation invariant.
* It is increasing, that is, if Asubseteq C, then Aominus B subseteq Cominus B.
* If the origin of "E" belongs to the structuring element "B", then the erosion is "anti-extensive", i.e., Aominus Bsubseteq A.
* The erosion satisfies (Aominus B)ominus C = Aominus (Boplus C), where oplus denotes the morphological dilation.
* The erosion is distributive over set intersection

Grayscale erosion

In grayscale morphology, images are functions mapping an Euclidean space or grid "E" into mathbb{R}cup{infty,-infty}, where mathbb{R} is the set of reals, infty is an element larger than any real number, and -infty is an element smaller than any real number.

Denoting an image by "f(x)" and the grayscale structuring element by "b(x)", the grayscale erosion of "f" by "b" is given by

::(fominus b)(x)=inf_{yin E} [f(y)-b(y-x)] ,

where "inf" denotes the infimum.

Erosions on complete lattices

Complete lattices are partially ordered sets, where every subset has an infimum and a supremum. In particular, it contains a least element and a greatest element (also denoted "universe").

Let (L,leq) be a complete lattice, with infimum and minimum symbolized by wedge and vee, respectively. Its universe and least element are symbolized by "U" and emptyset, respectively. Moreover, let { X_{i} } be a collection of elements from "L".

An erosion in (L,leq) is any operator varepsilon: L ightarrow L that distributes over the infimum, and preserves the universe. I.e.:
* igwedge_{i}varepsilon(X_i)=varepsilonleft(igwedge_{i} X_i ight),
* varepsilon(U)=U.

ee also

*Mathematical morphology
*Dilation
*Opening
*Closing

References

* "Image Analysis and Mathematical Morphology" by Jean Serra, ISBN 0126372403 (1982)
* "Image Analysis and Mathematical Morphology, Volume 2: Theoretical Advances" by Jean Serra, ISBN 0-12-637241-1 (1988)
* "An Introduction to Morphological Image Processing" by Edward R. Dougherty, ISBN 0-8194-0845-X (1992)
* "Morphological Image Analysis; Principles and Applications" by Pierre Soille, ISBN 3540-65671-5 (1999)
* R. C. Gonzalez and R. E. Woods, "Digital image processing", 2nd ed. Upper Saddle River, N.J.: Prentice Hall, 2002.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Erosion du littoral — Érosion du littoral 75% environ du trait de côte européen régresse significativement et parfois rapidement, parfois naturellement, parfois suite aux activités humaines, ici sur l île d Héligoland (Allemagne) L érosion du littoral est un phénomène …   Wikipédia en Français

  • Érosion côtière — Érosion du littoral 75% environ du trait de côte européen régresse significativement et parfois rapidement, parfois naturellement, parfois suite aux activités humaines, ici sur l île d Héligoland (Allemagne) L érosion du littoral est un phénomène …   Wikipédia en Français

  • Érosion du trait de côte — Érosion du littoral 75% environ du trait de côte européen régresse significativement et parfois rapidement, parfois naturellement, parfois suite aux activités humaines, ici sur l île d Héligoland (Allemagne) L érosion du littoral est un phénomène …   Wikipédia en Français

  • Érosion littorale — Érosion du littoral 75% environ du trait de côte européen régresse significativement et parfois rapidement, parfois naturellement, parfois suite aux activités humaines, ici sur l île d Héligoland (Allemagne) L érosion du littoral est un phénomène …   Wikipédia en Français

  • Érosion du littoral — 75 % environ du trait de côte européen régresse significativement et parfois rapidement, parfois naturellement, parfois suite aux activités humaines, ici sur l île d Héligoland (Allemagne) L’érosion du littoral est un phénomène naturel et/ou …   Wikipédia en Français

  • Mathematical morphology — A shape (in blue) and its morphological dilation (in green) and erosion (in yellow) by a diamond shape structuring element. Mathematical morphology (MM) is a theory and technique for the analysis and processing of geometrical structures, based on …   Wikipedia

  • Closing (morphology) — The closing of the dark blue shape (union of two squares) by a disk, resulting in the union of the dark blue shape and the light blue areas. In mathematical morphology, the closing of a set (binary image) A by a structuring element B is the… …   Wikipedia

  • River morphology — is the field of science dealing with changes of river planform and cross section shape due to sedimentation and erosion processes.Morphology is a branch of geomorphology that deals with the forms of natural water bodies such as rivers, lakes,… …   Wikipedia

  • Opening (morphology) — The opening of the dark blue square by a disk, resulting in the light blue square with round corners. In mathematical morphology, opening is the dilation of the erosion of a set A by a structuring element B: where …   Wikipedia

  • Dilation (morphology) — Dilation is one of the basic operations in mathematical morphology. Originally developed for binary images, it has been expanded first to grayscale images, and then to complete lattices. The dilation operation usually uses a structuring element… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”