Introduction to Morphological
Image Processing
• Subject Code: BCS613B – Computer Vision
• VTU Curriculum
• Based on notes by Nithya Lakshmi K
• Prepared by: [Your Name], USN, Semester
Outline / Agenda
• • Introduction to Morphological Image
Processing
• • Basic Concepts
• • Structuring Element
• • Fundamental Morphological Operations
• - Dilation
• - Erosion
• • Compound Operations
• - Opening
What is Morphological Image
Processing?
• • Deals with shape or structure of features in
an image
• • Mainly applied to binary images, but
extended to grayscale
• • Originates from mathematical morphology
• • Based on set theory operations
Basic Concepts
• • Input: Binary or Grayscale image
• • Morphology focuses on:
• - Object boundaries
• - Skeletons
• - Connectivity
• • Uses a tool called Structuring Element (SE)
Structuring Element (SE)
• • A small matrix (usually 3x3, 5x5)
• • Defined shape: Square, Line, Cross, Circle
• • Used to probe and interact with the image
• • Example:
• 111
• 111
• 111
Dilation
• • Expands or grows the object boundary
• • Adds pixels to object edges
• • Useful to:
• - Join broken parts
• - Fill small holes
• • Mathematical Formula:
• A ⊕ B = { z | (B̂ )_z ∩ A ≠ ∅ }
Erosion
• • Shrinks or thins the object boundary
• • Removes pixels from object edges
• • Useful for:
• - Removing noise
• - Separating touching objects
• • Mathematical Formula:
• A ⊖ B = { z | B_z ⊆ A }
Opening
• • Opening = Erosion followed by Dilation
• • Removes small objects/noise
• • Smoothens contours
• • Preserves object shape
• • Notation: A ○ B = (A ⊖ B) ⊕ B
Closing
• • Closing = Dilation followed by Erosion
• • Fills small holes
• • Joins narrow breaks
• • Smoothens contours
• • Notation: A ● B = (A ⊕ B) ⊖ B
Example Diagrams (Optional Visual
Slide)
• • Visual illustration of Dilation, Erosion,
Opening, and Closing
• • (Add sample diagrams or animations here if
possible)
Applications
• • Image preprocessing
• • Noise removal
• • Edge detection
• • Feature extraction
• • Object segmentation
• • Medical imaging, OCR, and more
Summary
• • Morphological operations help in structure-
based image analysis
• • Four primary operations: Dilation, Erosion,
Opening, Closing
• • Essential for binary image processing
• • Applications across multiple domains
Thank You
• • Questions?
• • Contact Info: [Email or LinkedIn]
• • Prepared by: [Your Name], [USN]