Uploaded by omarmuktar991

LAB Project

advertisement
Click to edit Master title style
LAB Project
Omar Muktar Mohamed
1
Click to edit Master title style
PROJECT 09-01 [Multiple Uses]
Morphological and Other Set
Operations
2 2
Click to edit Master title style
Introduction to
Morphological Operations
3 3
Click to edit Master
Introduction
to Morphological
title style Operations
• Morphological operations are image
processing techniques used to analyze and
manipulate the shape and structure of objects
in an image.
• They are based on mathematical concepts
inspired by set theory, such as erosion and
dilation.
• Two common morphological operations are
binary erosion and dilation.
4 4
Click toErosion
Binary
edit Master
and Dilation
title style
•
This program aims to perform binary dilation and erosion with a specified 3x3 structuring
element.
Binary erosion
• Binary erosion shrinks object boundaries,
removing small noise and smoothing object edges.
•
Binary dilation
• Binary dilation expands object boundaries,
filling gaps and enhancing object features.
We will use a 3x3 structuring element, a small matrix defining the neighborhood for the
operation.
5 5
Click to edit
Program
Overview
Master title style
• We will write a program in Python to perform
binary erosion and dilation.
• The program takes an input image and a 3x3
structuring element as inputs.
• For binary erosion, the program scans the
image, keeping only pixels that match the
structuring element.
• For binary dilation, the program scans the
image, setting pixels under the structuring
element to foreground if any part overlaps with
a foreground pixel.
6 6
Conclusion
Click to edit Master title style
“
• Morphological operations, like binary erosion and dilation, are essential for
manipulating object shapes and structures in images.
• By writing a program with a 3x3 structuring element, we can perform these
operations and achieve different effects.
• Applications include medical imaging, computer vision, and pattern
recognition.
• Understanding and implementing these operations provides a valuable
toolset for preprocessing images and extracting meaningful information.
7
7
Click to edit Master title style
Thank You
8
Click to edit Master title style
THE END.
9
Download