Computer Vision Group Feature Detection Giacomo Boracchi 6/12/2007

Slides:



Advertisements
Similar presentations
Feature extraction: Corners
Advertisements

Summary of Friday A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging planes or.
CSE 473/573 Computer Vision and Image Processing (CVIP)
Interest points CSE P 576 Ali Farhadi Many slides from Steve Seitz, Larry Zitnick.
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Matching with Invariant Features
Computer Vision Optical Flow
Computational Photography
Computer Vision Group Edge Detection Giacomo Boracchi 5/12/2007
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Midterm Review CS485/685 Computer Vision Prof. Bebis.
(1) Feature-point matching by D.J.Duff for CompVis Online: Feature Point Matching Detection,
Feature matching and tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Feature extraction: Corners and blobs
Feature tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on good features.
Lecture 3a: Feature detection and matching CS6670: Computer Vision Noah Snavely.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
1 Image Features Hao Jiang Sept Image Matching 2.
KLT tracker & triangulation Class 6 Read Shi and Tomasi’s paper on good features to track
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
Summary of Previous Lecture A homography transforms one 3d plane to another 3d plane, under perspective projections. Those planes can be camera imaging.
Overview Introduction to local features
Computer Vision Group Computer Vision Projects (:,5) Vincenzo Caglioti Giacomo Boracchi, Simone Gasparini, Alessandro Giusti, Pierluigi Taddei.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Feature and object tracking algorithms for video tracking Student: Oren Shevach Instructor: Arie nakhmani.
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
Overview Harris interest points Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points Evaluation and comparison of different.
Lecture 06 06/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
From Pixels to Features: Review of Part 1 COMP 4900C Winter 2008.
CSE 185 Introduction to Computer Vision Local Invariant Features.
CSCE 643 Computer Vision: Extractions of Image Features Jinxiang Chai.
Feature extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Local invariant features 1 Thursday October 3 rd 2013 Neelima Chavali Virginia Tech.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Harris Corner Detector & Scale Invariant Feature Transform (SIFT)
Overview Introduction to local features Harris interest points + SSD, ZNCC, SIFT Scale & affine invariant interest point detectors Evaluation and comparison.
Feature extraction: Corners and blobs. Why extract features? Motivation: panorama stitching We have two images – how do we combine them?
Features, Feature descriptors, Matching Jana Kosecka George Mason University.
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
Local features and image matching October 1 st 2015 Devi Parikh Virginia Tech Disclaimer: Many slides have been borrowed from Kristen Grauman, who may.
Features Jan-Michael Frahm.
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
CS654: Digital Image Analysis
776 Computer Vision Jan-Michael Frahm Spring 2012.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Optical flow and keypoint tracking Many slides adapted from S. Seitz, R. Szeliski, M. Pollefeys.
Instructor: Mircea Nicolescu Lecture 10 CS 485 / 685 Computer Vision.
CSE 185 Introduction to Computer Vision Local Invariant Features.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
Lecture 10: Harris Corner Detector CS4670/5670: Computer Vision Kavita Bala.
Keypoint extraction: Corners 9300 Harris Corners Pkwy, Charlotte, NC.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
776 Computer Vision Jan-Michael Frahm Spring 2012.
SIFT Scale-Invariant Feature Transform David Lowe
Interest Points EE/CSE 576 Linda Shapiro.
Distinctive Image Features from Scale-Invariant Keypoints
3D Vision Interest Points.
TP12 - Local features: detection and description
Motion and Optical Flow
Local features: detection and description May 11th, 2017
CSE 455 – Guest Lectures 3 lectures Contact Interest points 1
Local features and image matching
Edge detection f(x,y) viewed as a smooth function
Detection of salient points
Image Stitching Linda Shapiro ECE/CSE 576.
Presentation transcript:

Computer Vision Group Feature Detection Giacomo Boracchi 6/12/2007

Computer Vision Group Feature matching vs. tracking What is a good feature?  Image-to-image correspondences are determined by some salient point.  These are also the basis of passive triangulation-based 3D reconstruction  Feature Matching: Extract features independently and then match by comparing descriptors  Feature Tracking: Extract features in first images and then try to find same feature back in next view

