SlideShare a Scribd company logo
11
Most read
14
Most read
15
Most read
OBJECT DETECTION
HOG AND SIFT ALGORITHM
HOG ALGORITHM
 HOG stands for histogram of oriented gradients.
 The hog descriptor focuses on structure or shape of the object.
 It uses magnitude as well as direction of the gradient to compute the features.
 It generates histogram by using magnitude and direction of the gradient.
Hog and sift
 Here we calculating gradient magnitude and direction, to calculate pixels intensity we need
 X direction=|40-70|=30
 Y direction=|20-70|=50
 By these values we are calculating magnitude and direction of the gradient
 By using magnitude and direction we calculate feature vectors
20
40 70
70
Hog and sift
Hog and sift
e
 Before getting the hog feature and after concatenating feature vectors we are supposed to do
normalize.
 Suppose we have taken 150*300 pixels and multiply with 2 to increase the brightness and divided
by 2 to decrease the brightness, then you cant compare two images without normalization bec’z
the pixels intensity will be changed.
 But if you normalize the feature vectors it is easy to compare
Hog and sift
• For hog features giving human template and giving output for convolving with human model
Then it will predict whether it is human or not.
SIFT ALGORITHM
 SIFT stands for scalar invariant feature transform and was first presented in 2004, by D.Lowe,
University of British Columbia.
 It is a way to describe a local area in an image.
 In this whole image is reduced to set of points.
 SIFT is invariance to image scale and rotation.
 This algorithm is patented, so this algorithm is included in the Non-free module in OpenCV.
 Major advantages of SIFT are
 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 a wide range of different feature types, with each adding
robustness.
 The scale space of an image is a function L(x,y,σ) that is produced from the convolution of a Gaussian
kernel(Blurring) at different scales with the input image.
 Within an octave, images are progressively blurred using the Gaussian Blur operator.
 Mathematically, “blurring” is referred to as the convolution of the Gaussian operator
and the image.
 Gaussian blur has a particular expression or “operator” that is applied to each pixel.
What results is the blurred image.
gaussian blur
Gaussian blur operator
 In difference of gaussian kernel(DOG) we use those blurred images to generate another set of
images
 These dog images are used to find interesting points in the image.
 These process is done for all images in the gausian pyramid.
 After that we stack those different images on top of the each other and basically your looking
extreme points.
 In these locally distinct which stand out and those are your key points.
Hog and sift

More Related Content

PPT
Image segmentation
Md Shabir Alam
 
PPTX
5. gray level transformation
MdFazleRabbi18
 
PPTX
Raster animation
abhijit754
 
PPSX
Color Image Processing: Basics
Dr. A. B. Shinde
 
PPTX
Histogram Equalization
Kalyan Acharjya
 
PPTX
Psuedo color
Mariashoukat1206
 
PDF
Image segmentation with deep learning
Antonio Rueda-Toicen
 
Image segmentation
Md Shabir Alam
 
5. gray level transformation
MdFazleRabbi18
 
Raster animation
abhijit754
 
Color Image Processing: Basics
Dr. A. B. Shinde
 
Histogram Equalization
Kalyan Acharjya
 
Psuedo color
Mariashoukat1206
 
Image segmentation with deep learning
Antonio Rueda-Toicen
 

What's hot (20)

PPTX
Intensity Transformation and Spatial filtering
Shajun Nisha
 
PDF
Lecture 4 Relationship between pixels
VARUN KUMAR
 
ODP
Image Processing with OpenCV
debayanin
 
PDF
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
PPTX
Object Detection & Tracking
Akshay Gujarathi
 
PPTX
Image Sensing and Acquisition.pptx
RUBIN (A) JEBIN
 
PDF
Lecture 16 KL Transform in Image Processing
VARUN KUMAR
 
PPTX
Color image processing Presentation
Revanth Chimmani
 
PPTX
A completed modeling of local binary pattern operator
Win Yu
 
PPTX
Image Representation & Descriptors
PundrikPatel
 
PPT
Morphological Image Processing
kumari36
 
PPT
Data Redundacy
Poonam Seth
 
PPTX
Image Enhancement in Spatial Domain
DEEPASHRI HK
 
PPTX
Image Restoration (Order Statistics Filters)
Kalyan Acharjya
 
PPTX
Image filtering in Digital image processing
Abinaya B
 
PPTX
Log Transformation in Image Processing with Example
Mustak Ahmmed
 
PPTX
Hit and-miss transform
Krish Everglades
 
PPTX
Computer Vision Structure from motion
Wael Badawy
 
PPTX
Color fundamentals and color models - Digital Image Processing
Amna
 
Intensity Transformation and Spatial filtering
Shajun Nisha
 
