Thinning (morphology)

From The Right Wiki
Revision as of 06:41, 3 November 2020 by imported>Citation bot (Alter: last, edition. Add: year. | You can use this bot yourself. Report bugs here. | Suggested by Grimes2 | Category:CS1 maint: extra text | via #UCB_Category 37/50)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Thinning is the transformation of a digital image into a simplified, but topologically equivalent image. It is a type of topological skeleton, but computed using mathematical morphology operators.

Example

Let E=Z2, and consider the eight composite structuring elements, composed by:

C1={(0,0),(1,1),(0,1),(1,1)} and D1={(1,1),(0,1),(1,1)},
C2={(1,0),(0,0),(1,1),(0,1)} and D2={(0,1),(1,1),(1,0)}

and the three rotations of each by 90o, 180o, and 270o. The corresponding composite structuring elements are denoted B1,,B8. For any i between 1 and 8, and any binary image X, define

XBi=X(XBi),

where denotes the set-theoretical difference and denotes the hit-or-miss transform. The thinning of an image A is obtained by cyclically iterating until convergence:

AB1B2B8B1B2.

Thickening

Thickening is the dual of thinning that is used to grow selected regions of foreground pixels. In most cases in image processing thickening is performed by thinning the background [1] thicken(X,Bi)=X(XBi) where denotes the set-theoretical difference and denotes the hit-or-miss transform, and Bi is the structural element and X is the image being operated on.

References

  1. Gonzalez, Rafael C. (2002). Digital image processing. Woods, Richard E. (Richard Eugene), 1954- (2nd ed.). Upper Saddle River, N.J. ISBN 0-201-18075-8. OCLC 48944550.{{cite book}}: CS1 maint: location missing publisher (link)