CSci 6971: Image Registration Lecture 5: Feature-Base Regisration January 27, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,

Slides:



Advertisements
Similar presentations
Bayesian Belief Propagation
Advertisements

QR Code Recognition Based On Image Processing
Component Analysis (Review)
Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
CSci 6971: Image Registration Lecture 14 Distances and Least Squares March 2, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
3D Shape Histograms for Similarity Search and Classification in Spatial Databases. Mihael Ankerst,Gabi Kastenmuller, Hans-Peter-Kriegel,Thomas Seidl Univ.
Computer vision: models, learning and inference
ECE 8443 – Pattern Recognition ECE 8423 – Adaptive Signal Processing Objectives: Newton’s Method Application to LMS Recursive Least Squares Exponentially-Weighted.
Image alignment Image from
Instructor: Mircea Nicolescu Lecture 13 CS 485 / 685 Computer Vision.
Classification and Prediction: Regression Via Gradient Descent Optimization Bamshad Mobasher DePaul University.
Structure from motion.
CSci 6971: Image Registration Lecture 3: Images and Transformations January 20, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
CENG 789 – Digital Geometry Processing 06- Rigid-Body Alignment Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
Maximum likelihood (ML) and likelihood ratio (LR) test
Motion Analysis Slides are from RPI Registration Class.
Iterative closest point algorithms
Motion Analysis (contd.) Slides are from RPI Registration Class.
CSci 6971: Image Registration Lecture 4: First Examples January 23, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI Dr.
Motion Analysis (contd.) Slides are from RPI Registration Class.
Structure from motion. Multiple-view geometry questions Scene geometry (structure): Given 2D point matches in two or more images, where are the corresponding.
Uncalibrated Geometry & Stratification Sastry and Yang
Prénom Nom Document Analysis: Data Analysis and Clustering Prof. Rolf Ingold, University of Fribourg Master course, spring semester 2008.
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
CSci 6971: Image Registration Lecture 2: Vectors and Matrices January 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI.
Elastic Registration in the Presence of Intensity Variations Source: IEEE Transactions on Medical Imaging, Vol. 22, No. 7, July 2003 Authors: Senthil Periaswamy,
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Statistical Shape Models Eigenpatches model regions –Assume shape is fixed –What if it isn’t? Faces with expression changes, organs in medical images etc.
Maximum likelihood (ML)
CSci 6971: Image Registration Lecture 16: View-Based Registration March 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
Principles of the Global Positioning System Lecture 10 Prof. Thomas Herring Room A;
Today Wrap up of probability Vectors, Matrices. Calculus
כמה מהתעשייה? מבנה הקורס השתנה Computer vision.
Lecture 11 Stereo Reconstruction I Lecture 11 Stereo Reconstruction I Mata kuliah: T Computer Vision Tahun: 2010.
Introduction à la vision artificielle III Jean Ponce
CSE554Laplacian DeformationSlide 1 CSE 554 Lecture 8: Laplacian Deformation Fall 2012.
Multimodal Interaction Dr. Mike Spann
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
CSci 6971: Image Registration Lecture 3: Images and Transformations March 1, 2005 Prof. Charlene Tsai.
CSCE 643 Computer Vision: Structure from Motion
September 5, 2013Computer Vision Lecture 2: Digital Images 1 Computer Vision A simple two-stage model of computer vision: Image processing Scene analysis.
Course 13 Curves and Surfaces. Course 13 Curves and Surface Surface Representation Representation Interpolation Approximation Surface Segmentation.
Computer Animation Rick Parent Computer Animation Algorithms and Techniques Optimization & Constraints Add mention of global techiques Add mention of calculus.
Feature based deformable registration of neuroimages using interest point and feature selection Leonid Teverovskiy Center for Automated Learning and Discovery.
Parameter estimation. 2D homography Given a set of (x i,x i ’), compute H (x i ’=Hx i ) 3D to 2D camera projection Given a set of (X i,x i ), compute.
Wenqi Zhu 3D Reconstruction From Multiple Views Based on Scale-Invariant Feature Transform.
AS-RIGID-AS-POSSIBLE SHAPE MANIPULATION
A Flexible New Technique for Camera Calibration Zhengyou Zhang Sung Huh CSPS 643 Individual Presentation 1 February 25,
EECS 274 Computer Vision Geometric Camera Calibration.
Chapter 13 (Prototype Methods and Nearest-Neighbors )
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
Lecture 6 - Single Variable Problems & Systems of Equations CVEN 302 June 14, 2002.
CS654: Digital Image Analysis
776 Computer Vision Jan-Michael Frahm Spring 2012.
CENG 789 – Digital Geometry Processing 07- Rigid-Body Alignment Asst. Prof. Yusuf Sahillioğlu Computer Eng. Dept,, Turkey.
Parameter estimation class 5 Multiple View Geometry CPSC 689 Slides modified from Marc Pollefeys’ Comp
Camera Calibration Course web page: vision.cis.udel.edu/cv March 24, 2003  Lecture 17.
CSCI 631 – Foundations of Computer Vision March 15, 2016 Ashwini Imran Image Stitching.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
11/25/03 3D Model Acquisition by Tracking 2D Wireframes Presenter: Jing Han Shiau M. Brown, T. Drummond and R. Cipolla Department of Engineering University.
776 Computer Vision Jan-Michael Frahm Spring 2012.
CSE 554 Lecture 8: Alignment
CENG 789 – Digital Geometry Processing 08- Rigid-Body Alignment
Paper – Stephen Se, David Lowe, Jim Little
Parameter estimation class 5
Two-view geometry Computer Vision Spring 2018, Lecture 10
Exposing Digital Forgeries by Detecting Traces of Resampling Alin C
2D transformations (a.k.a. warping)
Presentation transcript:

CSci 6971: Image Registration Lecture 5: Feature-Base Regisration January 27, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware

Image RegistrationLecture 5 2 Overview  What is feature-based (point-based) registration?  Feature points  The correspondence problem  Solving for the transformation estimate  Putting it all together: ICP  Discussion and conclusion  What is feature-based (point-based) registration?  Feature points  The correspondence problem  Solving for the transformation estimate  Putting it all together: ICP  Discussion and conclusion

Image RegistrationLecture 5 3 What is Feature-Based Registration?  Images are described as discrete sets of point locations associated with a geometric measurement  Locations may have additional properties such as intensities and orientations  Registration problem involves two parts:  Finding correspondences between features  Estimating the transformation parameters based on these correspondences  Images are described as discrete sets of point locations associated with a geometric measurement  Locations may have additional properties such as intensities and orientations  Registration problem involves two parts:  Finding correspondences between features  Estimating the transformation parameters based on these correspondences

Image RegistrationLecture 5 4 Feature Examples: Range Data  Range image points:  (x,y,z) values  Triangulated mesh  Surface normals are sometimes computed  Notice:  Some information (locations) is determined directly by the sensor (“raw data”)  Some information is inferred from the data  Range image points:  (x,y,z) values  Triangulated mesh  Surface normals are sometimes computed  Notice:  Some information (locations) is determined directly by the sensor (“raw data”)  Some information is inferred from the data

Image RegistrationLecture 5 5 Feature Examples: Vascular Landmarks  Branching points pulmonary images:  Lung vessels  Airway branches  Retinal image branches and cross-over points  Typically augmented (at least) with orientations of vessels meeting to form landmarks  Branching points pulmonary images:  Lung vessels  Airway branches  Retinal image branches and cross-over points  Typically augmented (at least) with orientations of vessels meeting to form landmarks

Image RegistrationLecture 5 6 Points Along Centers of Vessels and Airways  Airways and vessels modeled as tubular structures  Sample points spaced along center of tubes  Note that the entire tube is rarely used as a unit  Augmented descriptions:  Orientation  Radius  Airways and vessels modeled as tubular structures  Sample points spaced along center of tubes  Note that the entire tube is rarely used as a unit  Augmented descriptions:  Orientation  Radius

Image RegistrationLecture 5 7 “Interest” Points  Locations of strong intensity variation in all directions  Augmented with summary descriptions (moments) of surrounding intensity structures  Recent work in making these invariant to viewpoint and illumination.  We’ll discuss interest points during Lectures 16 and 17  Locations of strong intensity variation in all directions  Augmented with summary descriptions (moments) of surrounding intensity structures  Recent work in making these invariant to viewpoint and illumination.  We’ll discuss interest points during Lectures 16 and 17 Brown and Lowe, Int. Conf. On Computer Vision, 2003