Lecture 4 Relationship between pixels
VARUN KUMAR
 
Image Processing with OpenCV
debayanin
 
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
Object Detection & Tracking
Akshay Gujarathi
 
Image Sensing and Acquisition.pptx
RUBIN (A) JEBIN
 
Lecture 16 KL Transform in Image Processing
VARUN KUMAR
 
Color image processing Presentation
Revanth Chimmani
 
A completed modeling of local binary pattern operator
Win Yu
 
Image Representation & Descriptors
PundrikPatel
 
Morphological Image Processing
kumari36
 
Data Redundacy
Poonam Seth
 
Image Enhancement in Spatial Domain
DEEPASHRI HK
 
Image Restoration (Order Statistics Filters)
Kalyan Acharjya
 
Image filtering in Digital image processing
Abinaya B
 
Log Transformation in Image Processing with Example
Mustak Ahmmed
 
Hit and-miss transform
Krish Everglades
 
Computer Vision Structure from motion
Wael Badawy
 
Color fundamentals and color models - Digital Image Processing
Amna
 

Similar to Hog and sift (20)

PPTX
1.pptx
SOURAVBORMON
 
PPT
SIFT.ppt
ShubhShubh12
 
PPT
SIFT.ppt
MaTruongThanh1
 
DOCX
Scale invariant feature transform
Mohammad Asghar Barech
 
PPTX
11 cie552 image_featuresii_sift
Elsayed Hemayed
 
PPTX
CV PPT.pptx
sheraz7288
 
PDF
Intelligent Auto Horn System Using Artificial Intelligence
IRJET Journal
 
PDF
ArmourRD_ResearchPoster
Cameron Ketchmark
 
DOCX
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Venkat Projects
 
DOCX
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Venkat Projects
 
PPTX
Computer vision series
Perry Lea
 
PDF
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
ijfcstjournal
 
PDF
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
ijfcstjournal
 
PDF
An automatic algorithm for object recognition and detection based on asift ke...
Kunal Kishor Nirala
 
PPTX
Distinctive image features from scale invariant keypoint
Hadi Sinaee
 
PDF
SIFT Based Feature Extraction and Matching for Archaeological Artifacts
BIPUL MOHANTO [LION]
 
PDF
Improved Characters Feature Extraction and Matching Algorithm Based on SIFT
Nooria Sukmaningtyas
 
PDF
C42011318
IJERA Editor
 
PPTX
06 image features
ankit_ppt
 
1.pptx
SOURAVBORMON
 
SIFT.ppt
ShubhShubh12
 
SIFT.ppt
MaTruongThanh1
 
Scale invariant feature transform
Mohammad Asghar Barech
 
11 cie552 image_featuresii_sift
Elsayed Hemayed
 
CV PPT.pptx
sheraz7288
 
Intelligent Auto Horn System Using Artificial Intelligence
IRJET Journal
 
ArmourRD_ResearchPoster
Cameron Ketchmark
 
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Venkat Projects
 
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Venkat Projects
 
Computer vision series
Perry Lea
 
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
ijfcstjournal
 
SHORT LISTING LIKELY IMAGES USING PROPOSED MODIFIED-SIFT TOGETHER WITH CONVEN...
ijfcstjournal
 
An automatic algorithm for object recognition and detection based on asift ke...
Kunal Kishor Nirala
 
Distinctive image features from scale invariant keypoint
Hadi Sinaee
 
SIFT Based Feature Extraction and Matching for Archaeological Artifacts
BIPUL MOHANTO [LION]
 
Improved Characters Feature Extraction and Matching Algorithm Based on SIFT
Nooria Sukmaningtyas
 
C42011318
IJERA Editor
 
06 image features
ankit_ppt
 

Recently uploaded (20)

PDF
WISE main accomplishments for ISQOLS award July 2025.pdf
StatsCommunications
 
PPTX
short term internship project on Data visualization
JMJCollegeComputerde
 
PPTX
M1-T1.pptxM1-T1.pptxM1-T1.pptxM1-T1.pptx
teodoroferiarevanojr
 
PPTX
Probability systematic sampling methods.pptx
PrakashRajput19
 
PPTX
Introduction to computer chapter one 2017.pptx
mensunmarley
 
PPT
Real Life Application of Set theory, Relations and Functions
manavparmar205
 