Computer Vision Group Feature Properties  Well-defined: i.e. neighboring points should all be different  Stable across views: same scene point should be extracted as feature for neighboring viewpoints

Computer Vision Group Interest Point Detection Low Level Inspired  Gradient Based (ex Harris, Hessian)  Phase Based (Kovesi)  Entropy Based (Zisserman)

Computer Vision Group Comparing image regions: Pixel by Pixel I(x,y) I´(x,y)  Dissimilarity Measure SSD the Sum of Squared Distances

Computer Vision Group Harris – Moravec  Compute the Sum of Square Distances between the image values on the green square at different position “flat” region: no change in all directions “edge”: no change along the edge direction “corner”: significant change in all directions

Computer Vision Group  Response on sliding windows – Moravec (81)  w represent the window (green in the previous slides)  Corner, even small changes are “big” where is a threshold  Look for local maxima in min{E} above some threshold Moreavec (80) E ( x ; y ) = P u v w ( u ; v )( I ( u ; v ) ¡ I ( u ¡ x ; v ¡ y )) 2

Computer Vision Group Moravec Drawbacks – Solutions  The response is isotropic as only a finite set of displacements (x,y) is considerer therefore, the same corner rotated may yield different responses.  Solution: Analytical Formulation of E(x,y), expand it in Taylor series  Now E(0,0) = 0 and one can prove that also the term vanishes  H denotes the Hessian Matrix but when it is expressed as a function of I we call it M E ( x ; y ) = P u v w ( u ; v )( I ( u ; v ) ¡ I ( u ¡ x ; v ¡ y )) 2 rE ( 0 ; 0 ) = 0 E ( x ; y ) ¼ E ( 0 ; 0 ) + ¡ xy ¢ rE ¡ xy ¢ H µ x y ¶

Computer Vision Group Moravec Drawbacks – Solutions  Now we can approximate being the derivative computed with Sobel or Previtt filters E ( x ; y ) ¼ ¡ xy ¢ M µ x y ¶

Computer Vision Group Moravec Drawbacks – Solutions  Considering only the minimum of E is not a great deal, may give too ready responses  Solution consider the SVD of M and pretend that the minimum of the eigenvalues of M is big 2 “Corner” 1 and 2 are large, 1 ~ 2 ; E increases in all directions “Edge” 1 >> 2 “Edge” 2 >> 1 “Flat” region 1

Computer Vision Group Moravec Drawbacks – Solutions  The response may be noisy  Solution: take w as Gaussian distributed Weights

Computer Vision Group Harris – Stevens (88) 2 “Corner” 1 and 2 are large, 1 ~ 2 ; E increases in all directions “Edge” 1 >> 2 “Edge” 2 >> 1 “Flat” region 1 ∙To avoid eigenvalue decomposition Alternatively

Computer Vision Group Feature point extraction homogeneous edge corner Find points that differ as much as possible from all neighboring points

Computer Vision Group homogeneous edge corner Find points for which the following is maximum i.e. maximize smallest eigenvalue of M Feature point extraction

Computer Vision Group Harris corner detector as Feature Selector  Only use local maxima, subpixel accuracy through second order surface fitting  Select the local maxima of Harris Measure as Features to perform Matching

Computer Vision Group Harris – Stevens (88) : Feature extraction  Pro Fast Rotation invariant  Shortcomings No scale invariant No affine transform invariant

Computer Vision Group FeatureTracking Giacomo Boracchi 6/12/ 2007

Computer Vision Group Comparing image regions: Pixel by Pixel I(x,y) I´(x,y)  Dissimilarity Measure SSD the Sum of Squared Distances

Computer Vision Group Comparing image regions: Pixel by Pixel I(x,y) I´(x,y)  Similarity measures

Computer Vision Group Normalized Cross Correlation  Gives a measure between [-1,1] While the SSD is only positive and not normalized  Independent on Image Intensity  Allows fast implementation using running sum to compute local averages

Computer Vision Group Tracking Problems  Occlusions  Feature Deformations due to motions Affine Perspective  Light Changes (not for NCC based measures)  Noise  Blur  Other Artifacts (e.g. Jpeg compression)

