Feature tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on good features.

Slides:



Advertisements
Similar presentations
Feature Detection. Description Localization More Points Robust to occlusion Works with less texture More Repeatable Robust detection Precise localization.
Advertisements

Feature points extraction Many slides are courtesy of Darya Frolova, Denis Simakov A low level building block in many applications: Structure from motion.
Object Recognition from Local Scale-Invariant Features David G. Lowe Presented by Ashley L. Kapron.
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Outline Feature Extraction and Matching (for Larger Motion)
TP14 - Local features: detection and description Computer Vision, FCUP, 2014 Miguel Coimbra Slides by Prof. Kristen Grauman.
Object Recognition using Invariant Local Features Applications l Mobile robots, driver assistance l Cell phone location or object recognition l Panoramas,
Matching with Invariant Features
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Computational Photography
Invariant Features.
Lecture 6: Feature matching CS4670: Computer Vision Noah Snavely.
1 Interest Operators Find “interesting” pieces of the image –e.g. corners, salient regions –Focus attention of algorithms –Speed up computation Many possible.
Object Recognition with Invariant Features n Definition: Identify objects or scenes and determine their pose and model parameters n Applications l Industrial.
Lecture 4: Feature matching
1 Interest Operator Lectures lecture topics –Interest points 1 (Linda) interest points, descriptors, Harris corners, correlation matching –Interest points.
Automatic Panoramic Image Stitching using Local Features Matthew Brown and David Lowe, University of British Columbia.
Feature matching and tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on.
Scale Invariant Feature Transform
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
Two-view geometry Epipolar geometry F-matrix comp. 3D reconstruction Structure comp.
Scale Invariant Feature Transform (SIFT)
Automatic Matching of Multi-View Images
Camera calibration and single view metrology Class 4 Read Zhang’s paper on calibration
Image Features: Descriptors and matching
CS4670: Computer Vision Kavita Bala Lecture 8: Scale invariance.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
KLT tracker & triangulation Class 6 Read Shi and Tomasi’s paper on good features to track
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.
Computer Vision Group Feature Detection Giacomo Boracchi 6/12/2007
1 Interest Operators Find “interesting” pieces of the image Multiple possible uses –image matching stereo pairs tracking in videos creating panoramas –object.
Overview Introduction to local features
1 Interest Operators Harris Corner Detector: the first and most basic interest operator Kadir Entropy Detector and its use in object recognition SIFT interest.
The Brightness Constraint
Overview Harris interest points Comparing interest points (SSD, ZNCC, SIFT) Scale & affine invariant interest points Evaluation and comparison of different.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Reporter: Fei-Fei Chen. Wide-baseline matching Object recognition Texture recognition Scene classification Robot wandering Motion tracking.
CVPR 2003 Tutorial Recognition and Matching Based on Local Invariant Features David Lowe Computer Science Department University of British Columbia.
Computing F. Content Background: Projective geometry (2D, 3D), Parameter estimation, Algorithm evaluation. Single View: Camera model, Calibration, Single.
Lecture 7: Features Part 2 CS4670/5670: Computer Vision Noah Snavely.
Local invariant features Cordelia Schmid INRIA, Grenoble.
Harris Corner Detector & Scale Invariant Feature Transform (SIFT)
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,
Overview Introduction to local features Harris interest points + SSD, ZNCC, SIFT Scale & affine invariant interest point detectors Evaluation and comparison.
Features, Feature descriptors, Matching Jana Kosecka George Mason University.
CSE 185 Introduction to Computer Vision Feature Matching.
A Tutorial on using SIFT Presented by Jimmy Huff (Slightly modified by Josiah Yoder for Winter )
Project 3 questions? Interest Points and Instance Recognition Computer Vision CS 143, Brown James Hays 10/21/11 Many slides from Kristen Grauman and.
Local features: detection and description
Presented by David Lee 3/20/2006
CSE 185 Introduction to Computer Vision Local Invariant Features.
SIFT.
Interest Points EE/CSE 576 Linda Shapiro.
Presented by David Lee 3/20/2006
Distinctive Image Features from Scale-Invariant Keypoints
SIFT paper.
TP12 - Local features: detection and description
Local features: detection and description May 11th, 2017
Feature description and matching
Local Invariant Features
Multiple View Geometry Comp Marc Pollefeys
CSE 455 – Guest Lectures 3 lectures Contact Interest points 1
The SIFT (Scale Invariant Feature Transform) Detector and Descriptor
Interest Points & Descriptors 3 - SIFT
Edge detection f(x,y) viewed as a smooth function
Detection of salient points
Lecture 5: Feature invariance
Lecture 5: Feature invariance
Presentation transcript:

