Module 3.1 Morphology
Module 3.1 Morphology
Morphological
Operations and
algorithms
Introduction
Module 1:Lecture 1 –
Introduction
Basic concepts in set theory
Logic operations involving binary pixel
and images
Structuring Elements (SE)
EROSION
EROSION:EXAMPLE 1
EROSION:EXAMPLE 2
DILATION
DILATION:EXAMPLE 1
DILATION:EXAMPLE 2
DILATION: A more interesting example
(bridging gaps)
Duality between dilation and
erosion
Erosion and dilation summary
Erosion vs Dilation
Opening and closing
The hit or miss transformation
The hit or miss transformation
Hit or miss exp:
The hit or miss transformation
The hit or miss transformation
The hit or miss transformation
The hit or miss transformation
The hit or miss transformation
The hit or miss transformation
Basic morphological algorithms
(applications)
Boundary extraction
Boundary extraction
Region filling
Region filling
Extraction of connected
components
Convex Hull
Thinning
Thinning
Thinning example
Thickening
Thickening
Thickening example preview
Thickening example
Skeleton
Skeleton example
Skeleton
Pruning
Feature Descriptors :
• There are several feature descriptors out there. Here are a few of the
most popular ones
• HOG: Histogram of Oriented Gradients
• SIFT: Scale Invariant Feature Transform
• SURF: Speeded-Up Robust Feature
SIFT :
• This algorithm is a computer vision technique used for feature detection and
description. It detects distinctive key points or features in an image that are
robust to changes in scale, rotation, and affine transformations. SIFT(scale
invariant feature transform) works by identifying key points based on their
local intensity extrema and computing descriptors that capture the local image
information around those key points. These descriptors can then be used for
tasks like image matching, object recognition, and image retrieval.
• SIFT algorithm helps locate the local features in an image, commonly known as
the ‘keypoints‘ of the image. These keypoints are scale & rotation invariants
that can be used for various computer vision applications, like image
matching, object detection, scene detection, etc.
SIFT :
SIFT Process:
• Remove the points with low contrast and unstable edge effects, leaving
representative key points after all the feature points have been found, to
enhance the noise immunity and stability of the match.
• The key point descriptor includes the key point and the pixels around the key
point that contribute to it to make the key points have stronger invariant
characteristics and improve the efficiency of target matching.
• Consider bilinear interpolation after rotation for the sampling area of the
descriptor to prevent white spots from appearing in the rotated image.
• Rotate θ angle in the nearby area with the feature point as the center, and then
calculate the gradient histogram of the sampling area to form an n-dimensional
SIFT feature vector (such as 128-SIFT) to ensure the invariance of rotation.
• The HOG method involves computing the gradient magnitude and orientation
for each pixel in an image and then dividing the image into small cells.
• Finally the HOG would generate a Histogram for each of these regions separately.
The histograms are created using the gradients and orientations of the pixel
values, hence the name ‘Histogram of Oriented Gradients’
Steps involved :
Next, calculate the orientation (or direction) for the same pixel. We
know that we can write the tan for the angles:
tan(Φ) = Gy / Gx
Boundary descriptors
Lecture
Region descriptors
Lecture
SIFT: Scale-Invariant
Feature Transform
Thank You