Image RegistrationLecture 5 8 Feature Points: Discussion  Many different possible features  Problem is reliably extracting features in all images  This is why more sophisticated features are not used  Feature extraction methods do not use all intensity values  Use of features dominates range-image registration techniques where “features” are provided by the sensor  Many different possible features  Problem is reliably extracting features in all images  This is why more sophisticated features are not used  Feature extraction methods do not use all intensity values  Use of features dominates range-image registration techniques where “features” are provided by the sensor

Image RegistrationLecture 5 9 Preamble to Feature-Based Registration: Notation  Set of moving image features  Set of fixed image features  Each feature must include a point location in the coordinate system of its image. It may include more  Set of correspondences  Set of moving image features  Set of fixed image features  Each feature must include a point location in the coordinate system of its image. It may include more  Set of correspondences

Image RegistrationLecture 5 10  Error objective function depends on unknown transformation parameters and unknown feature correspondences  Each may depend on the other!  Transformation may include mapping of more than just locations  Distance function, D, could be as simple as the Euclidean distance between location vectors.  We are using the forward transformation model.  Error objective function depends on unknown transformation parameters and unknown feature correspondences  Each may depend on the other!  Transformation may include mapping of more than just locations  Distance function, D, could be as simple as the Euclidean distance between location vectors.  We are using the forward transformation model. Mathematical Formulation

Image RegistrationLecture 5 11 Correspondence Problem  Determine correspondences before estimating transformation parameters  Based on rich description of features  Error prone  Determine correspondences at the same time as estimation of parameters  “Chicken-and-egg” problem  For the next few minutes we will assume a set of correspondences is given and proceed to the estimation of parameters  Then we will return to the correspondence problem  Determine correspondences before estimating transformation parameters  Based on rich description of features  Error prone  Determine correspondences at the same time as estimation of parameters  “Chicken-and-egg” problem  For the next few minutes we will assume a set of correspondences is given and proceed to the estimation of parameters  Then we will return to the correspondence problem

Image RegistrationLecture 5 12 Example: Estimating Parameters  2d point locations:  Similarity transformation:  Euclidean distance:  2d point locations:  Similarity transformation:  Euclidean distance:

Image RegistrationLecture 5 13 Putting This Together

Image RegistrationLecture 5 14 What Do We Have?  Least-squares objective function  Quadratic function of each parameter  We can  Take the derivative with respect to each parameter  Set the resulting gradient to 0 (vector)  Solve for the parameters through matrix inversion  We’ll do this in two forms: component and matrix/vector  Least-squares objective function  Quadratic function of each parameter  We can  Take the derivative with respect to each parameter  Set the resulting gradient to 0 (vector)  Solve for the parameters through matrix inversion  We’ll do this in two forms: component and matrix/vector

Image RegistrationLecture 5 15 Component Derivative (a)

Image RegistrationLecture 5 16 Component Derivative (b) At this point, we’ve dropped the leading factor of 2. It will be eliminated when this is set to 0.

Image RegistrationLecture 5 17 Component Derivatives t x and t y

Image RegistrationLecture 5 18 Gathering  Setting each of these equal to 0 we obtain a set of 4 linear equations in 4 unknowns. Gathering into a matrix we have:

Image RegistrationLecture 5 19 Solving  This is a simple equation of the form  Provided the 4x4 matrix X is full-rank (evaluate SVD) we easily solve as  This is a simple equation of the form  Provided the 4x4 matrix X is full-rank (evaluate SVD) we easily solve as

Image RegistrationLecture 5 20 Matrix Version  We can do this in a less painful way by rewriting the following intermediate expression in terms of vectors and matrices:

Image RegistrationLecture 5 21 Matrix Version (continued)  This becomes  Manipulating:  This becomes  Manipulating:

Image RegistrationLecture 5 22 Matrix Version (continued)  Taking the derivative of this wrt the transformation parameters (we didn’t cover vector derivatives, but this is fairly straightforward):  Setting this equal to 0 and solving yields:  Taking the derivative of this wrt the transformation parameters (we didn’t cover vector derivatives, but this is fairly straightforward):  Setting this equal to 0 and solving yields:

