Sebastian Thrun CS223B Computer Vision, Winter 2005 1 Stanford CS223B Computer Vision, Winter 2005 Lecture 3 Advanced Features Sebastian Thrun, Stanford.

Slides:



Advertisements
Similar presentations
Distinctive Image Features from Scale-Invariant Keypoints
Advertisements

Distinctive Image Features from Scale-Invariant Keypoints David Lowe.
Object Recognition from Local Scale-Invariant Features David G. Lowe Presented by Ashley L. Kapron.
Presented by Xinyu Chang
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Object Recognition using Invariant Local Features Applications l Mobile robots, driver assistance l Cell phone location or object recognition l Panoramas,
Distinctive Image Features from Scale- Invariant Keypoints Mohammad-Amin Ahantab Technische Universität München, Germany.
Image alignment Image from
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
IBBT – Ugent – Telin – IPI Dimitri Van Cauwelaert A study of the 2D - SIFT algorithm Dimitri Van Cauwelaert.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Fast High-Dimensional Feature Matching for Object Recognition David Lowe Computer Science Department University of British Columbia.
Robust and large-scale alignment Image from
A Study of Approaches for Object Recognition
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Recognising Panoramas
SIFT Guest Lecture by Jiwon Kim
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2005 with a lot of slides stolen from Steve Seitz and.
Distinctive Image Feature from Scale-Invariant KeyPoints
Distinctive image features from scale-invariant keypoints. David G. Lowe, Int. Journal of Computer Vision, 60, 2 (2004), pp Presented by: Shalomi.
Object Recognition Using Distinctive Image Feature From Scale-Invariant Key point D. Lowe, IJCV 2004 Presenting – Anat Kaspi.
Fitting a Model to Data Reading: 15.1,
Scale Invariant Feature Transform (SIFT)
SIFT - The Scale Invariant Feature Transform Distinctive image features from scale-invariant keypoints. David G. Lowe, International Journal of Computer.
NIPS 2003 Tutorial Real-time Object Recognition using Invariant Local Image Features David Lowe Computer Science Department University of British Columbia.
Automatic Image Alignment (feature-based) : Computational Photography Alexei Efros, CMU, Fall 2006 with a lot of slides stolen from Steve Seitz and.
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Panorama Stitching and Augmented Reality. Local feature matching with large datasets n Examples: l Identify all panoramas and objects in an image set.
Distinctive Image Features from Scale-Invariant Keypoints David G. Lowe – IJCV 2004 Brien Flewelling CPSC 643 Presentation 1.
Scale-Invariant Feature Transform (SIFT) Jinxiang Chai.
Distinctive Image Features from Scale-Invariant Keypoints By David G. Lowe, University of British Columbia Presented by: Tim Havinga, Joël van Neerbos.
Internet-scale Imagery for Graphics and Vision James Hays cs195g Computational Photography Brown University, Spring 2010.
Feature matching Digital Visual Effects, Spring 2005 Yung-Yu Chuang 2005/3/16 with slides by Trevor Darrell Cordelia Schmid, David Lowe, Darya Frolova,
Object Tracking/Recognition using Invariant Local Features Applications l Mobile robots, driver assistance l Cell phone location or object recognition.
Reporter: Fei-Fei Chen. Wide-baseline matching Object recognition Texture recognition Scene classification Robot wandering Motion tracking.
776 Computer Vision Jan-Michael Frahm Fall SIFT-detector Problem: want to detect features at different scales (sizes) and with different orientations!
CVPR 2003 Tutorial Recognition and Matching Based on Local Invariant Features David Lowe Computer Science Department University of British Columbia.
CSCE 643 Computer Vision: Extractions of Image Features Jinxiang Chai.
Wenqi Zhu 3D Reconstruction From Multiple Views Based on Scale-Invariant Feature Transform.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Distinctive Image Features from Scale-Invariant Keypoints Ronnie Bajwa Sameer Pawar * * Adapted from slides found online by Michael Kowalski, Lehigh University.
Features Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/15 with slides by Trevor Darrell Cordelia Schmid, David Lowe, Darya Frolova, Denis Simakov,
Distinctive Image Features from Scale-Invariant Keypoints David Lowe Presented by Tony X. Han March 11, 2008.
CSE 185 Introduction to Computer Vision Feature Matching.
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
Distinctive Image Features from Scale-Invariant Keypoints
Presented by David Lee 3/20/2006
776 Computer Vision Jan-Michael Frahm Spring 2012.
Recognizing specific objects Matching with SIFT Original suggestion Lowe, 1999,2004.
CSCI 631 – Foundations of Computer Vision March 15, 2016 Ashwini Imran Image Stitching.
Distinctive Image Features from Scale-Invariant Keypoints Presenter :JIA-HONG,DONG Advisor : Yen- Ting, Chen 1 David G. Lowe International Journal of Computer.
Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging.
SIFT.
776 Computer Vision Jan-Michael Frahm Spring 2012.
SIFT Scale-Invariant Feature Transform David Lowe
Presented by David Lee 3/20/2006
Lecture 07 13/12/2011 Shai Avidan הבהרה: החומר המחייב הוא החומר הנלמד בכיתה ולא זה המופיע / לא מופיע במצגת.
Distinctive Image Features from Scale-Invariant Keypoints
Paper – Stephen Se, David Lowe, Jim Little
Scale Invariant Feature Transform (SIFT)
Nearest-neighbor matching to feature database
Features Readings All is Vanity, by C. Allan Gilbert,
Nearest-neighbor matching to feature database
CAP 5415 Computer Vision Fall 2012 Dr. Mubarak Shah Lecture-5
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Interest Points & Descriptors 3 - SIFT
SIFT.
CSE 185 Introduction to Computer Vision
Presented by Xu Miao April 20, 2005
Presentation transcript:

