Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.

Slides:



Advertisements
Similar presentations
Digital Image Processing
Advertisements

Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Computer Vision, Robert Pless
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,
CSE554Extrinsic DeformationsSlide 1 CSE 554 Lecture 9: Extrinsic Deformations Fall 2012.
Mapping: Scaling Rotation Translation Warp
With support from: NSF DUE in partnership with: George McLeod Prepared by: Geospatial Technician Education Through Virginia’s Community Colleges.
Image alignment Image from
Lecture 11: Transformations CS4670/5760: Computer Vision Kavita Bala.
CSci 6971: Image Registration Lecture 3: Images and Transformations January 20, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
Motion Analysis 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.
Lecture 8: Geometric transformations CS4670: Computer Vision Noah Snavely.
8. Geometric Operations Geometric operations change image geometry by moving pixels around in a carefully constrained way. We might do this to remove distortions.
Uncalibrated Geometry & Stratification Sastry and Yang
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
CS485/685 Computer Vision Prof. George Bebis
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
Calibration Dorit Moshe.
MSU CSE 803 Stockman CV: Matching in 2D Matching 2D images to 2D images; Matching 2D images to 2D maps or 2D models; Matching 2D maps to 2D maps.
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
CSci 6971: Image Registration Lecture 5: Feature-Base Regisration January 27, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
CSci 6971: Image Registration Lecture 16: View-Based Registration March 16, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart,
Image Stitching Ali Farhadi CSE 455
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Lecture 12: Image alignment CS4670/5760: Computer Vision Kavita Bala
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
Chapter 3: Image Restoration Geometric Transforms.
Digital Image Processing Lecture 20: Representation & Description
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
Geometric Operations and Morphing.
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
Image Preprocessing: Geometric Correction Image Preprocessing: Geometric Correction Jensen, 2003 John R. Jensen Department of Geography University of South.
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2: Image.
CSci 6971: Image Registration Lecture 3: Images and Transformations March 1, 2005 Prof. Charlene Tsai.
Digital Image Processing Lecture 6: Image Geometry
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.
Raquel A. Romano 1 Scientific Computing Seminar May 12, 2004 Projective Geometry for Computer Vision Projective Geometry for Computer Vision Raquel A.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Prof. Amr Goneid Department of Computer Science & Engineering
L6 – Transformations in the Euclidean Plane NGEN06(TEK230) – Algorithms in Geographical Information Systems by: Irene Rangel, updated by Sadegh Jamali.
ELE 488 Fall 2006 Image Processing and Transmission ( )
ECE 472/572 - Digital Image Processing Lecture 6 – Geometric and Radiometric Transformation 09/27/11.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
776 Computer Vision Jan-Michael Frahm Spring 2012.
CS559: Computer Graphics Lecture 7: Image Warping and Morphing Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Parameter estimation class 5 Multiple View Geometry CPSC 689 Slides modified from Marc Pollefeys’ Comp
Lecture 15: Transforms and Alignment CS4670/5670: Computer Vision Kavita Bala.
Image Warping 2D Geometric Transformations
Lecture 10: Image alignment CS4670/5760: Computer Vision Noah Snavely
776 Computer Vision Jan-Michael Frahm Spring 2012.
Lecture 16: Image alignment
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Lecture 7: Image alignment
Outline Announcement Local operations (continued) Linear filters
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Object recognition Prof. Graeme Bailey
Lecture 3: Camera Rotations and Homographies
CV: Matching in 2D Matching 2D images to 2D images; Matching 2D images to 2D maps or 2D models; Matching 2D maps to 2D maps MSU CSE 803 Stockman.
2D transformations (a.k.a. warping)
CSE 554 Lecture 10: Extrinsic Deformations
Lecture 8: Image alignment
Calibration and homographies
Image Registration  Mapping of Evolution
Image Stitching Linda Shapiro ECE/CSE 576.
Lecture 11: Image alignment, Part 2
Image Stitching Linda Shapiro ECE P 596.
Geometric Transformations
Presentation transcript:

Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai

Digital Image ProcessingLecture 7 2 Review  A geometric transform of an image consists of two basic steps  Step1: determining the pixel co-ordinate transformation  Step2: determining the brightness of the points in the digital grid.  In the previous lecture, we discussed brightness interpolation and some variations of affine transformation.  A geometric transform of an image consists of two basic steps  Step1: determining the pixel co-ordinate transformation  Step2: determining the brightness of the points in the digital grid.  In the previous lecture, we discussed brightness interpolation and some variations of affine transformation. (x,y) T(x,y)

Digital Image ProcessingLecture 7 3 Affine Transformation (con’d)  An affine transformation is equivalent to the composed effects of translation, rotation and scaling.  The general affine transformation is commonly expressed as below:  An affine transformation is equivalent to the composed effects of translation, rotation and scaling.  The general affine transformation is commonly expressed as below: 0 th order coefficients1 st order coefficients

Digital Image ProcessingLecture 7 4 General Formulation  A geometric transform is a vector function T that maps the pixel (x,y) to a new position (x’,y’):  T x (x,y) and T y (x,y) are usually polynomial equations.  This transform is linear with respect to the coefficients a rk and b rk.  A geometric transform is a vector function T that maps the pixel (x,y) to a new position (x’,y’):  T x (x,y) and T y (x,y) are usually polynomial equations.  This transform is linear with respect to the coefficients a rk and b rk.