Image RegistrationLecture 5 23 Comparing the Two Versions  Final equations are identical (if you expand the symbols)  Matrix version is easier (once you have practice) and less error prone  Sometimes efficiency requires hand- calculation and coding of individual terms  Final equations are identical (if you expand the symbols)  Matrix version is easier (once you have practice) and less error prone  Sometimes efficiency requires hand- calculation and coding of individual terms

Image RegistrationLecture 5 24 Resetting the Stage  What we have done:  Features  Error function of transformation parameters and correspondences  Least-squares estimate of transformation parameters for fixed set of correspondences  Next:  ICP: joint estimation of correspondences and parameters  What we have done:  Features  Error function of transformation parameters and correspondences  Least-squares estimate of transformation parameters for fixed set of correspondences  Next:  ICP: joint estimation of correspondences and parameters

Image RegistrationLecture 5 25 Iterative Closest Points (ICP) Algorithm  Given an initial transformation estimate  0  t = 0  Iterate until convergence:  Establish correspondences:  For fixed transformation parameter estimate,  t, apply the transformation to each moving image feature and find the closest fixed image feature  Estimate the new transformation parameters,  For the resulting correspondences, estimate  t+1  Given an initial transformation estimate  0  t = 0  Iterate until convergence:  Establish correspondences:  For fixed transformation parameter estimate,  t, apply the transformation to each moving image feature and find the closest fixed image feature  Estimate the new transformation parameters,  For the resulting correspondences, estimate  t+1 ICP algorithm was developed almost simultaneous by at least 5 research groups in the early 1990’s.

Image RegistrationLecture 5 26 Finding Correspondences  Map feature into coordinate system of I f  Find closest point  Map feature into coordinate system of I f  Find closest point

Image RegistrationLecture 5 27 Finding Correspondences (continued)  Enforce unique correspondences  Avoid trivial minima of objective function due to having no correspondences  Spatial data structures needed to make search for correspondences efficient  K-d trees  Digital distance maps  More during lectures 11-15…  Enforce unique correspondences  Avoid trivial minima of objective function due to having no correspondences  Spatial data structures needed to make search for correspondences efficient  K-d trees  Digital distance maps  More during lectures 11-15…

Image RegistrationLecture 5 28 Initialization and Convergence  Initial estimate of transformation is again crucial because this is a minimization technique  Determining correspondences and estimating the transformation parameters are two separate processes  With Euclidean distance metrics you can show they are working toward the same minimum  In general this is not true  Convergence in practice is sometimes problematic and the correspondences oscillate between points.  Initial estimate of transformation is again crucial because this is a minimization technique  Determining correspondences and estimating the transformation parameters are two separate processes  With Euclidean distance metrics you can show they are working toward the same minimum  In general this is not true  Convergence in practice is sometimes problematic and the correspondences oscillate between points.

Image RegistrationLecture d Retinal Example  White = vessel centerline points from one image  Black = vessel centerline points from second image  Yellow line segments drawn between corresponding points  Because of the complexity of the structure, initialization must be fairly accurate  White = vessel centerline points from one image  Black = vessel centerline points from second image  Yellow line segments drawn between corresponding points  Because of the complexity of the structure, initialization must be fairly accurate

Image RegistrationLecture 5 30 Comparison  For a given transformation estimate, we can only find a new, better estimate, not the best estimate, based on the gradient step.  We then need to update the constraints and re- estimate  For a given transformation estimate, we can only find a new, better estimate, not the best estimate, based on the gradient step.  We then need to update the constraints and re- estimate Intensity-BasedFeature-Based  For given set of correspondences, we can directly (least- squares) estimate the best transformation  BUT, the transformation depends on the correspondences, so we generally need to re- establish the correspondences.

Image RegistrationLecture 5 31 Summary  Feature-based registration  Feature types and properties  Correspondences  Least-squares estimate of parameters based on correspondences  ICP  Comparison  Feature-based registration  Feature types and properties  Correspondences  Least-squares estimate of parameters based on correspondences  ICP  Comparison

Image RegistrationLecture 5 32 Looking Ahead to Lecture 6  Introduction to ITK and the ITK registration framework.