Sebastian Thrun CS223B Computer Vision, Winter Stanford CS223B Computer Vision, Winter 2005 Lecture 3 Advanced Features Sebastian Thrun, Stanford Rick Szeliski, Microsoft Hendrik Dahlkamp, Stanford [with slides by D Lowe]

Sebastian Thrun CS223B Computer Vision, Winter Today’s Goals Features 101 Linear Filters and Edge Detection Canny Edge Detector Harris Corner Detector

Sebastian Thrun CS223B Computer Vision, Winter Invariant Local Features Image content is transformed into local feature coordinates that are invariant to translation, rotation, scale, and other imaging parameters SIFT Features

Advantages of invariant local features 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

Sebastian Thrun CS223B Computer Vision, Winter Build Scale-Space Pyramid All scales must be examined to identify scale-invariant features An efficient function is to compute the Difference of Gaussian (DOG) pyramid (Burt & Adelson, 1983)

Sebastian Thrun CS223B Computer Vision, Winter Scale space processed one octave at a time

Sebastian Thrun CS223B Computer Vision, Winter Key point localization Detect maxima and minima of difference-of-Gaussian in scale space

Sebastian Thrun CS223B Computer Vision, Winter Sampling frequency for scale More points are found as sampling frequency increases, but accuracy of matching decreases after 3 scales/octave

Sebastian Thrun CS223B Computer Vision, Winter Select canonical orientation Create histogram of local gradient directions computed at selected scale Assign canonical orientation at peak of smoothed histogram Each key specifies stable 2D coordinates (x, y, scale, orientation)

Sebastian Thrun CS223B Computer Vision, Winter Example of keypoint detection Threshold on value at DOG peak and on ratio of principle curvatures (Harris approach) (a) 233x189 image (b) 832 DOG extrema (c) 729 left after peak value threshold (d) 536 left after testing ratio of principle curvatures

Sebastian Thrun CS223B Computer Vision, Winter SIFT vector formation Thresholded image gradients are sampled over 16x16 array of locations in scale space Create array of orientation histograms 8 orientations x 4x4 histogram array = 128 dimensions

Sebastian Thrun CS223B Computer Vision, Winter Feature stability to noise Match features after random change in image scale & orientation, with differing levels of image noise Find nearest neighbor in database of 30,000 features

Sebastian Thrun CS223B Computer Vision, Winter Feature stability to affine change Match features after random change in image scale & orientation, with 2% image noise, and affine distortion Find nearest neighbor in database of 30,000 features