Digital Image ProcessingLecture 7 5 Finding Coefficients  How to find a rk and b rk, which are often unknown?  Finding pairs of corresponding points (x,y), (x’,y’) in both images,  Determining a rk and b rk by solving a set of linear equations.  More points than coefficients are usually used to get robustness. Least-squares fitting is often used.  How to find a rk and b rk, which are often unknown?  Finding pairs of corresponding points (x,y), (x’,y’) in both images,  Determining a rk and b rk by solving a set of linear equations.  More points than coefficients are usually used to get robustness. Least-squares fitting is often used.

Digital Image ProcessingLecture 7 6 Jacobian  A geometric transform applied to the whole image may change the co-ordinate system, and a Jacobian J provides information about how the co-ordinate system changes  The area of the image is invariant if and only if |J|=1 (|J| is the determinant of J).  What is the Jacobian of an affine transform?  A geometric transform applied to the whole image may change the co-ordinate system, and a Jacobian J provides information about how the co-ordinate system changes  The area of the image is invariant if and only if |J|=1 (|J| is the determinant of J).  What is the Jacobian of an affine transform?

Digital Image ProcessingLecture 7 7 Variation of Affine (2D)  Translation: displacement  Euclidean (rigid): translation + rotation  Similarity: Euclidean + scaling (for isotropic scaling, s x = s y )  Translation: displacement  Euclidean (rigid): translation + rotation  Similarity: Euclidean + scaling (for isotropic scaling, s x = s y )

Digital Image ProcessingLecture 7 8 Types of transformations (2D)  Affine: Similarity + shearing  Some illustrations of shearing effects (courtesy of Luis Ibanez)  Affine: Similarity + shearing  Some illustrations of shearing effects (courtesy of Luis Ibanez)

Digital Image ProcessingLecture 7 9 Affine transform  Shearing in x-direction y x a 01 y (x,y) ( x + a 01 y, y ) y’ x y x’

Digital Image ProcessingLecture 7 10 Affine transform  Shearing in y-direction y x b 10 x (x,y) ( x, y + b 10 x ) y x y’ x’

Digital Image ProcessingLecture 7 11 Invariant Properties  Translation:  Euclidean:  Similarity:  Affine:  Translation:  Euclidean:  Similarity:  Affine:

Digital Image ProcessingLecture 7 12 Types of transformations (2D)  Bilinear: Affine + warping  Quadratic: Affine + warping  Bilinear: Affine + warping  Quadratic: Affine + warping

Digital Image ProcessingLecture 7 13 Least-Squares Estimation  Because of noise in the images, if there are more correspondence pairs than minimally required, it is often not possible to find a transformation that satisfies all pairs.  Objective: To minimize the sum of the Euclidean distances of the correspondence set C={p i,q i }, where p i ={x i,y i }, and q i is the corresponding point.  Because of noise in the images, if there are more correspondence pairs than minimally required, it is often not possible to find a transformation that satisfies all pairs.  Objective: To minimize the sum of the Euclidean distances of the correspondence set C={p i,q i }, where p i ={x i,y i }, and q i is the corresponding point.

Digital Image ProcessingLecture 7 14 Least-Squares Estimation - Affine  For affine model,  The Euclidean error, where  With the new notation,  To find which minimize we want  For affine model,  The Euclidean error, where  With the new notation,  To find which minimize we want

Digital Image ProcessingLecture 7 15 Least-Squares Estimation - Affine  This leads to  Therefore,  This leads to  Therefore,

Digital Image ProcessingLecture 7 16 Some remarks  So far, we only discussed global transformation (applied to entire image)  It is possible to approximate complex geometric transformations (distortion) by partitioning an image into smaller rectangular sub-images.  for each sub-image, a simple geometric transformation, such as the affine, is estimated using pairs of corresponding pixels.  geometric transformation (distortion) is then performed separately in each sub-image.  So far, we only discussed global transformation (applied to entire image)  It is possible to approximate complex geometric transformations (distortion) by partitioning an image into smaller rectangular sub-images.  for each sub-image, a simple geometric transformation, such as the affine, is estimated using pairs of corresponding pixels.  geometric transformation (distortion) is then performed separately in each sub-image.

Digital Image ProcessingLecture 7 17 Real Application  Registration of retinal images of different modalities  Importance?  Registration of retinal images of different modalities  Importance? Color slideFluorocein Angiogram

Digital Image ProcessingLecture 7 18 Mosaicing Mosaic

Digital Image ProcessingLecture 7 19 Fusion of medical information

Digital Image ProcessingLecture 7 20 Change Detection

Digital Image ProcessingLecture 7 21 Computer-assisted surgery

Digital Image ProcessingLecture 7 22 What is needed?  A known transformation, which is less likely OR  Computing the transformation from features.  Feature extraction  Features in correspondence  Transformation models  Objective function  A known transformation, which is less likely OR  Computing the transformation from features.  Feature extraction  Features in correspondence  Transformation models  Objective function

Digital Image ProcessingLecture 7 23 What might be a good feature? Color slideFluorocein Angiogram

Digital Image ProcessingLecture 7 24 Feature Extraction

Digital Image ProcessingLecture 7 25 Features in Correspondence (crossover & branching points)

Digital Image ProcessingLecture 7 26 Features in Correspondence (vessel centerline points)

Digital Image ProcessingLecture 7 27 Transformation Models 12-parameter quadratic transformation p q

Digital Image ProcessingLecture 7 28 Transformation Model Hierarchy Similarity Affine Reduced Quadratic Quadratic

Digital Image ProcessingLecture 7 29 Objective Function Transformation parameters Feature point in image Mapping of features from to based on Set of correspondences

Digital Image ProcessingLecture 7 30 Result