Morphological Image Processing - PowerPoint PPT Presentation

1 / 35
About This Presentation
Title:

Morphological Image Processing

Description:

Thinning Illustration. Example. Input Image. Output result Image. Thickening ... Thickening Illustration. 45 degrees oriented Structuring elements. Input Image ... – PowerPoint PPT presentation

Number of Views:214
Avg rating:3.0/5.0
Slides: 36
Provided by: aru491
Category:

less

Transcript and Presenter's Notes

Title: Morphological Image Processing


1
Morphological Image Processing
  • by
  • Rajesh Narra

2
Introduction
Morphology deals with form and Structure of
animals and plants
Mathematical Morphology deals with set theory
Sets in Mathematical Morphology represents
objects in an Image
3
How to represent images as sets ?
For Binary Images it is an 2-D integer space
where sets represents Black pixels (White pixels).
Y axis
X axis
4
Contd....
Gray Scale images are represented as 3-D integer
space where Z axis refers to gray level value.
Y axis
X axis
Z axis
5
Basic set operators
6
Basic Morphology Operators
  • Dilation
  • Erosion
  • Opening
  • Closing
  • Hit or Miss Transformation

7
Basic Components in Morphology
  • Every Operation has two elements are present .
  • 1) Input Image (almost Binary)
  • 2) Structuring element
  • Mainly operations results depends upon the
    structure element that is chosen by us.

8
Dilation
  • Dilation of A by B is denoted and defined as
  • A ? B z ( B )z ? A ?? ?


Theoretical way of generation Obtaining
reflection of B about its origin and shifting
this reflection by z the dilation of A by B then
is set of all displacements, z such that B and A
overlap by at least one element
9
How to implement this practically
Structuring element
Resultant image
Input Image
10
Gray Scale Images
Structuring element
Input Image
Resultant Image
11
Erosion
Erosion of A by B is denoted and defined as A? O
B z ( B )z ? A
Theoretical way of generation Erosion of A by B
is the set of all points such that B, translated
by z is contained in A.
12
Binary Images
Structuring element
Output image
Input Image
13
Gray scale Images
Structuring element
Input Image
Output image
14
  • What happens when we do dilation after erosion
    and vice versa

15
Answer
  • Opening
  • Erosion followed by dilation
  • Closing
  • Dilation followed by Erosion

16
Opening
  • Opening of A by B is denoted by
  • A o B ( A
    ? O B ) ? B.
  • It is less destructive than the Erosion.

17
Application
Structuring element is an 11pixel array with a
circle shape
Input Image
Resultant Image
18
Closing
  • Closing of A by B is denoted and defined as
  • A ? B ( A ? B ) O B
  • Closing is less destructive of the original
    boundary shape than dilation

19
Application
Structure element is in between the smaller
circle and large circle
20
Hit or Miss Transform
  • Basic operation where all other operators
  • can be derived
  • It Hit or miss transform of A by B is denoted by
  • A B
  • The difference is in structure element from
    others


21
Example
Structuring elements
22
Thinning
  • Thinning is used to remove selected pixel from
    foreground pixels
  • Thinning of A by B is denoted and defined as
  • A? B A- H/M(A,B)
  • Thinning is applied repeatedly until no change is
    observed in Image
  • A? B ((.. (A? B1) ? B2) ? B3).. ) ? Bn)

23
Thinning Illustration
24
Example
Input Image
Output result Image
25
Thickening
  • Thickening is used to grow selected regions of
    foreground pixels in binary images
  • Thinning of A by B is denoted and defined as

?
A
B A U H/M(A,B)
Similarly Thickening is also repeatedly applied
to image until no change is observed.
26
Thickening Illustration
45 degrees oriented Structuring elements
Output result Image
Input Image
27
Duals
28
Simple Morphology Applications
  • Boundary Extraction
  • Region Filling
  • Connected Components

29
Boundary Extraction
  • Boundary of a set A is denoted by ?(A) and is
    defined as
  • ß(A) A (A O B )
  • Where B is a suitable Structuring element
  • This is obtained by first eroding A by B and then
    performing the set difference between A and its
    erosion.

30
Example
Input image
Output Image
Structure element used is a 3X3 all 1s matrix
31
  • What is difference between the edge detection
    filters and the current approach

32
Region Filling
  • Based on set dilations , complementation and
    intersections.
  • Procedure
  • Xk (Xk-1 ?? B) ? Ac k 1,2,3..
  • Where X0 p and B is symmetric structure element
  • Terminates if Xk Xk-1

33
Example
Input Image
Output result Image
34
Extraction of Connected Components
  • Procedure
  • Assume that a point p of Y ( a connected
    component in A) is known.
  • Following iterative expression yields all the
    elements of Y.
  • Xk (Xk-1 ?? B) ? A k 1,2,3..
  • Where X0 p and B is symmetric structure element
  • Terminates if Xk Xk-1

35
References
  • R. C. Gonzalez and R. E. Woods Digital Image
    Processing, Addison-Wesley, New York, 199, Chap
    9.
  • E. Davies Machine Vision Theory, Algorithms and
    Practicalities, Academic Press, 1990, pp 149 -
    161.
  • R. Haralick and L. Shapiro Computer and Robot
    Vision, Vol. 1, Addison-Wesley Publishing
    Company, 1992, Chap. 5.
  • A. Jain Fundamentals of Digital Image Processing,
    Prentice-Hall, 1989, Chap. 9.
  • http//www.cee.hw.ac.uk/hipr/html/morops.html
    University of Edinburgh UK
  • http//www.mathworks.com/ MATLAB website
Write a Comment
User Comments (0)
About PowerShow.com