Registration D.A. Forsyth, UIUC

Similar documents
Announcements. Recognition (Part 3) Model-Based Vision. A Rough Recognition Spectrum. Pose consistency. Recognition by Hypothesize and Test

Recognition (Part 4) Introduction to Computer Vision CSE 152 Lecture 17

CS 534: Computer Vision 3D Model-based recognition

INFO0948 Fitting and Shape Matching

EE795: Computer Vision and Intelligent Systems

Object and Class Recognition I:

Object Recognition with Invariant Features

Object Recognition 1

Object Recognition 1

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

360 Full View Spherical Mosaic

Using Augmented Measurements to Improve the Convergence of ICP. Jacopo Serafin and Giorgio Grisetti

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

LOCAL-GLOBAL OPTICAL FLOW FOR IMAGE REGISTRATION

Computer Vision 6 Segmentation by Fitting

Camera Registration in a 3D City Model. Min Ding CS294-6 Final Presentation Dec 13, 2006

HISTOGRAMS OF ORIENTATIO N GRADIENTS

Multiview Stereo COSC450. Lecture 8

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

Local Features: Detection, Description & Matching

Step-by-Step Model Buidling

Local Features Tutorial: Nov. 8, 04

Instance-level recognition part 2

CS 231A Computer Vision (Winter 2014) Problem Set 3

Structured Light II. Thanks to Ronen Gvili, Szymon Rusinkiewicz and Maks Ovsjanikov

Instance-level recognition II.

CS201: Computer Vision Introduction to Tracking

An Automated Image-based Method for Multi-Leaf Collimator Positioning Verification in Intensity Modulated Radiation Therapy

Visual Tracking (1) Feature Point Tracking and Block Matching

3D Scanning. Lecture courtesy of Szymon Rusinkiewicz Princeton University

CS231A Section 6: Problem Set 3

Geometric Registration for Deformable Shapes 3.3 Advanced Global Matching

10/03/11. Model Fitting. Computer Vision CS 143, Brown. James Hays. Slides from Silvio Savarese, Svetlana Lazebnik, and Derek Hoiem

Surface Registration. Gianpaolo Palma

Accurate 3D Face and Body Modeling from a Single Fixed Kinect

Miniature faking. In close-up photo, the depth of field is limited.

6.801/866. Segmentation and Line Fitting. T. Darrell

3D Computer Vision. Structured Light II. Prof. Didier Stricker. Kaiserlautern University.

Feature Matching and Robust Fitting

Tracking system. Danica Kragic. Object Recognition & Model Based Tracking

Structured light 3D reconstruction

Robust Methods for Geometric Primitive Recovery and Estimation from Range Images

Correspondence. CS 468 Geometry Processing Algorithms. Maks Ovsjanikov

Fitting D.A. Forsyth, CS 543

human vision: grouping k-means clustering graph-theoretic clustering Hough transform line fitting RANSAC

Fitting: The Hough transform

HOUGH TRANSFORM CS 6350 C V

Local Feature Detectors

Surgery Simulation and Planning

Instance-level recognition

Non-rigid Image Registration

Patch-based Object Recognition. Basic Idea

Instance-level recognition

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

Global Flow Estimation. Lecture 9

Photo by Carl Warner

CS 4495/7495 Computer Vision Frank Dellaert, Fall 07. Dense Stereo Some Slides by Forsyth & Ponce, Jim Rehg, Sing Bing Kang

Identifying Car Model from Photographs

Announcements. Edges. Last Lecture. Gradients: Numerical Derivatives f(x) Edge Detection, Lines. Intro Computer Vision. CSE 152 Lecture 10

Image processing and features

Multiple Model Estimation : The EM Algorithm & Applications

Fitting: The Hough transform

Nonrigid Registration using Free-Form Deformations

Topological Mapping. Discrete Bayes Filter

Reconstruction of complete 3D object model from multi-view range images.

Structure from Motion. Introduction to Computer Vision CSE 152 Lecture 10

Representing Moving Images with Layers. J. Y. Wang and E. H. Adelson MIT Media Lab

Learning-based Neuroimage Registration

Three-Dimensional Sensors Lecture 6: Point-Cloud Registration

CS 664 Structure and Motion. Daniel Huttenlocher

SE 263 R. Venkatesh Babu. Object Tracking. R. Venkatesh Babu

Fitting: The Hough transform

Multiple Model Estimation : The EM Algorithm & Applications

3D Models and Matching

Local quadrics surface approximation for real-time tracking of textureless 3D rigid curved objects

AK Computer Vision Feature Point Detectors and Descriptors

Robot Mapping. SLAM Front-Ends. Cyrill Stachniss. Partial image courtesy: Edwin Olson 1

Structured Light II. Thanks to Ronen Gvili, Szymon Rusinkiewicz and Maks Ovsjanikov

3D Models and Matching

Image Registration I

Automatic Image Alignment (feature-based)

What is Computer Vision? Introduction. We all make mistakes. Why is this hard? What was happening. What do you see? Intro Computer Vision

Edge and corner detection

Nonlinear State Estimation for Robotics and Computer Vision Applications: An Overview

Range Image Registration with Edge Detection in Spherical Coordinates

calibrated coordinates Linear transformation pixel coordinates

Intensity Augmented ICP for Registration of Laser Scanner Point Clouds

Contents I IMAGE FORMATION 1

Model Fitting. Introduction to Computer Vision CSE 152 Lecture 11

Image warping and stitching

Nonrigid Surface Modelling. and Fast Recovery. Department of Computer Science and Engineering. Committee: Prof. Leo J. Jia and Prof. K. H.

Today. Introduction to recognition Alignment based approaches 11/4/2008

Feature Based Registration - Image Alignment

Feature Detectors and Descriptors: Corners, Lines, etc.

Intro to Modeling Modeling in 3D

Detecting Object Instances Without Discriminative Features

Category vs. instance recognition

Image Registration Lecture 4: First Examples

Articulated Pose Estimation with Flexible Mixtures-of-Parts

ECG782: Multidimensional Digital Signal Processing

Transcription:

Registration D.A. Forsyth, UIUC

Registration Place a geometric model in correspondence with an image could be 2D or 3D model up to some transformations possibly up to deformation Applications very important in medical imaging building mosaics representing shapes form of object recognition

Correspondence Registration implies correspondence because once they re in register, correspondence is easy Correspondence yields registrations take correspondences and solve for best registration Interact in a variety of ways in the main algorithms

Medical Application Register scan of patient to actual patient To remove only affected tissue To minimize damage by operation planning To reduce number of operations by planning surgery Register viewing device to actual patient virtual reality displays

Images courtesy of Eric Grimson

Algorithms Hypothesize and test Iterative closest point Coarse-to-fine search

Registration by Hypothesize and Test General idea Hypothesize correspondence Recover pose Render object in camera (widely known as backprojection) Compare to image Issues where do the hypotheses come from? How do we compare to image (verification)? Simplest approach Construct a correspondence for all object features to every correctly sized subset of image points These are the hypotheses Expensive search, which is also redundant.

Correspondences yield transformations 2D models to 2D images Translation one model point-image point correspondence yields the translation Rotation, translation one model point-image point correspondence yields the translation one model direction-image direction correspondence yields the rotation Rotation, translation, scale two model point-image point correspondences

Correspondences yield transformations 3D models to 3D info Translation one model point-image point correspondence yields the translation Rotation, translation points, directions one model point-image point correspondence yields the translation two model direction-image direction correspondences for rotation Rotation, translation, scale points, directions two model point-image point correspondences and one direction lines two disjoint line correspondences yield rotation, translation, scale Many other correspondences work

Correspondences yield transformations 3D models, 2D images, calibrated orthographic camera Translation one model point-image point correspondence yields all that can be known Translation, rotation three model point-image point correspondence yields all that can be known Etc (perspective cameras, and so on)

Pose consistency A small number of correspondences yields a camera Strategy: Generate hypotheses using small numbers of correspondences (e.g. triples of points for a calibrated perspective camera, etc., etc.) Backproject and verify Notice that the main issue here is camera calibration Appropriate groups are frame groups

Figure from Huttenlocher+Ullman 1990

Voting on Pose Each model leads to many correct sets of correspondences, each of which has the same pose Vote on pose, in an accumulator array This is a hough transform, with all it s issues.

Verification Is the object actually there? Edge based project object model to image, score whether image edges lie close to object edges Orientation based project object model to image, score whether image edges lie close to object edges at the right orientation More sophisticated Opportunity!