Computer Vision Group KLT – Shi and Tomasi 94  Take into account also for affine changes in the image  Consider a Video I(x,y,t) it’s the value of the pixel x,y in the image at time t  Then how to relate the same intensity in two different images  And extending such requirement to a neighbor we get feature matching  And, of course I ( x ; y ; t ) = I ( x + » ; y + ´ ; t + ¿ ) » = » ( x ; y ; ¿ ) an d ´ = ´ ( x ; y ; ¿ ) l e t ± = ( » ; ´ )

Computer Vision Group KLT – Shi and Tomasi 94: Feature Tracking  Being the displacement represented by an affine motion field  Consider then only two frames I,J  Affine motion model  Translation only d = [ d x ; d y ]

Computer Vision Group KLT – Shi and Tomasi 94: Then what Tracking actually is  Given two images I and J we are interested in determining the six parameters (4 affine + 2 translational motion)  Then for consequent frame a pure translation model is commonly assumed (i.e. D= Identity)

Computer Vision Group KLT – Shi and Tomasi 94 : Dissimilarity measure  Goal : minimize dissimilarity (SSD based tracking)  A and d can be determined in a closed form (approximate solutions)  An exact solution can be obtained by iterative procedure  And also for the translation only case T z = azvec t oro f 6 un k nowns, T, acan b ecompu t e d Z d = e d vec t oro f 2 un k nowns, Z, ecan b ecompu t e d

Computer Vision Group KLT – Shi and Tomasi 94: Which are Good features?  ”The right features are exactly those that make the tracker work best”  How the tracker work?  Inverting 2 matrices Z and T  Then Good features are those having the matrices Z and T well conditioned (then again eigenvalues analysis)  Thus, no a priori assumption about feature goodness  Affine model also considered

Computer Vision Group KLT – Shi and Tomasi 94 : Performances  Adjacent frames – pure displacement Z matrix  Cumulative changes – Affine Transform T matrix

Computer Vision Group KLT – Shi and Tomasi 94 : Performances  Camera moving forward 2mm per frame  Affine alignment between first and last frame  Stop tracking features with too large errors

Computer Vision Group KLT – Shi and Tomasi 94 : Performances  Dissimilarity computed using pure displacement.  Dissimilarity computed using affine transforms

Computer Vision Group A Project: Rotational Blur Removal Giacomo Boracchi

Computer Vision Group  In each pixel the blur smears are varying  Only in trivial case of rotation axis orthogonal to image plane this can be considered circumferences Rotational Blur

Computer Vision Group Rotation Axis Estimation: the local blur analysis

Computer Vision Group Rotation Axis Estimation: the voting procedure

Computer Vision Group  blurring path the set of pixels which are intersected by a viewing ray after a rotation of around the axis a ¼ ¼ P C PC ´ VV a a circumferencesConic sections Blurring paths 2 ¼

Computer Vision Group Blur Removal: Scheme and Issues  Projection of the image on the plane orthogonal to rotation axis In such a way the blurring paths become circumferences The mapping (an homography) should be extremely accurate  Cartesian to Polar coordinate transform so that the blur becomes shift invariant, i.e. uniform, all the pixels blurred at the same way  Blur Inversion via Regularized Wiener Filtering (Classical Procedure)  Polar to Cartesian coordinate transform  Denoising in Cartesian domain in order to exploit image structures Using LASIP adaptive filtering algorithms (codes) Noise Modeling via Monte Carlo approach

Computer Vision Group License Plate Recognition  Objective: automatically detect and recognize license plate from video sequences on a dsp-equipped camera. YZH 4025

Computer Vision Group License Plate Recognition – Available Projects  New Starting Project  Probably Strict Deadlines  ONLY THE BRAVES!  License Plate Detection Module Develop a module that detect the license plate in image according to color and shape  License Plate Recognition Module Given the license plate image, develop a module that recognize characters (e.g. using a neural network) and provide the license number  Both projects require good C-programming skills  Coordinators: Caglioti, Gasparini, Taddei

Computer Vision Group Computer Vision Group Team  Vincenzo Caglioti  Giacomo Boracchi, Simone Gasparini, Alessandro Giusti, Pierluigi Taddei