PDF
Fundamentals and Techniques of Biophysics and Molecular Biology (Pranav Kumar...
RohitKumar868624
 
PPTX
Data-Driven Machine Learning for Rail Infrastructure Health Monitoring
Sione Palu
 
PPTX
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
PDF
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
PPTX
Databricks-DE-Associate Certification Questions-june-2024.pptx
pedelli41
 
PPTX
Introduction to Data Analytics and Data Science
KavithaCIT
 
PDF
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
PDF
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
PPTX
The whitetiger novel review for collegeassignment.pptx
DhruvPatel754154
 
PDF
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
Presentation (1) (1).pptx k8hhfftuiiigff
karthikjagath2005
 
PDF
Blitz Campinas - Dia 24 de maio - Piettro.pdf
fabigreek
 
PPTX
Future_of_AI_Presentation for everyone.pptx
boranamanju07
 
PDF
D9110.pdfdsfvsdfvsdfvsdfvfvfsvfsvffsdfvsdfvsd
minhn6673
 
WISE main accomplishments for ISQOLS award July 2025.pdf
StatsCommunications
 
short term internship project on Data visualization
JMJCollegeComputerde
 
M1-T1.pptxM1-T1.pptxM1-T1.pptxM1-T1.pptx
teodoroferiarevanojr
 
Probability systematic sampling methods.pptx
PrakashRajput19
 
Introduction to computer chapter one 2017.pptx
mensunmarley
 
Real Life Application of Set theory, Relations and Functions
manavparmar205
 
Fundamentals and Techniques of Biophysics and Molecular Biology (Pranav Kumar...
RohitKumar868624
 
Data-Driven Machine Learning for Rail Infrastructure Health Monitoring
Sione Palu
 
Web dev -ppt that helps us understand web technology
shubhragoyal12
 
The_Future_of_Data_Analytics_by_CA_Suvidha_Chaplot_UPDATED.pdf
CA Suvidha Chaplot
 
Databricks-DE-Associate Certification Questions-june-2024.pptx
pedelli41
 
Introduction to Data Analytics and Data Science
KavithaCIT
 
An Uncut Conversation With Grok | PDF Document
Mike Hydes
 
202501214233242351219 QASS Session 2.pdf
lauramejiamillan
 
The whitetiger novel review for collegeassignment.pptx
DhruvPatel754154
 
Key_Statistical_Techniques_in_Analytics_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
Presentation (1) (1).pptx k8hhfftuiiigff
karthikjagath2005
 
Blitz Campinas - Dia 24 de maio - Piettro.pdf
fabigreek
 
Future_of_AI_Presentation for everyone.pptx
boranamanju07
 
D9110.pdfdsfvsdfvsdfvsdfvfvfsvfsvffsdfvsdfvsd
minhn6673
 

Hog and sift

  • 1. OBJECT DETECTION HOG AND SIFT ALGORITHM
  • 2. HOG ALGORITHM  HOG stands for histogram of oriented gradients.  The hog descriptor focuses on structure or shape of the object.  It uses magnitude as well as direction of the gradient to compute the features.  It generates histogram by using magnitude and direction of the gradient.
  • 4.  Here we calculating gradient magnitude and direction, to calculate pixels intensity we need  X direction=|40-70|=30  Y direction=|20-70|=50  By these values we are calculating magnitude and direction of the gradient  By using magnitude and direction we calculate feature vectors 20 40 70 70
  • 7. e
  • 8.  Before getting the hog feature and after concatenating feature vectors we are supposed to do normalize.  Suppose we have taken 150*300 pixels and multiply with 2 to increase the brightness and divided by 2 to decrease the brightness, then you cant compare two images without normalization bec’z the pixels intensity will be changed.  But if you normalize the feature vectors it is easy to compare
  • 10. • For hog features giving human template and giving output for convolving with human model Then it will predict whether it is human or not.
  • 11. SIFT ALGORITHM  SIFT stands for scalar invariant feature transform and was first presented in 2004, by D.Lowe, University of British Columbia.  It is a way to describe a local area in an image.  In this whole image is reduced to set of points.  SIFT is invariance to image scale and rotation.  This algorithm is patented, so this algorithm is included in the Non-free module in OpenCV.
  • 12.  Major advantages of SIFT are  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 a wide range of different feature types, with each adding robustness.
  • 13.  The scale space of an image is a function L(x,y,σ) that is produced from the convolution of a Gaussian kernel(Blurring) at different scales with the input image.  Within an octave, images are progressively blurred using the Gaussian Blur operator.  Mathematically, “blurring” is referred to as the convolution of the Gaussian operator and the image.  Gaussian blur has a particular expression or “operator” that is applied to each pixel. What results is the blurred image. gaussian blur Gaussian blur operator
  • 14.  In difference of gaussian kernel(DOG) we use those blurred images to generate another set of images  These dog images are used to find interesting points in the image.  These process is done for all images in the gausian pyramid.  After that we stack those different images on top of the each other and basically your looking extreme points.  In these locally distinct which stand out and those are your key points.