SlideShare a Scribd company logo
Lecture 5: Feature invariance
CSCI 455: Computer Vision
Reading
• Szeliski: 4.1
Local features: main components
1) Detection: Identify the
interest points
2) Description: Extract vector
feature descriptor surrounding
each interest point.
3) Matching: Determine
correspondence between
descriptors in two views
],,[ )1()1(
11 dxx x
],,[ )2()2(
12 dxx x
Kristen Grauman
Harris features (in red)
Image transformations
• Geometric
– Rotation
– Scale
• Photometric
– Intensity change
Image transformations
• Geometric
Rotation
Scale
• Photometric
Intensity change
Invariance and equivariance
• We want corner locations to be invariant to photometric transformations and
equivariant to geometric transformations
– Invariance: image is transformed and corner locations do not change
– Equivariance: if we have two transformed versions of the same image,
features should be detected in corresponding locations
– (Sometimes “invariant” and “equivariant” are both referred to as “invariant”)
– (Sometimes “equivariant” is called “covariant”)
Harris detector: Invariance properties
-- Image translation
• Derivatives and window function are equivariant
Corner location is equivariant w.r.t. translation
Harris detector: Invariance properties
-- Image rotation
Second moment ellipse rotates but its shape (i.e.
eigenvalues) remains the same
Corner location is equivariant w.r.t. image rotation
Harris detector: Invariance properties –
Affine intensity change
• Only derivatives are used =>
invariance to intensity shift I  I + b
• Intensity scaling: I  a I
R
x (image coordinate)
threshold
R
x (image coordinate)
Partially invariant to affine intensity change
I  a I + b
Harris Detector: Invariance Properties
• Scaling
All points will be
classified as edges
Corner
Neither invariant nor equivariant to scaling
Harris Detector: Invariance Properties
• Rotation
Ellipse rotates but its shape (i.e. eigenvalues)
remains the same
Corner response is invariant to image rotation
Harris Detector: Invariance Properties
• Affine intensity change: I  aI + b
 Only derivatives are used =>
invariance to intensity shift I  I + b
 Intensity scale: I  a I
R
x (image coordinate)
threshold
R
x (image coordinate)
Partially invariant to affine intensity change
Harris Detector: Invariance Properties
• Scaling
All points will be
classified as edges
Corner
Not invariant to scaling
Scale invariant detection
Suppose you’re looking for corners
Key idea: find scale that gives local maximum of f
– in both position and scale
– One definition of f: the Harris operator
Slide from Tinne Tuytelaars
Lindeberg et al, 1996
Slide from Tinne Tuytelaars
Lindeberg et al., 1996
Computer Vision invariance
Computer Vision invariance
Computer Vision invariance
Computer Vision invariance
Computer Vision invariance
Computer Vision invariance
Computer Vision invariance
Implementation
• Instead of computing f for larger and larger
windows, we can implement using a fixed
window size with a Gaussian pyramid
(sometimes need to create in-
between levels, e.g. a ¾-size image)
Feature extraction: Corners and blobs
Another common definition of f
• The Laplacian of Gaussian (LoG)
2
2
2
2
2
y
g
x
g
g






(very similar to a Difference of Gaussians (DoG) –
i.e. a Gaussian minus a slightly smaller Gaussian)
Laplacian of Gaussian
• “Blob” detector
• Find maxima and minima of LoG operator in
space and scale
* =
maximum
minima
Scale selection
• At what scale does the Laplacian achieve a
maximum response for a binary circle of
radius r?
r
image Laplacian
Characteristic scale
• We define the characteristic scale as the scale
that produces peak of Laplacian response
characteristic scale
T. Lindeberg (1998). "Feature detection with automatic scale selection."
International Journal of Computer Vision 30 (2): pp 77--116.
Find local maxima in 3D position-scale space
K. Grauman, B. Leibe
)()(  yyxx LL 

2
3
4
5
 List of
(x, y, s)
Scale-space blob detector: Example
Scale-space blob detector: Example
Scale-space blob detector: Example
covariantNote: The LoG and DoG operators
are both rotation equivariant
Questions?
Feature descriptors
We know how to detect good points
Next question: How to match them?
Answer: Come up with a descriptor for each point,
find similar descriptors between the two images
?

More Related Content

PPTX
GRAPHICS PROCESSING UNIT (GPU)
PPTX
Computer Vision descriptors
PDF
AMD EPYC™ Microprocessor Architecture
 
PPTX
qemu + gdb + sample_code: Run sample code in QEMU OS and observe Linux Kernel...
PPT
Introduction to parallel computing using CUDA
PPTX
TensorRT survey
PDF
NoSQL
PDF
Alloy Analyzer のこと
GRAPHICS PROCESSING UNIT (GPU)
Computer Vision descriptors
AMD EPYC™ Microprocessor Architecture
 
qemu + gdb + sample_code: Run sample code in QEMU OS and observe Linux Kernel...
Introduction to parallel computing using CUDA
TensorRT survey
NoSQL
Alloy Analyzer のこと

What's hot (20)

PDF
Continuous control with deep reinforcement learning (DDPG)
PPTX
Intel Processors
PDF
Kvm performance optimization for ubuntu
PPTX
PDF
Analyze Virtual Machine Overhead Compared to Bare Metal with Tracing
ZIP
NoSQL databases
PDF
Intro to Cassandra
PDF
Overview on Optimization algorithms in Deep Learning
DOCX
Big Data Analytics Lab File
PPTX
Graphics processing unit (GPU)
PDF
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
PPTX
Optimization in Deep Learning
PDF
Ixgbe internals
PPT
Particle Swarm Optimization - PSO
PDF
Integer quantization for deep learning inference: principles and empirical ev...
PPTX
Deep deterministic policy gradient
PPTX
Genetic Algorithm
PPTX
Uncertainty in AI
PPT
Solving travelling salesman problem using firefly algorithm
Continuous control with deep reinforcement learning (DDPG)
Intel Processors
Kvm performance optimization for ubuntu
Analyze Virtual Machine Overhead Compared to Bare Metal with Tracing
NoSQL databases
Intro to Cassandra
Overview on Optimization algorithms in Deep Learning
Big Data Analytics Lab File
Graphics processing unit (GPU)
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
Optimization in Deep Learning
Ixgbe internals
Particle Swarm Optimization - PSO
Integer quantization for deep learning inference: principles and empirical ev...
Deep deterministic policy gradient
Genetic Algorithm
Uncertainty in AI
Solving travelling salesman problem using firefly algorithm
Ad

Similar to Computer Vision invariance (20)

PPTX
Lecture_07_InterestPoints_computer_vision.pptx
PPTX
Features
PDF
Andrew Zisserman Talk - Part 1a
PDF
Feature detection and matching
PPTX
feature matching and model description .pptx
PDF
PPT s11-machine vision-s2
PPTX
Computer Vision harris
PDF
Lec07 corner blob
PDF
Matching with Invariant Features
PPTX
10 cie552 image_featuresii_corner
PPTX
06 image features
PPT
SIFT.ppt
PPT
SIFT.ppt
PPT
EDGEDETECTION algorithm and theory for image processing
PPTX
lec04_harris_for_web computer vision and
PPTX
image segmentation image segmentation.pptx
PPT
Chapter10 image segmentation
PPT
Imageddddddddddddddddddddddddddddddddddd_Filter.ppt
PDF
Corners, Blobs and Descriptors in Computer Vision
PPTX
11 cie552 image_featuresii_sift
Lecture_07_InterestPoints_computer_vision.pptx
Features
Andrew Zisserman Talk - Part 1a
Feature detection and matching
feature matching and model description .pptx
PPT s11-machine vision-s2
Computer Vision harris
Lec07 corner blob
Matching with Invariant Features
10 cie552 image_featuresii_corner
06 image features
SIFT.ppt
SIFT.ppt
EDGEDETECTION algorithm and theory for image processing
lec04_harris_for_web computer vision and
image segmentation image segmentation.pptx
Chapter10 image segmentation
Imageddddddddddddddddddddddddddddddddddd_Filter.ppt
Corners, Blobs and Descriptors in Computer Vision
11 cie552 image_featuresii_sift
Ad

More from Wael Badawy (20)

PDF
HTML introduction
PPTX
Np complete reductions
PPTX
N F A - Non Deterministic Finite Automata
PPTX
Parsers -
PPTX
Computer Vision Cameras
PPTX
Computer Vision Gans
PPTX
Computer Vision image classification
PPTX
Computer Vision Structure from motion
PDF
Universal turing
PDF
Turing Machine
PDF
Turing variations
PDF
Time complexity
PDF
Regular pumping
PDF
Regular pumping examples
PDF
Regular properties
PDF
Regular expressions
PDF
Pushdown Automota
PDF
Pda accept context free
PPTX
Computer Vision sfm
PPTX
Computer vision - photometric
HTML introduction
Np complete reductions
N F A - Non Deterministic Finite Automata
Parsers -
Computer Vision Cameras
Computer Vision Gans
Computer Vision image classification
Computer Vision Structure from motion
Universal turing
Turing Machine
Turing variations
Time complexity
Regular pumping
Regular pumping examples
Regular properties
Regular expressions
Pushdown Automota
Pda accept context free
Computer Vision sfm
Computer vision - photometric

Recently uploaded (20)

PPTX
Digestion and Absorption of Carbohydrates, Proteina and Fats
PDF
1_English_Language_Set_2.pdf probationary
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Computing-Curriculum for Schools in Ghana
PDF
Empowerment Technology for Senior High School Guide
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
A powerpoint presentation on the Revised K-10 Science Shaping Paper
PPTX
Lesson notes of climatology university.
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Hazard Identification & Risk Assessment .pdf
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
IGGE1 Understanding the Self1234567891011
PDF
Supply Chain Operations Speaking Notes -ICLT Program
Digestion and Absorption of Carbohydrates, Proteina and Fats
1_English_Language_Set_2.pdf probationary
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Computing-Curriculum for Schools in Ghana
Empowerment Technology for Senior High School Guide
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
What if we spent less time fighting change, and more time building what’s rig...
Chinmaya Tiranga quiz Grand Finale.pdf
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
A powerpoint presentation on the Revised K-10 Science Shaping Paper
Lesson notes of climatology university.
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
LDMMIA Reiki Yoga Finals Review Spring Summer
Hazard Identification & Risk Assessment .pdf
202450812 BayCHI UCSC-SV 20250812 v17.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
IGGE1 Understanding the Self1234567891011
Supply Chain Operations Speaking Notes -ICLT Program

Computer Vision invariance

  • 1. Lecture 5: Feature invariance CSCI 455: Computer Vision
  • 3. Local features: main components 1) Detection: Identify the interest points 2) Description: Extract vector feature descriptor surrounding each interest point. 3) Matching: Determine correspondence between descriptors in two views ],,[ )1()1( 11 dxx x ],,[ )2()2( 12 dxx x Kristen Grauman
  • 5. Image transformations • Geometric – Rotation – Scale • Photometric – Intensity change
  • 7. Invariance and equivariance • We want corner locations to be invariant to photometric transformations and equivariant to geometric transformations – Invariance: image is transformed and corner locations do not change – Equivariance: if we have two transformed versions of the same image, features should be detected in corresponding locations – (Sometimes “invariant” and “equivariant” are both referred to as “invariant”) – (Sometimes “equivariant” is called “covariant”)
  • 8. Harris detector: Invariance properties -- Image translation • Derivatives and window function are equivariant Corner location is equivariant w.r.t. translation
  • 9. Harris detector: Invariance properties -- Image rotation Second moment ellipse rotates but its shape (i.e. eigenvalues) remains the same Corner location is equivariant w.r.t. image rotation
  • 10. Harris detector: Invariance properties – Affine intensity change • Only derivatives are used => invariance to intensity shift I  I + b • Intensity scaling: I  a I R x (image coordinate) threshold R x (image coordinate) Partially invariant to affine intensity change I  a I + b
  • 11. Harris Detector: Invariance Properties • Scaling All points will be classified as edges Corner Neither invariant nor equivariant to scaling
  • 12. Harris Detector: Invariance Properties • Rotation Ellipse rotates but its shape (i.e. eigenvalues) remains the same Corner response is invariant to image rotation
  • 13. Harris Detector: Invariance Properties • Affine intensity change: I  aI + b  Only derivatives are used => invariance to intensity shift I  I + b  Intensity scale: I  a I R x (image coordinate) threshold R x (image coordinate) Partially invariant to affine intensity change
  • 14. Harris Detector: Invariance Properties • Scaling All points will be classified as edges Corner Not invariant to scaling
  • 15. Scale invariant detection Suppose you’re looking for corners Key idea: find scale that gives local maximum of f – in both position and scale – One definition of f: the Harris operator
  • 16. Slide from Tinne Tuytelaars Lindeberg et al, 1996 Slide from Tinne Tuytelaars Lindeberg et al., 1996
  • 24. Implementation • Instead of computing f for larger and larger windows, we can implement using a fixed window size with a Gaussian pyramid (sometimes need to create in- between levels, e.g. a ¾-size image)
  • 26. Another common definition of f • The Laplacian of Gaussian (LoG) 2 2 2 2 2 y g x g g       (very similar to a Difference of Gaussians (DoG) – i.e. a Gaussian minus a slightly smaller Gaussian)
  • 27. Laplacian of Gaussian • “Blob” detector • Find maxima and minima of LoG operator in space and scale * = maximum minima
  • 28. Scale selection • At what scale does the Laplacian achieve a maximum response for a binary circle of radius r? r image Laplacian
  • 29. Characteristic scale • We define the characteristic scale as the scale that produces peak of Laplacian response characteristic scale T. Lindeberg (1998). "Feature detection with automatic scale selection." International Journal of Computer Vision 30 (2): pp 77--116.
  • 30. Find local maxima in 3D position-scale space K. Grauman, B. Leibe )()(  yyxx LL   2 3 4 5  List of (x, y, s)
  • 34. covariantNote: The LoG and DoG operators are both rotation equivariant
  • 36. Feature descriptors We know how to detect good points Next question: How to match them? Answer: Come up with a descriptor for each point, find similar descriptors between the two images ?