2
Most read
11
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

PPTX
Psuedo color
PPTX
Chapter 9 morphological image processing
PPTX
Image processing second unit Notes
PDF
Image processing, Noise, Noise Removal filters
PPTX
Image feature extraction
PPT
Image Restoration
PPTX
Machine Learning using Support Vector Machine
Psuedo color
Chapter 9 morphological image processing
Image processing second unit Notes
Image processing, Noise, Noise Removal filters
Image feature extraction
Image Restoration
Machine Learning using Support Vector Machine

What's hot (20)

PPTX
Chapter 8 image compression
PPTX
Features image processing and Extaction
PPT
Image segmentation
PPT
morphological image processing
PPSX
Image Processing: Spatial filters
PDF
Digital Image Processing: Image Segmentation
PPTX
Log Transformation in Image Processing with Example
PPTX
Morphological image processing
PPTX
Support vector machine
PPTX
Edge detection
PPTX
You only look once (YOLO) : unified real time object detection
PDF
Image Restoration (Digital Image Processing)
PDF
Digital Image Processing: Image Restoration
PPTX
Histogram Equalization
PPTX
Image Representation & Descriptors
PPTX
Digital Image Processing
PPT
Spatial domain and filtering
PDF
Edge linking in image processing
Chapter 8 image compression
Features image processing and Extaction
Image segmentation
morphological image processing
Image Processing: Spatial filters
Digital Image Processing: Image Segmentation
Log Transformation in Image Processing with Example
Morphological image processing
Support vector machine
Edge detection
You only look once (YOLO) : unified real time object detection
Image Restoration (Digital Image Processing)
Digital Image Processing: Image Restoration
Histogram Equalization
Image Representation & Descriptors
Digital Image Processing
Spatial domain and filtering
Edge linking in image processing

Similar to Hog and sift (20)

PPTX
CV PPT.pptx
DOCX
Sift detector boosted by adaptive contrast threshold to improve matching robu...
DOCX
Sift detector boosted by adaptive contrast threshold to improve matching robu...
DOCX
Scale invariant feature transform
PDF
An automatic algorithm for object recognition and detection based on asift ke...
PDF
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
PPTX
06 image features
PPTX
Real Time Stitching Of IR Images using ml.pptx
PPTX
SIFT vs other Feature Descriptor
PDF
Intelligent Auto Horn System Using Artificial Intelligence
PPTX
Image Stitching for Panorama View
PPTX
Image processing using labview
PDF
Automatic Image Registration Using 2D-DWT
PDF
Ijcatr04041016
PDF
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
 
PDF
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
PDF
Multiple region of interest tracking of non rigid objects using demon's algor...
PDF
MULTIPLE REGION OF INTEREST TRACKING OF NON-RIGID OBJECTS USING DEMON'S ALGOR...
PDF
Oc2423022305
PDF
Edge detection.pdf
CV PPT.pptx
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Sift detector boosted by adaptive contrast threshold to improve matching robu...
Scale invariant feature transform
An automatic algorithm for object recognition and detection based on asift ke...
ANALYSIS OF IMAGE ENHANCEMENT TECHNIQUES USING MATLAB
06 image features
Real Time Stitching Of IR Images using ml.pptx
SIFT vs other Feature Descriptor
Intelligent Auto Horn System Using Artificial Intelligence
Image Stitching for Panorama View
Image processing using labview
Automatic Image Registration Using 2D-DWT
Ijcatr04041016
Visual Quality for both Images and Display of Systems by Visual Enhancement u...
 
FORGERY (COPY-MOVE) DETECTION IN DIGITAL IMAGES USING BLOCK METHOD
Multiple region of interest tracking of non rigid objects using demon's algor...
MULTIPLE REGION OF INTEREST TRACKING OF NON-RIGID OBJECTS USING DEMON'S ALGOR...
Oc2423022305
Edge detection.pdf

Recently uploaded (20)

DOCX
Factor Analysis Word Document Presentation
PPTX
A Complete Guide to Streamlining Business Processes
PPT
Predictive modeling basics in data cleaning process
PPTX
IMPACT OF LANDSLIDE.....................
PDF
Navigating the Thai Supplements Landscape.pdf
PPTX
Leprosy and NLEP programme community medicine
PPTX
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
PPT
DU, AIS, Big Data and Data Analytics.ppt
PPTX
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
PDF
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
 
PPTX
retention in jsjsksksksnbsndjddjdnFPD.pptx
PDF
Microsoft 365 products and services descrption
PDF
Data Engineering Interview Questions & Answers Data Modeling (3NF, Star, Vaul...
PDF
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
PDF
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
PPTX
Pilar Kemerdekaan dan Identi Bangsa.pptx
PPTX
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
PPTX
Steganography Project Steganography Project .pptx
 
PDF
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
PPTX
Business_Capability_Map_Collection__pptx
Factor Analysis Word Document Presentation
A Complete Guide to Streamlining Business Processes
Predictive modeling basics in data cleaning process
IMPACT OF LANDSLIDE.....................
Navigating the Thai Supplements Landscape.pdf
Leprosy and NLEP programme community medicine
Lesson-01intheselfoflifeofthekennyrogersoftheunderstandoftheunderstanded
DU, AIS, Big Data and Data Analytics.ppt
sac 451hinhgsgshssjsjsjheegdggeegegdggddgeg.pptx
Tetra Pak Index 2023 - The future of health and nutrition - Full report.pdf
 
retention in jsjsksksksnbsndjddjdnFPD.pptx
Microsoft 365 products and services descrption
Data Engineering Interview Questions & Answers Data Modeling (3NF, Star, Vaul...
Data Engineering Interview Questions & Answers Batch Processing (Spark, Hadoo...
Jean-Georges Perrin - Spark in Action, Second Edition (2020, Manning Publicat...
Pilar Kemerdekaan dan Identi Bangsa.pptx
Copy of 16 Timeline & Flowchart Templates – HubSpot.pptx
Steganography Project Steganography Project .pptx
 
Data Engineering Interview Questions & Answers Cloud Data Stacks (AWS, Azure,...
Business_Capability_Map_Collection__pptx

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.