0% found this document useful (0 votes)
28 views30 pages

What Is Morphological Operations.

Morphological operations. And sift

Uploaded by

py4041548
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views30 pages

What Is Morphological Operations.

Morphological operations. And sift

Uploaded by

py4041548
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 30

What is Morphological Operations?

• Morphological operations are techniques used in image processing


that focus on the structure and form of objects within an image.
• These operations process images based on their shapes and are
primarily applied to binary images, but can also be extended to
grayscale images.
• morphological operations include erosion, dilation, opening, closing,
and others, each serving distinct purposes in enhancing and
analyzing images.
Morphological operations rely on two key elements:

• The Input Image: Usually a binary image, where the objects of interest
are represented by foreground pixels (typically white) and the
background by background pixels (typically black). Grayscale images
can also be processed using morphological operations.
• The Structuring Element: A small matrix or kernel that defines the
neighborhood of pixels over which the operation is performed. The
shape and size of the structuring element can greatly influence the
outcome of the morphological operation.
Different Morphological Operations

• 1. Erosion:Erosion is a fundamental morphological operation that reduces the


size of objects in a binary image. It works by removing pixels from the
boundaries of objects.
• Purpose: To remove small noise, detach connected objects, and erode
boundaries.
• How it Works: The structuring element slides over the image, and for each
position, if all the pixels under the structuring element match the foreground,
the pixel in the output image is set to the foreground. Otherwise, it is set to the
background.
2.Dilation
• Dilation is the opposite of erosion and is used to increase
the size of objects in an image.

• Purpose: To join adjacent objects, fill small holes, and


enhance features.
• How it Works: The structuring element slides over the
image, and for each position, if any pixel under the
structuring element matches the foreground, the pixel in
the output image is set to the foreground.
Opening
• Opening is a compound operation that involves erosion
followed by dilation.
• Purpose: To remove small objects or noise from the
image while preserving the shape and size of larger
objects.
• How it Works: First, the image undergoes erosion, which
removes small objects and noise. Then, dilation is applied
to restore the size of the remaining objects to their original
dimensions.
Closing
• Closing is another compound operation that consists of
dilation followed by erosion.

• Purpose: To fill small holes and gaps in objects while


preserving their overall shape.
• How it Works: First, dilation is applied to the image, filling
small holes and gaps. Then, erosion is applied to restore
the original size of the objects.
Hit-or-Miss Transform
• The hit-or-miss transform is used to find specific patterns or
shapes in a binary image.

• Purpose: To detect specific configurations or shapes in the


image.
• How it Works: It uses a pair of structuring elements: one for
the foreground and one for the background. The operation
looks for places where the foreground structuring element
matches the foreground in the image, and the background
structuring element matches the background in the image.
Morphological Gradient
• The morphological gradient is the difference between the
dilation and erosion of an image.
• Purpose: To highlight the boundaries or edges of objects
in the image.
• How it Works: By subtracting the eroded image from the
dilated image, the boundaries of the objects are
emphasized.
Top-Hat Transform
• The top-hat transform is used to extract small elements
and details from an image.
• Purpose: To enhance bright objects on a dark background
or vice versa.
• How it Works: There are two types:
– white top-hat (original image minus the result of opening)
• black top-hat (result of closing minus the original
image).
Skeletonization
• Skeletonization reduces objects in a binary image to their
skeletal form.
• Purpose: To simplify objects to their essential structure
while preserving their connectivity.
• How it Works: It iteratively erodes the image until the
objects are reduced to a minimal, skeletal form.
Pruning
• Pruning removes small spurs or extraneous branches
from the skeleton of an image.
• Purpose: To clean up the skeleton by removing unwanted
artifacts.
• How it Works: It identifies and removes small, irrelevant
branches from the skeletonized image.
Thinning

• Thinning is used to reduce the thickness of objects in a


binary image to a single-pixel-wide representation. It is
similar to skeletonization but focuses on reducing object
thickness without necessarily preserving the exact medial
axis of the shape
shape context descriptor

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy