SlideShare a Scribd company logo
DETECTING LEVELLING RODS
USING SIFT FEATURE MATCHING
GROUP 1
MSc Course 2006-08
25TH
June 2007
Sajid Pareeth
Sonam Tashi
Gabriel Vincent Sanya
Michael Mutale
PHOTOGRAMMETRY STUDIO
Objective
Introduction
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
 To develop a MATLAB procedure for the detection of
levelling rods.
 To carry out matching based on Algorithms proposed by
David Lowe
 Object recognition using invariant features
Transformation
Examples
Summary of Steps
Images
SIFT Key Feature Extraction
Keypoint Matching
Removing Outliers - RANSAC
Transformation
Introduction
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Background - SIFT
 Published by David Lowe et al. 1999-2004
 Algorithm to extract features that are invariant to
rotation,
scaling and
 partially invariant to
changes in illumination and camera viewpoint
 Resulting features are highly distinctive
Consists of (Major stages of computation):
 Scale-space extrema detection-the Gaussian Widow
 Keypoint localization- 4x4 samples per window in 8
directions
 Orientation assignment
 Keypoint descriptor-feature vector is modified to reduce the effects of illumination
change. The vector is normalized to unit length. large gradient magnitudes by thresholding the
values in the unit feature vector to each be no larger than 0.2, and then renormalizing to unit
length.
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Introduction
A keypoint descriptor is created by first computing the
gradient magnitude and orientation at each image sample
point in a region around the keypoint location,
These are weighted by a Gaussian window, indicated by
the overlaid circle. These samples are then accumulated
into orientation histograms summarizing the contents over
4x4 subregions,
The length of each arrow corresponding to the sum of the
gradient magnitudes near that direction within
the region.
Scale Invariant Detection
 Consider regions (e.g. circles) of different sizes around
a point
 Regions of corresponding sizes will look the same in
both images SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT Algorithm
Introduction
 The problem: how do we choose
corresponding circles independently in each
image?
Scale Invariant Detection
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT Algorithm
Introduction
 Solution:
 Design a function on the region (circle), which is
“scale invariant” (the same for corresponding
regions, even if they are at different scales)
Example: average intensity. For corresponding regions
(even of different sizes) it will be the same.
 For a point in one image, we can consider it as a
function of region size (circle radius)
scale = 1/2
f
region size
Image 1 f
region size
Image 2
Scale Invariant Detection
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT Algorithm
Introduction
 Common approach
scale = 1/2
f
region size
Image 1 f
region size
Image 2
Take a local maximum of this function
Observation: region size, for which the maximum is achieved,
should be invariant to image scale.
s1 s2
Important: this scale invariant region size is found
in each image independently!
Scale Invariant Detection
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT Algorithm
Introduction
scale
x
y
← DoG →
←DoG→
SIFT(Lowe)
Maxima and minima of the difference-of-Gaussian
images detected by comparing a pixel (marked with X)
to its 26 neighbors in 3x3 regions at the current and
adjacent scales (marked with circles).
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT Algorithm
Introduction
Gaussian pyramids
Scale
First Octave
Scale
Next
Octave
Difference of Gaussians
Difference of Gaussian(DoG)
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT Algorithm
Introduction
Keypoint Descriptors
Feature Vectors
 Thresholded image gradients sampled over:
 16x16 array of locations in scale space
 Histogram of 4x4 samples per window in 8 directions
 Gaussian weighting around center
 8 orientations x 4 x 4 histogram array = 128 dimensional
feature vector
 4x4 Gradient window
SIFT Algorithm
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT-Keypoints
Extraction
Introduction
Gaussian Gradient Window
Criteria for Selection
 Prominent
 Distinguishable-from neighborhood
 Invariant
 Stable to disturbances
 Rare (exceptional) - from other selected points
 Meaningful - with respect to image interpretation
SIFT Algorithm
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT-Keypoints
Extraction
Introduction
SIFT keypoints
 Detected Keypoints in reference and candidate image
 Keypoints in both images will be matched
Candidate image with keypointsReference image
with keypoints
SIFT Algorithm
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT-Keypoints
Extraction
Introduction
Keypoint Matching
 Fundamental aspect in computer vision.
 Based on Euclidean distance of the feature vectors.
 Nearest neighbor algorithms.
 Product between descriptors is calculated.
 Inverse cosine of the products gives the Euclidean distance
 Matches with Ratio of vector angles from the nearest to second
nearest neighbor less than distRatio value are selected.
SIFT Algorithm
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
SIFT-Keypoints
Extraction
Introduction
90% of the false matches are
removed.
False matches due to ambiguos
features or features arise from
background clutter.
Reliable object recognition with
few best Matches
Remove outliers
Matched points
SIFT Algorithm
SIFT-Keypoints
Extraction
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Keypoints
Matching
Introduction
RANSAC: Algorithm
RANdom SAmple Consensus
 Estimate parameters of a mathematical model from a set of
observed data which contains outliers.
 A model is fitted using hypothetical inliers.
 If other data fits to the model, added to the inliers.
 Reestimated the model with the new set of inliers.
 We used ransac-fit-homography which Robustly fits a
homography to a set of matched points.
SIFT Algorithm
SIFT-Keypoints
Extraction
Work Flow
Advantages/
Limitations
Demo
Transformation
Examples
Keypoints
Matching
RANSAC
Introduction
Ransac
RANSAC: Result
SIFT Algorithm
SIFT-Keypoints
Extraction
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Keypoints
Matching
Introduction
Make the shortest image the
same height as the other image.
Append Images
Transformation
tform = cp2tform(M1,M2,’affine')
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
Advantages/
Limitations
Demo
Transformation
Examples
RANSAC
Introduction
TStructure
2
3
Rod vs. OpenShrubs
1
Matches: 9
2
Rod: 626 keypoints found
Image: 28958 keypoints found
Matches: 16
…Good Matches
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Examples
Transformation
Introduction
2
Rod Vs Human Occlusion??
1
Rod: 626 keypoints found
Image: 2347 keypoints found
Matches: 155
Rod: 626 keypoints found
Image: 2347 keypoints found
Matches: 144
2
3
…Good Matches
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Introduction
Limitations
1
Rod: 626 keypoints found
Image: 17927 keypoints found
Matches: 16
Matches: 4
2
Rod: 626 keypoints found
Image: 30505 keypoints found
3
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Introduction
Advantages
 Locality: features are local, so robust to occlusion and clutter
(no prior segmentation)
 Distinctiveness: individual features can be matched to a large
database of objects
 Quantity: many features can be generated for even small
objects
 Efficiency: close to real-time performance
 Extensibility: can easily be extended to wide range of differing
feature types, with each adding robustness
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Demo
Transformation
Examples
Introduction
Problems/Enhancement
 Only invariant to affine transformations to a certain degree
 Best performance on highly textured images
 Use Principal components analysis PCA instead of Gaussian
weighting for gradients
Demo
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Transformation
Examples
Introduction
Demo
Demo
SIFT Algorithm
SIFT-Keypoints
Extraction
Keypoints
Matching
Work Flow
RANSAC
Advantages/
Limitations
Transformation
Examples
Introduction
THANK YOU!!

More Related Content

What's hot

Texture in image processing
Texture in image processing Texture in image processing
Texture in image processing
Anna Aquarian
 
Ray tracing
Ray tracingRay tracing
Ray tracing
Farah Shaikh
 
Ray tracing
 Ray tracing Ray tracing
Ray tracing
Linh Nguyen
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and code
Vaddi Manikanta
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
asodariyabhavesh
 
Image Fusion
Image FusionImage Fusion
Image Fusion
Vijaykumar Kulkarni
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
muthu181188
 
Ray tracing
Ray tracingRay tracing
Ray tracing
Muhammad Azam
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
Rishabh shah
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
asodariyabhavesh
 
Anti aliasing Computer Graphics
Anti aliasing Computer GraphicsAnti aliasing Computer Graphics
Anti aliasing Computer Graphics
University of Potsdam
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
Revanth Chimmani
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
Kalyan Acharjya
 
Scale Invariant Feature Transform
Scale Invariant Feature TransformScale Invariant Feature Transform
Scale Invariant Feature Transform
kislayabhi
 
Image segmentation with deep learning
Image segmentation with deep learningImage segmentation with deep learning
Image segmentation with deep learning
Antonio Rueda-Toicen
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matching
Kuppusamy P
 
Computer Vision alignment
Computer Vision alignmentComputer Vision alignment
Computer Vision alignment
Wael Badawy
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
VIKAS SINGH BHADOURIA
 
3-d interpretation from single 2-d image for autonomous driving II
3-d interpretation from single 2-d image for autonomous driving II3-d interpretation from single 2-d image for autonomous driving II
3-d interpretation from single 2-d image for autonomous driving II
Yu Huang
 
Deep learning based object detection basics
Deep learning based object detection basicsDeep learning based object detection basics
Deep learning based object detection basics
Brodmann17
 

What's hot (20)

Texture in image processing
Texture in image processing Texture in image processing
Texture in image processing
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
Ray tracing
 Ray tracing Ray tracing
Ray tracing
 
Edge Detection algorithm and code
Edge Detection algorithm and codeEdge Detection algorithm and code
Edge Detection algorithm and code
 
Chapter10 image segmentation
Chapter10 image segmentationChapter10 image segmentation
Chapter10 image segmentation
 
Image Fusion
Image FusionImage Fusion
Image Fusion
 
SPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSINGSPATIAL FILTERING IN IMAGE PROCESSING
SPATIAL FILTERING IN IMAGE PROCESSING
 
Ray tracing
Ray tracingRay tracing
Ray tracing
 
Image feature extraction
Image feature extractionImage feature extraction
Image feature extraction
 
Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)Chapter 3 image enhancement (spatial domain)
Chapter 3 image enhancement (spatial domain)
 
Anti aliasing Computer Graphics
Anti aliasing Computer GraphicsAnti aliasing Computer Graphics
Anti aliasing Computer Graphics
 
Color image processing Presentation
Color image processing PresentationColor image processing Presentation
Color image processing Presentation
 
Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)Spatial Filters (Digital Image Processing)
Spatial Filters (Digital Image Processing)
 
Scale Invariant Feature Transform
Scale Invariant Feature TransformScale Invariant Feature Transform
Scale Invariant Feature Transform
 
Image segmentation with deep learning
Image segmentation with deep learningImage segmentation with deep learning
Image segmentation with deep learning
 
Feature detection and matching
Feature detection and matchingFeature detection and matching
Feature detection and matching
 
Computer Vision alignment
Computer Vision alignmentComputer Vision alignment
Computer Vision alignment
 
EDGE DETECTION
EDGE DETECTIONEDGE DETECTION
EDGE DETECTION
 
3-d interpretation from single 2-d image for autonomous driving II
3-d interpretation from single 2-d image for autonomous driving II3-d interpretation from single 2-d image for autonomous driving II
3-d interpretation from single 2-d image for autonomous driving II
 
Deep learning based object detection basics
Deep learning based object detection basicsDeep learning based object detection basics
Deep learning based object detection basics
 

Similar to Feature Matching using SIFT algorithm

Video Stitching using Improved RANSAC and SIFT
Video Stitching using Improved RANSAC and SIFTVideo Stitching using Improved RANSAC and SIFT
Video Stitching using Improved RANSAC and SIFT
IRJET Journal
 
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
ijfcstjournal
 
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image DescriptorsPCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
wolf
 
