CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Similar documents
Lecture 10 Detectors and descriptors

Local invariant features

Local features: detection and description. Local invariant features

Building a Panorama. Matching features. Matching with Features. How do we build a panorama? Computational Photography, 6.882

Computer Vision for HCI. Topics of This Lecture

Local Features: Detection, Description & Matching

Local features: detection and description May 12 th, 2015

Local features and image matching. Prof. Xin Yang HUST

Motion Estimation and Optical Flow Tracking

CS 4495 Computer Vision A. Bobick. CS 4495 Computer Vision. Features 2 SIFT descriptor. Aaron Bobick School of Interactive Computing

Prof. Feng Liu. Spring /26/2017

The SIFT (Scale Invariant Feature

Midterm Wed. Local features: detection and description. Today. Last time. Local features: main components. Goal: interest operator repeatability

Lecture 6: Finding Features (part 1/2)

Local Image Features

Wikipedia - Mysid

Features Points. Andrea Torsello DAIS Università Ca Foscari via Torino 155, Mestre (VE)

Lecture: RANSAC and feature detectors

SIFT - scale-invariant feature transform Konrad Schindler

Introduction. Introduction. Related Research. SIFT method. SIFT method. Distinctive Image Features from Scale-Invariant. Scale.

Feature Based Registration - Image Alignment

SCALE INVARIANT FEATURE TRANSFORM (SIFT)

Local Image Features

Scale Invariant Feature Transform

CS 558: Computer Vision 4 th Set of Notes

Scale Invariant Feature Transform

Evaluation and comparison of interest points/regions

Feature descriptors. Alain Pagani Prof. Didier Stricker. Computer Vision: Object and People Tracking

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

SIFT: SCALE INVARIANT FEATURE TRANSFORM SURF: SPEEDED UP ROBUST FEATURES BASHAR ALSADIK EOS DEPT. TOPMAP M13 3D GEOINFORMATION FROM IMAGES 2014

Outline 7/2/201011/6/

Computer Vision. Recap: Smoothing with a Gaussian. Recap: Effect of σ on derivatives. Computer Science Tripos Part II. Dr Christopher Town

A NEW FEATURE BASED IMAGE REGISTRATION ALGORITHM INTRODUCTION

EECS150 - Digital Design Lecture 14 FIFO 2 and SIFT. Recap and Outline

Scale Invariant Feature Transform by David Lowe

Motion illusion, rotating snakes

CAP 5415 Computer Vision Fall 2012

Local Feature Detectors

Multi-modal Registration of Visual Data. Massimiliano Corsini Visual Computing Lab, ISTI - CNR - Italy

School of Computing University of Utah

Augmented Reality VU. Computer Vision 3D Registration (2) Prof. Vincent Lepetit

2D Image Processing Feature Descriptors

Automatic Image Alignment (feature-based)

BSB663 Image Processing Pinar Duygulu. Slides are adapted from Selim Aksoy

Feature descriptors and matching

Corner Detection. GV12/3072 Image Processing.

AK Computer Vision Feature Point Detectors and Descriptors

Feature Detection. Raul Queiroz Feitosa. 3/30/2017 Feature Detection 1

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Image Features: Detection, Description, and Matching and their Applications

Feature Matching and Robust Fitting

Image Matching. AKA: Image registration, the correspondence problem, Tracking,

Object Recognition with Invariant Features

SURF. Lecture6: SURF and HOG. Integral Image. Feature Evaluation with Integral Image

Local Image Features

Automatic Image Alignment

A Comparison of SIFT, PCA-SIFT and SURF

Local Features Tutorial: Nov. 8, 04

Visual Tracking (1) Tracking of Feature Points and Planar Rigid Objects

Implementation and Comparison of Feature Detection Methods in Image Mosaicing

Obtaining Feature Correspondences

CS 556: Computer Vision. Lecture 3

CS5670: Computer Vision

Click to edit title style

Computer Vision I - Filtering and Feature detection

Key properties of local features

CS4670: Computer Vision

Image matching. Announcements. Harder case. Even harder case. Project 1 Out today Help session at the end of class. by Diva Sian.

Coarse-to-fine image registration

Image Features: Local Descriptors. Sanja Fidler CSC420: Intro to Image Understanding 1/ 58

HISTOGRAMS OF ORIENTATIO N GRADIENTS

Ulas Bagci

Problems with template matching

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt.

Automatic Image Alignment

Discovering Visual Hierarchy through Unsupervised Learning Haider Razvi

Feature Detection and Matching

Harder case. Image matching. Even harder case. Harder still? by Diva Sian. by swashford

DETECTORS AND DESCRIPTORS FOR PHOTOGRAMMETRIC APPLICATIONS

Performance Evaluation of Scale-Interpolated Hessian-Laplace and Haar Descriptors for Feature Matching

A Comparison of SIFT and SURF

FESID: Finite Element Scale Invariant Detector

Anno accademico 2006/2007. Davide Migliore

3D from Photographs: Automatic Matching of Images. Dr Francesco Banterle

NOWADAYS, the computer vision is one of the top

CS 556: Computer Vision. Lecture 3

Requirements for region detection

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

Advanced Video Content Analysis and Video Compression (5LSH0), Module 4

Eppur si muove ( And yet it moves )

Using Geometric Blur for Point Correspondence

Large-Scale 3D Point Cloud Processing Tutorial 2013

Stitching and Blending

State-of-the-Art: Transformation Invariant Descriptors. Asha S, Sreeraj M

Comparison of Feature Detection and Matching Approaches: SIFT and SURF

Shape recognition with edge-based features

Implementing the Scale Invariant Feature Transform(SIFT) Method

A Comparison and Matching Point Extraction of SIFT and ISIFT

Bias-Variance Trade-off (cont d) + Image Representations

Transcription:

CEE598 - Visual Sensing for Civil Infrastructure Eng. & Mgmt. Section 10 - Detectors part II Descriptors Mani Golparvar-Fard Department of Civil and Environmental Engineering 3129D, Newmark Civil Engineering Lab e-mail: mgolpar@illinois.edu Department of Civil and Environmental Engineering, University of Illinois at Urbana-Champaign

Outline Detectors part II Descriptors Blob detectors Invariance Descriptors Some slides of this lectures are courtesy of prof S. Savarese, F. Li, prof S. Lazebnik, and various other lecturers 2

Goal: Identify interesting regions from the images (edges, corners, blobs ) Descriptors e.g. SIFT Matching / Indexing / Recognition 3

Characteristics Repeatability The same feature can be found in several images despite geometric and photometric transformations Saliency Each feature is found at an interesting region of the image Locality A feature occupies a relatively small area of the image; 4

Repeatability Illumination invariance Scale invariance Pose invariance Rotation Affine 5

Saliency Locality 6

Harris Detector 7

Invariance Detector Illumination Rotation Scale View point Harris corner partial Yes No No 8

Extract useful building blocks: blobs 9

Edge detection f Edge d dx g Derivative of Gaussian f d dx g Edge = maximum of derivative Source: S. Seitz 10

Edge detection as zero crossing f Edge d dx 2 2 g Second derivative of Gaussian (Laplacian) d dx 2 f 2 g Edge = zero crossing of second derivative Source: S. Seitz 11

Blob detection in 2D Laplacian of Gaussian: Circularly symmetric operator for blob detection in 2D 2 2 2 g g g 2 2 x y 12

Blob detection in 2D Laplacian of Gaussian: Circularly symmetric operator for blob detection in 2D Scale-normalized: g g 2 g 2 norm x 2 y 2 2 2 13

Laplacian response Scale selection The 2D Laplacian is given by ( x 2 y 2 2 2 ) e ( x 2 y 2 )/ 2 2 (up to scale) Therefore, for a binary circle of radius r, the Laplacian achieves a maximum at r image r / 2 scale (σ) 14

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. 15

Scale-space blob detector 1. Convolve image with scale-normalized Laplacian at several scales 2. Find maxima of squared Laplacian response in scale-space 3. This indicate if a blob has been detected 4. And what s its intrinsic scale 16

Scale-space blob detector: Example 17

Scale-space blob detector: Example 18

Scale-space blob detector: Example 19

DOG David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Approximating the Laplacian with a difference of Gaussians: 2 L Gxx x y Gyy x y (,, ) (,, ) (Laplacian) DoG G( x, y, k ) G( x, y, ) (Difference of Gaussians) ***or*** Difference of gaussian blurred images at scales k and L 20

DOG k Output: location, scale, orientation (more later) 21

Example of keypoint detection 22

Invariance Detector Illumination Rotation Scale View point Harris corner Yes Yes No No Lowe 99 (DoG) Yes Yes Yes No 23

Harris-Laplace [Mikolajczyk & Schmid 01] Collect locations (x,y) of detected Harris features for σ = σ 1 σ 2 (the sigma is here comes from g x, g y ) For each detected location (x,y) and for each σ, reject detection if Laplacian(x,y, σ) is not a local maximum Output: location, scale 24

Invariance Detector Illumination Rotation Scale View point Harris corner Yes Yes No No Lowe 99 (DoG) Mikolajczyk & Schmid 01 Yes Yes Yes No Yes Yes Yes No 25

Repeatability Illumination invariance Scale invariance Pose invariance Rotation Affine 26

Affine invariance K. Mikolajczyk and C. Schmid, Scale and Affine invariant interest point detectors, IJCV 60(1):63-86, 2004. Similarly to characteristic scale selection, detect the characteristic shape of the local feature 27

Affine adaptation M x 2 I I I x x y 1 1 w( x, y) R 2 y I xi y I, y 0 0 R 2 We can visualize M as an ellipse with axis lengths determined by the eigenvalues and orientation determined by R Ellipse equation: u [ u v] M v const direction of the fastest change ( max ) -1/2 ( min ) -1/2 direction of the slowest change The second moment ellipse can be viewed as the characteristic shape of a region 28

Affine adaptation 1. Detect initial region with Harris Laplace 2. Estimate affine shape with M 3. Normalize the affine region to a circular one 4. Re-detect the new location and scale in the normalized image 5. Go to step 2 if the eigenvalues of the M for the new point are not equal [detector not yet adapted to the characteristic shape] 29

Affine adaptation Output: location, scale, affine shape, rotation (more later) 30

Affine adaptation example Scale-invariant regions (blobs) 31

Affine adaptation example Affine-adapted blobs 32

Invariance Detector Illumination Rotation Scale View point Harris corner Yes Yes No No Lowe 99 (DoG) Mikolajczyk & Schmid 01 Yes Yes Yes No Yes Yes Yes No Mikolajczyk & Schmid 02 Yes Yes Yes Yes 33

Detector Illumination Rotation Scale View point Harris corner Yes Yes No No Lowe 99 (DoG) Mikolajczyk & Schmid 01, 02 Yes Yes Yes Yes Yes Yes Yes Yes Tuytelaars, 00 Yes Yes No (Yes 04 ) Yes Kadir & Brady, 01 Yes Yes Yes no Matas, 02 Yes Yes Yes no 34

Blob detectors Invariance Descriptors 35

Goal: Identify interesting regions from the images (edges, corners, blobs ) Descriptors e.g. SIFT Matching / Indexing / Recognition 36

Matching Features (stitching images) Detect feature points in both images 37

Matching Features (stitching images) Detect feature points in both images Find corresponding pairs 38

Matching Features (stitching images) Detect feature points in both images Find corresponding pairs Use these pairs to align images 39

Matching Features (estimating F) Detect feature points in both images Find corresponding pairs Use these pairs to estimate F 40

Matching Features (recognizing objects) Detect feature points in both images Find corresponding pairs Use these pairs to match different object instances A 41

Challenges Depending on the application a descriptor must incorporate information that is: Invariant w.r.t: Illumination Pose Scale Intraclass variability A Highly distinctive (allows a single feature to find its correct match with good probability in a large database of features) 42

Illumination normalization Affine intensity change: I I + b a I + b Make each patch zero mean: I Then make unit variance: x (image coordinate) 43

Pose normalization Keypoints are transformed in order to be invariant to translation, rotation, scale, and other geometrical parameters Courtesy of D. Lowe Change of scale, pose, illumination 44

Pose normalization View 1 Scale, rotation & sheer NOTE: location, scale, rotation & affine pose are given by the detector or calculated within the detected regions View 2 45

The simplest descriptor M N 1 x NM vector of pixel intensities w= [ ] w n (w (w w) w) Makes the descriptor invariant with respect to affine transformation of the illumination condition 46

Why can t we just use this? Sensitive to small variation of: location Pose Scale intra-class variability Poorly distinctive 47

Stereo systems Right Norm. corr Normalized Correlation: w n w n (w (w w)(w w)(w w ) w ) 48

Detector Illumination Pose Intra-class variab. PATCH *** * * 49

Bank of filters image filter bank filter responses More robust but still quite sensitive to pose variations descriptor 50

Bank of filters - Steerable filters 51 51

Detector Illumination Pose Intra-class variab. PATCH *** * * FILTERS *** ** ** 52

SIFT descriptor David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Alternative representation for image patches Location and characteristic scale s given by DoG detector s 53

SIFT descriptor David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Alternative representation for image patches Location and characteristic scale s given by DoG detector Compute gradient at each pixel N x N spatial bins Compute an histogram of M orientations for each bean 1 1 M 54

SIFT descriptor David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Alternative representation for image patches Location and characteristic scale s given by DoG detector Compute gradient at each pixel N x N spatial bins Compute an histogram of M orientations for each bean Gaussian center-weighting 1 1 M 55

SIFT descriptor David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 Alternative representation for image patches Location and characteristic scale s given by DoG detector Compute gradient at each pixel N x N spatial bins Compute an histogram of M orientations for each bean Gaussian center-weighting Normalized unit norm Typically M = 8; N= 4, 4x4 1 x 128 descriptor 56

SIFT descriptor Robust w.r.t. small variation in: Illumination (thanks to gradient & normalization) Pose (small affine variation thanks to orientation histogram ) Scale (scale is fixed by DOG) Intra-class variability (small variations thanks to histograms) 57

Rotational invariance Find dominant orientation by building smoothed orientation histogram Rotate all orientations by the dominant orientation 0 2 p This makes the SIFT descriptor rotational invariant 58

Rotational invariance 59

Rotational invariance 60

Matching using SIFT David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 61

Matching using SIFT David G. Lowe. "Distinctive image features from scale-invariant keypoints. IJCV 60 (2), 04 62

Detector Illumination Pose Intra-class variab. PATCH *** * * FILTERS *** ** ** SIFT *** *** *** 63