Feature tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on good features to track features-cvpr1994.pdf Read Lowe’s paper on SIFT features

Don’t forget: Assignment 1 (due by next Tuesday before class) Find a camera Calibration approach 1 Build/use calibration grid (2 orthogonal planes) Perform calibration using (a) DLT and (b) complete gold standard algorithm (assume error only in images, model radial distortion, ok to click points by hand) Calibration approach 2 Build/use planar calibration pattern Use Bouguet’s matlab calibration toolbox (≈Zhang’s approach) (or implement it yourself for extra points) Compare results of approach 1(a),1(b) and 2 Make short report of findings and be ready to discuss in class

Single view metrology Allows to relate height of point to height of camera

Single view metrology Allows to transfer point from one plane to another

Feature tracking Class 5 Read Section 4.1 of course notes Read Shi and Tomasi’s paper on good features to track features-cvpr1994.pdf Read Lowe’s paper on SIFT features

Feature matching vs. tracking Extract features independently and then match by comparing descriptors Extract features in first images and then try to find same feature back in next view What is a good feature? Image-to-image correspondences are key to passive triangulation-based 3D reconstruction

Compare intensities pixel-by-pixel Comparing image regions I(x,y) I´(x,y) Sum of Square Differences Dissimilarity measures

Compare intensities pixel-by-pixel Comparing image regions I(x,y) I´(x,y) Zero-mean Normalized Cross Correlation Similarity measures

Feature points Required properties: Well-defined (i.e. neigboring points should all be different) Stable across views (i.e. same 3D point should be extracted as feature for neighboring viewpoints)

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

Feature point extraction Approximate SSD for small displacement Δ Image difference, square difference for pixel SSD for window

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

Harris corner detector Only use local maxima, subpixel accuracy through second order surface fitting Select strongest features over whole image and over each tile (e.g. 1000/image, 2/tile) Use small local window: Maximize „cornerness“:

Simple matching for each corner in image 1 find the corner in image 2 that is most similar (using SSD or NCC) and vice-versa Only compare geometrically compatible points Keep mutual best matches What transformations does this work for?

Feature matching: example What transformations does this work for? What level of transformation do we need?

Wide baseline matching Requirement to cope with larger variations between images Translation, rotation, scaling Foreshortening Non-diffuse reflections Illumination geometric transformations photometric changes

Wide-baseline matching example (Tuytelaars and Van Gool BMVC 2000)

Lowe’s SIFT features Recover features with position, orientation and scale (Lowe, ICCV99)

Position Look for strong responses of DOG filter (Difference-Of-Gaussian) Only consider local maxima

Scale Look for strong responses of DOG filter (Difference-Of-Gaussian) over scale space Only consider local maxima in both position and scale Fit quadratic around maxima for subpixel

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)

Minimum contrast and “cornerness”

SIFT descriptor 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

Matas et al.’s maximally stable regions Look for extremal regions

Mikolaczyk and Schmid LoG Features

Feature tracking Identify features and track them over video Small difference between frames potential large difference overall Standard approach: KLT (Kanade-Lukas-Tomasi)

Good features to track Use same window in feature selection as for tracking itself Compute motion assuming it is small Affine is also possible, but a bit harder (6x6 in stead of 2x2)

Example

Synthetic example

Good features to keep tracking Perform affine alignment between first and last frame Stop tracking features with too large errors

Live demo OpenCV (try it out!) LKdemo

Next class: triangulation and reconstruction C1C1 m1m1 L1L1 m2m2 L2L2 M C2C2 Triangulation - calibration - correspondences