Figure from Rothwell et al, 1992

Iterative closest point For registering 2D-2D or 3D-3D point sets typically under translation, rotation and scale Iterate Find closest point on measurement to each point on model using current pose Minimize sum of distances to closest points as a function of pose Variants model consists of lines, surface patches, etc.

Model: triangle set of 8442 triangles Point set Figure from Besl+McKay, 1992

Figure from Besl+McKay, 1992 Points registered to triangles

Model: Bezier patches Registered to point set Figure from Besl+McKay, 1992

Variants Use Levenberg-Marquardt on robust error measure ignore failures of differentiability caused by correspondence Fitzgibbon 2003

Initial alignment (Fitzgibbon, 2003, red rabbit to blue rabbit)

Solution (Fitzgibbon, 2003, red rabbit to blue rabbit)

Coarse to fine search General idea: Advantage many minima may be available for registration problems eg ICP for 2D object to points on image edges search a coarse representation at multiple points take each local minimum, search a refined representation possibly repeat multiple times coarse representation is fast to search so you can look at many poses fine representation gives accurate estimates Figure from Fitzgibbon, 2003

Registration and deformation Medical applications often deal with deformable objects Real objects often deform, too equivalently, deformation is an important part of matching e.g. matching one car to another matching one flower to another, etc. Idea: build parametric deformation model into registration process

MRI CTI NMI USI

Parametric deformation models Assume we have a set of points (x, y) which should deform to (u, v) Good models u = f 1 (x, y, θ),v = f 2 (x, y, θ) Affine u = a 00 x + a 01 y + a 2,v = a 10 x + a 11 y + a 3 More deformation (here the f s are small ) u = f 1 (x, y, θ)+a 00 x + a 01 y + a 2,v = f 2 (x, y, θ)+a 10 x + a 11 y

Radial basis function deformations Choose some special points in x, y space deformation functions become: f l (x, y, θ) = i (x i,y i ) θ i φ(x, y; x i,y i ) where phi depends only on distance: eg φ(x, y; x i,y i )= 1 (x x i )2 +(y y i )2 + ɛ 2

Radial basis function deformation j points We must choose theta, a s least squares [ (uj {[ i θ i,1φ(x j,y j ; x i,y i )] + a 00x + a 01 y + a 2 }) 2 + (v j {[ i θ i,2φ(x j,y j ; x i,y i )] + a 00x + a 01 y + a 2 }) 2 ] Solving this gives a linear system! but we might get f s that are too big

Radial basis function deformation j points Penalize the least squares [ (uj {[ i θ i,1φ(x j,y j ; x i,y i )] + a ] 00x + a 01 y + a 2 }) 2 + (v j {[ i θ i,2φ(x j,y j ; x i,y i )] + a 00x + a 01 y + a 2 }) 2 + λ(θi,1 2 + θi,2) 2 And we still have a linear system! ICP matching: Iterate Solve for a s, thetas Fix a s, thetas, choose correspondences

Deformation is like flow Notice the similarity between estimating deformation estimating flow field Recall I_1(x, y) -> I_2(u(x, y), v(x, y)) I(x, y, t) -> I(x+a(x, y), y+b(x,y), t+1) accurate local estimates of flow are hard (no good local description) options parametric flow model smooth

Deformation is like flow Plausible flow model Not much help if the m s are fixed Idea: let the m s vary with space, and penalize derivatives Cost function: I(x, y) I(x + m 1 x + m 2 y + m 3,y+ m 4 x + m 5 y + m 6 ) (I(x, y) I(x + m 1 x + m 2 y + m 3,y+ m 4 x + m 5 y + m 6 )) 2 x,y simplify to first order term in Taylor series x,y ((m 1 x + m 2 y + m 3 ) I x +(m 4x + m 5 y + m 6 ) I y )2

Deformation is like flow Overall cost function [ ((m1 x + m 2 y + m 3 ) I x +(m ] 4x + m 5 y + m 6 ) I y )2 + l ( m 2 l x + m l 2 y ) x,y

Periaswamy Farid 03

What about multiple modes? We could model the change in intensity eg I_1 -> a I_1 + b then bung it in minimizer Use mutual information P(s_1=a, s_2=b) (loosely) geometric registration between images gives a model of sensors maximize the mutual information in this model

Periaswamy Farid 03

Periaswamy Farid 06