Sebastian Thrun CS223B Computer Vision, Winter Distinctiveness of features Vary size of database of features, with 30 degree affine change, 2% image noise Measure % correct for single nearest neighbor match

Sebastian Thrun CS223B Computer Vision, Winter Nearest-neighbor matching to feature database Hypotheses are generated by approximate nearest neighbor matching of each feature to vectors in the database –We use best-bin-first (Beis & Lowe, 97) modification to k-d tree algorithm –Use heap data structure to identify bins in order by their distance from query point Result: Can give speedup by factor of 1000 while finding nearest neighbor (of interest) 95% of the time

Sebastian Thrun CS223B Computer Vision, Winter Detecting 0.1% inliers among 99.9% outliers We need to recognize clusters of just 3 consistent features among 3000 feature match hypotheses LMS or RANSAC would be hopeless! Generalized Hough transform – Vote for each potential match according to model ID and pose –Insert into multiple bins to allow for error in similarity approximation –Check collisions

Sebastian Thrun CS223B Computer Vision, Winter Probability of correct match Compare distance of nearest neighbor to second nearest neighbor (from different object) Threshold of 0.8 provides excellent separation

Sebastian Thrun CS223B Computer Vision, Winter Model verification 1. Examine all clusters with at least 3 features 2. Perform least-squares affine fit to model. 3. Discard outliers and perform top-down check for additional features. 4. Evaluate probability that match is correct  Use Bayesian model, with probability that features would arise by chance if object was not present (Lowe, CVPR 01)

Sebastian Thrun CS223B Computer Vision, Winter Solution for affine parameters Affine transform of [x,y] to [u,v]: Rewrite to solve for transform parameters:

Sebastian Thrun CS223B Computer Vision, Winter D Object Recognition Extract outlines with background subtraction

Sebastian Thrun CS223B Computer Vision, Winter D Object Recognition Only 3 keys are needed for recognition, so extra keys provide robustness Affine model is no longer as accurate

Sebastian Thrun CS223B Computer Vision, Winter Recognition under occlusion

Sebastian Thrun CS223B Computer Vision, Winter Test of illumination invariance Same image under differing illumination 273 keys verified in final match

Sebastian Thrun CS223B Computer Vision, Winter Examples of view interpolation

Sebastian Thrun CS223B Computer Vision, Winter Location recognition

Sebastian Thrun CS223B Computer Vision, Winter Robot localization results Map registration: The robot can process 4 frames/sec and localize itself within 5 cm Global localization: Robot can be turned on and recognize its position anywhere within the map Closing-the-loop: Drift over long map building sequences can be recognized. Adjustment is performed by aligning submaps. Joint work with Stephen Se, Jim Little

Sebastian Thrun CS223B Computer Vision, Winter Robot Localization

Sebastian Thrun CS223B Computer Vision, Winter

Sebastian Thrun CS223B Computer Vision, Winter Map continuously built over time

Sebastian Thrun CS223B Computer Vision, Winter Locations of map features in 3D

Sebastian Thrun CS223B Computer Vision, Winter Augmented Reality (with Iryna Gordon) Solve for 3D structure from multiple images Recognize scenes and insert 3D objects Shows one of 20 images taken with handheld camera

Sebastian Thrun CS223B Computer Vision, Winter D Structure and Virtual Object Placement Solve for cameras and 3D points: –Uses bundle adjustment with Levenberg-Marquardt and robust metric –Initialize all cameras at the same location and points at the same depths –Solve bas-relief ambiguity by trying both options Insert object into scene: Set location in one image, move along epipolar in other, adjust orientation

Sebastian Thrun CS223B Computer Vision, Winter Jitter Reduction Minimize change in camera location, while keeping solution within expected noise range: p – camera pose W – diagonal matrix for relative changes in camera parameters Adjust  to keep residual within noise level of data so that object does not lag large motions

Sebastian Thrun CS223B Computer Vision, Winter Augmentation Examples Example of augmented tracking (executes about 5 frames/sec) Play The virtual object is rendered with OpenGL, using the computed camera parameters.

Sebastian Thrun CS223B Computer Vision, Winter Sony Aibo (Evolution Robotics) SIFT usage: Recognize charging station Communicate with visual cards