Svd filtered temporal usage clustering
Svd filtered temporal usage clusteringSvd filtered temporal usage clustering
Svd filtered temporal usage clustering
Liang Xie, PhD
 
Realtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN ModelsRealtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN Models
nithinsai2992
 
key.net
key.netkey.net
key.net
Amir Shokri
 
All projects
All projectsAll projects
All projects
Karishma Jain
 
Graphics
GraphicsGraphics
Graphics
Nidhi Baranwal
 
CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018
CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018
CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018
Universitat Politècnica de Catalunya
 
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Venkat Projects
 
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Venkat Projects
 
An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...
Kunal Kishor Nirala
 
Lecture 01 frank dellaert - 3 d reconstruction and mapping: a factor graph ...
Lecture 01   frank dellaert - 3 d reconstruction and mapping: a factor graph ...Lecture 01   frank dellaert - 3 d reconstruction and mapping: a factor graph ...
Lecture 01 frank dellaert - 3 d reconstruction and mapping: a factor graph ...
mustafa sarac
 
casestudy_important.pptx
casestudy_important.pptxcasestudy_important.pptx
casestudy_important.pptx
ssuser31398b
 
Intelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial IntelligenceIntelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial Intelligence
IRJET Journal
 
Using FME for Topographical Data Generalization at Natural Resources Canada
Using FME for Topographical Data Generalization at Natural Resources CanadaUsing FME for Topographical Data Generalization at Natural Resources Canada
Using FME for Topographical Data Generalization at Natural Resources Canada
Safe Software
 
EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13
Paul Brodbeck
 
Panoramic Imaging using SIFT and SURF
Panoramic Imaging using SIFT and SURFPanoramic Imaging using SIFT and SURF
Panoramic Imaging using SIFT and SURF
Eric Jansen
 
Project Based on MATLAB For Final Year Research Guidance
Project Based on MATLAB For Final Year Research GuidanceProject Based on MATLAB For Final Year Research Guidance
Project Based on MATLAB For Final Year Research Guidance
Matlab Simulation
 
Improved Characters Feature Extraction and Matching Algorithm Based on SIFT
Improved Characters Feature Extraction and Matching Algorithm Based on SIFTImproved Characters Feature Extraction and Matching Algorithm Based on SIFT
Improved Characters Feature Extraction and Matching Algorithm Based on SIFT
Nooria Sukmaningtyas
 

Similar to Feature Matching using SIFT algorithm (20)

Video Stitching using Improved RANSAC and SIFT
Video Stitching using Improved RANSAC and SIFTVideo Stitching using Improved RANSAC and SIFT
Video Stitching using Improved RANSAC and SIFT
 
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
 
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image DescriptorsPCA-SIFT: A More Distinctive Representation for Local Image Descriptors
PCA-SIFT: A More Distinctive Representation for Local Image Descriptors
 
Svd filtered temporal usage clustering
Svd filtered temporal usage clusteringSvd filtered temporal usage clustering
Svd filtered temporal usage clustering
 
Realtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN ModelsRealtime pothole detection system using improved CNN Models
Realtime pothole detection system using improved CNN Models
 
key.net
key.netkey.net
key.net
 
All projects
All projectsAll projects
All projects
 
Graphics
GraphicsGraphics
Graphics
 
CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018
CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018
CNN vs SIFT-based Visual Localization - Laura Leal-Taixé - UPC Barcelona 2018
 
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...
 
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...
 
An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...An automatic algorithm for object recognition and detection based on asift ke...
An automatic algorithm for object recognition and detection based on asift ke...
 
Lecture 01 frank dellaert - 3 d reconstruction and mapping: a factor graph ...
Lecture 01   frank dellaert - 3 d reconstruction and mapping: a factor graph ...Lecture 01   frank dellaert - 3 d reconstruction and mapping: a factor graph ...
Lecture 01 frank dellaert - 3 d reconstruction and mapping: a factor graph ...
 
casestudy_important.pptx
casestudy_important.pptxcasestudy_important.pptx
casestudy_important.pptx
 
Intelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial IntelligenceIntelligent Auto Horn System Using Artificial Intelligence
Intelligent Auto Horn System Using Artificial Intelligence
 
Using FME for Topographical Data Generalization at Natural Resources Canada
Using FME for Topographical Data Generalization at Natural Resources CanadaUsing FME for Topographical Data Generalization at Natural Resources Canada
Using FME for Topographical Data Generalization at Natural Resources Canada
 
EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13EGUE Technikrom Final_8_12_13
EGUE Technikrom Final_8_12_13
 
Panoramic Imaging using SIFT and SURF
Panoramic Imaging using SIFT and SURFPanoramic Imaging using SIFT and SURF
Panoramic Imaging using SIFT and SURF
 
Project Based on MATLAB For Final Year Research Guidance
Project Based on MATLAB For Final Year Research GuidanceProject Based on MATLAB For Final Year Research Guidance
Project Based on MATLAB For Final Year Research Guidance
 
Improved Characters Feature Extraction and Matching Algorithm Based on SIFT
Improved Characters Feature Extraction and Matching Algorithm Based on SIFTImproved Characters Feature Extraction and Matching Algorithm Based on SIFT
Improved Characters Feature Extraction and Matching Algorithm Based on SIFT
 

More from Sajid Pareeth

PhD defence presentation, 12 July 2016 @ FU-Berlin
PhD defence presentation, 12 July 2016 @ FU-BerlinPhD defence presentation, 12 July 2016 @ FU-Berlin
PhD defence presentation, 12 July 2016 @ FU-Berlin
Sajid Pareeth
 
Monitoring and retrieving historical daily surface temperature of sub-alpine ...
Monitoring and retrieving historical daily surface temperature of sub-alpine ...Monitoring and retrieving historical daily surface temperature of sub-alpine ...
Monitoring and retrieving historical daily surface temperature of sub-alpine ...
Sajid Pareeth
 
Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...
Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...
Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...
Sajid Pareeth
 
An open source framework for processing daily satellite images (AVHRR) over l...
An open source framework for processing daily satellite images (AVHRR) over l...An open source framework for processing daily satellite images (AVHRR) over l...
An open source framework for processing daily satellite images (AVHRR) over l...
Sajid Pareeth
 
Spatial Data Infrastructure in Europe
Spatial Data Infrastructure in EuropeSpatial Data Infrastructure in Europe
Spatial Data Infrastructure in Europe
Sajid Pareeth
 
Irrigated Area Mapping, South Asia
Irrigated Area Mapping, South AsiaIrrigated Area Mapping, South Asia
Irrigated Area Mapping, South Asia
Sajid Pareeth
 

More from Sajid Pareeth (6)

PhD defence presentation, 12 July 2016 @ FU-Berlin
PhD defence presentation, 12 July 2016 @ FU-BerlinPhD defence presentation, 12 July 2016 @ FU-Berlin
PhD defence presentation, 12 July 2016 @ FU-Berlin
 
Monitoring and retrieving historical daily surface temperature of sub-alpine ...
Monitoring and retrieving historical daily surface temperature of sub-alpine ...Monitoring and retrieving historical daily surface temperature of sub-alpine ...
Monitoring and retrieving historical daily surface temperature of sub-alpine ...
 
Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...
Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...
Inter-sensor comparison of lake surface temperatures derived from MODIS, AVHR...
 
An open source framework for processing daily satellite images (AVHRR) over l...
An open source framework for processing daily satellite images (AVHRR) over l...An open source framework for processing daily satellite images (AVHRR) over l...
An open source framework for processing daily satellite images (AVHRR) over l...
 
Spatial Data Infrastructure in Europe
Spatial Data Infrastructure in EuropeSpatial Data Infrastructure in Europe
Spatial Data Infrastructure in Europe
 
Irrigated Area Mapping, South Asia
Irrigated Area Mapping, South AsiaIrrigated Area Mapping, South Asia
Irrigated Area Mapping, South Asia
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
DianaGray10
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Vladimir Iglovikov, Ph.D.
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
Neo4j
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
SOFTTECHHUB
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
Neo4j
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5UiPath Test Automation using UiPath Test Suite series, part 5
UiPath Test Automation using UiPath Test Suite series, part 5
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AIEnchancing adoption of Open Source Libraries. A case study on Albumentations.AI
Enchancing adoption of Open Source Libraries. A case study on Albumentations.AI
 
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
GraphSummit Singapore | The Future of Agility: Supercharging Digital Transfor...
 
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
Why You Should Replace Windows 11 with Nitrux Linux 3.5.0 for enhanced perfor...
 
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
GraphSummit Singapore | Graphing Success: Revolutionising Organisational Stru...
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 

Feature Matching using SIFT algorithm

  • 1. DETECTING LEVELLING RODS USING SIFT FEATURE MATCHING GROUP 1 MSc Course 2006-08 25TH June 2007 Sajid Pareeth Sonam Tashi Gabriel Vincent Sanya Michael Mutale PHOTOGRAMMETRY STUDIO
  • 2. Objective Introduction SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo  To develop a MATLAB procedure for the detection of levelling rods.  To carry out matching based on Algorithms proposed by David Lowe  Object recognition using invariant features Transformation Examples
  • 3. Summary of Steps Images SIFT Key Feature Extraction Keypoint Matching Removing Outliers - RANSAC Transformation Introduction SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples
  • 4. Background - SIFT  Published by David Lowe et al. 1999-2004  Algorithm to extract features that are invariant to rotation, scaling and  partially invariant to changes in illumination and camera viewpoint  Resulting features are highly distinctive Consists of (Major stages of computation):  Scale-space extrema detection-the Gaussian Widow  Keypoint localization- 4x4 samples per window in 8 directions  Orientation assignment  Keypoint descriptor-feature vector is modified to reduce the effects of illumination change. The vector is normalized to unit length. large gradient magnitudes by thresholding the values in the unit feature vector to each be no larger than 0.2, and then renormalizing to unit length. SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples Introduction
  • 5. A keypoint descriptor is created by first computing the gradient magnitude and orientation at each image sample point in a region around the keypoint location, These are weighted by a Gaussian window, indicated by the overlaid circle. These samples are then accumulated into orientation histograms summarizing the contents over 4x4 subregions, The length of each arrow corresponding to the sum of the gradient magnitudes near that direction within the region.
  • 6. Scale Invariant Detection  Consider regions (e.g. circles) of different sizes around a point  Regions of corresponding sizes will look the same in both images SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT Algorithm Introduction
  • 7.  The problem: how do we choose corresponding circles independently in each image? Scale Invariant Detection SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT Algorithm Introduction
  • 8.  Solution:  Design a function on the region (circle), which is “scale invariant” (the same for corresponding regions, even if they are at different scales) Example: average intensity. For corresponding regions (even of different sizes) it will be the same.  For a point in one image, we can consider it as a function of region size (circle radius) scale = 1/2 f region size Image 1 f region size Image 2 Scale Invariant Detection SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT Algorithm Introduction
  • 9.  Common approach scale = 1/2 f region size Image 1 f region size Image 2 Take a local maximum of this function Observation: region size, for which the maximum is achieved, should be invariant to image scale. s1 s2 Important: this scale invariant region size is found in each image independently! Scale Invariant Detection SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT Algorithm Introduction
  • 10. scale x y ← DoG → ←DoG→ SIFT(Lowe) Maxima and minima of the difference-of-Gaussian images detected by comparing a pixel (marked with X) to its 26 neighbors in 3x3 regions at the current and adjacent scales (marked with circles). SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT Algorithm Introduction
  • 11. Gaussian pyramids Scale First Octave Scale Next Octave Difference of Gaussians Difference of Gaussian(DoG) SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT Algorithm Introduction
  • 12. Keypoint Descriptors Feature Vectors  Thresholded image gradients sampled over:  16x16 array of locations in scale space  Histogram of 4x4 samples per window in 8 directions  Gaussian weighting around center  8 orientations x 4 x 4 histogram array = 128 dimensional feature vector  4x4 Gradient window SIFT Algorithm Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT-Keypoints Extraction Introduction Gaussian Gradient Window
  • 13. Criteria for Selection  Prominent  Distinguishable-from neighborhood  Invariant  Stable to disturbances  Rare (exceptional) - from other selected points  Meaningful - with respect to image interpretation SIFT Algorithm Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT-Keypoints Extraction Introduction
  • 14. SIFT keypoints  Detected Keypoints in reference and candidate image  Keypoints in both images will be matched Candidate image with keypointsReference image with keypoints SIFT Algorithm Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT-Keypoints Extraction Introduction
  • 15. Keypoint Matching  Fundamental aspect in computer vision.  Based on Euclidean distance of the feature vectors.  Nearest neighbor algorithms.  Product between descriptors is calculated.  Inverse cosine of the products gives the Euclidean distance  Matches with Ratio of vector angles from the nearest to second nearest neighbor less than distRatio value are selected. SIFT Algorithm Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples SIFT-Keypoints Extraction Introduction
  • 16. 90% of the false matches are removed. False matches due to ambiguos features or features arise from background clutter. Reliable object recognition with few best Matches Remove outliers Matched points SIFT Algorithm SIFT-Keypoints Extraction Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples Keypoints Matching Introduction
  • 17. RANSAC: Algorithm RANdom SAmple Consensus  Estimate parameters of a mathematical model from a set of observed data which contains outliers.  A model is fitted using hypothetical inliers.  If other data fits to the model, added to the inliers.  Reestimated the model with the new set of inliers.  We used ransac-fit-homography which Robustly fits a homography to a set of matched points. SIFT Algorithm SIFT-Keypoints Extraction Work Flow Advantages/ Limitations Demo Transformation Examples Keypoints Matching RANSAC Introduction
  • 18. Ransac RANSAC: Result SIFT Algorithm SIFT-Keypoints Extraction Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples Keypoints Matching Introduction
  • 19. Make the shortest image the same height as the other image. Append Images Transformation tform = cp2tform(M1,M2,’affine') SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow Advantages/ Limitations Demo Transformation Examples RANSAC Introduction TStructure
  • 20. 2 3 Rod vs. OpenShrubs 1 Matches: 9 2 Rod: 626 keypoints found Image: 28958 keypoints found Matches: 16 …Good Matches SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Examples Transformation Introduction
  • 21. 2 Rod Vs Human Occlusion?? 1 Rod: 626 keypoints found Image: 2347 keypoints found Matches: 155 Rod: 626 keypoints found Image: 2347 keypoints found Matches: 144 2 3 …Good Matches SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples Introduction
  • 22. Limitations 1 Rod: 626 keypoints found Image: 17927 keypoints found Matches: 16 Matches: 4 2 Rod: 626 keypoints found Image: 30505 keypoints found 3 SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples Introduction
  • 23. Advantages  Locality: features are local, so robust to occlusion and clutter (no prior segmentation)  Distinctiveness: individual features can be matched to a large database of objects  Quantity: many features can be generated for even small objects  Efficiency: close to real-time performance  Extensibility: can easily be extended to wide range of differing feature types, with each adding robustness SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Demo Transformation Examples Introduction
  • 24. Problems/Enhancement  Only invariant to affine transformations to a certain degree  Best performance on highly textured images  Use Principal components analysis PCA instead of Gaussian weighting for gradients Demo SIFT Algorithm SIFT-Keypoints Extraction Keypoints Matching Work Flow RANSAC Advantages/ Limitations Transformation Examples Introduction