ELE 488 Fall 2006 Image Processing and Transmission ( )

Slides:



Advertisements
Similar presentations
Image Registration  Mapping of Evolution. Registration Goals Assume the correspondences are known Find such f() and g() such that the images are best.
Advertisements

Medical Image Registration Kumar Rajamani. Registration Spatial transform that maps points from one image to corresponding points in another image.
Last 4 lectures Camera Structure HDR Image Filtering Image Transform.
Mapping: Scaling Rotation Translation Warp
Image alignment Image from
Lecture 8: Geometric transformations CS4670: Computer Vision Noah Snavely.
Used slides/content with permission from
2D/3D Geometric Transformations CS485/685 Computer Vision Dr. George Bebis.
Uncalibrated Geometry & Stratification Sastry and Yang
CS485/685 Computer Vision Prof. George Bebis
Lecture 9: Image alignment CS4670: Computer Vision Noah Snavely
The Pinhole Camera Model
MSU CSE 803 Fall 2008 Stockman1 CV: 3D sensing and calibration Coordinate system changes; perspective transformation; Stereo and structured light.
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.
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Stockman MSU/CSE Math models 3D to 2D Affine transformations in 3D; Projections 3D to 2D; Derivation of camera matrix form.
Image Stitching Ali Farhadi CSE 455
1 Preview At least two views are required to access the depth of a scene point and in turn to reconstruct scene structure Multiple views can be obtained.
Homogeneous Coordinates (Projective Space) Let be a point in Euclidean space Change to homogeneous coordinates: Defined up to scale: Can go back to non-homogeneous.
Geometric Operations and Morphing.
IMAGE MOSAICING Summer School on Document Image Processing
CSE 681 Review: Transformations. CSE 681 Transformations Modeling transformations build complex models by positioning (transforming) simple components.
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
Digital Image Processing Lecture 7: Geometric Transformation March 16, 2005 Prof. Charlene Tsai.
Geometric Transformations
CSci 6971: Image Registration Lecture 3: Images and Transformations March 1, 2005 Prof. Charlene Tsai.
Mosaics Today’s Readings Szeliski, Ch 5.1, 8.1 StreetView.
Metrology 1.Perspective distortion. 2.Depth is lost.
1 Fundamentals of Robotics Linking perception to action 2. Motion of Rigid Bodies 南台科技大學電機工程系謝銘原.
Jinxiang Chai Composite Transformations and Forward Kinematics 0.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Two-Dimensional Geometric Transformations ch5. 참조 Subjects : Basic Transformations Homogeneous Coordinates Composite Transformations Other Transformations.
1 Chapter 2: Geometric Camera Models Objective: Formulate the geometrical relationships between image and scene measurements Scene: a 3-D function, g(x,y,z)
Geometric Transformations Hearn & Baker Chapter 5 Some slides are taken from Robert Thomsons notes.
Geometric Transformations
Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.
Mosaics part 3 CSE 455, Winter 2010 February 12, 2010.
Properties or Rules of Transformations Equations used to find new locations.
Geometric Transformations UBI 516 Advanced Computer Graphics Aydın Öztürk
3-D Geometric Transformations
CSCI 425/ D Mathematical Preliminaries. CSCI 425/525 2 Coordinate Systems Z X Y Y X Z Right-handed coordinate system Left-handed coordinate system.
Camera Model Calibration
776 Computer Vision Jan-Michael Frahm Spring 2012.
Digital Image Processing Additional Material : Imaging Geometry 11 September 2006 Digital Image Processing Additional Material : Imaging Geometry 11 September.
CS559: Computer Graphics Lecture 9: 3D Transformation and Projection Li Zhang Spring 2010 Most slides borrowed from Yungyu ChuangYungyu Chuang.
Instructor: Mircea Nicolescu Lecture 9
Go Back > Question 1 Describe this transformation. A reflection in the line y = x. ? Object Image.
Jinxiang Chai CSCE441: Computer Graphics 3D Transformations 0.
Lecture 15: Transforms and Alignment CS4670/5670: Computer Vision Kavita Bala.
Image Warping 2D Geometric Transformations
CSCE 441 Computer Graphics: 2D Transformations
Instructor: Dr. Shereen Aly Taie Basic Two-Dimensional Geometric Transformation 5.2 Matrix Representations and Homogeneous Coordinates 5.3 Inverse.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Lecture 10 Geometric Transformations In 3D(Three- Dimensional)
Prof. Adriana Kovashka University of Pittsburgh October 3, 2016
Transforms.
Fitting a transformation: feature-based alignment
COSC579: Image Align, Mosaic, Stitch
Homogeneous Coordinates (Projective Space)
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
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.
Uncalibrated Geometry & Stratification
2D transformations (a.k.a. warping)
Transformations my dear Watson.
TWO DIMENSIONAL TRANSFORMATION
Transformations Review
Image Registration  Mapping of Evolution
Image Stitching Linda Shapiro ECE/CSE 576.
Translation in Homogeneous Coordinates
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

ELE 488 Fall 2006 Image Processing and Transmission (10-17-06) 10/17/06 ELE 488 Fall 2006 Image Processing and Transmission (10-17-06) Geometric Transformation translation rotation scaling Affine Image Registration Goodness of fit There are many other examples not touched here. But with these examples, we can say something about why image processing. We saw some examples of enhancement, which makes the image looks better, or show more details. We saw some examples of extracting information from the images, both still images and video. We saw the same image have vastly different file sizes. This has to do with image coding and data compression. We also saw video encoding can be used to make it less vulnerable to transmission error. Image is information. How to store this kind of information, distribute it are important issued. A related topic is the digital library, which presents many challenges. Book, index, search, etc.

Mosaicking and Registration Reference Image Floating Image

Identify Features and Match to Determine Geometric Transformation Image I (reference) h(x,y) Image II (floating) h–1(x’,y’) Two cartesian coordinate systems: (x,y) and (x’,y’) Forward: (x’,y’) = h(x,y) Reverse: (x,y) = h-1(x’,y’)

Four Basic Transformations translation rotation (1, 1) y x scaling shearing (1, 0) y’ x’ (2, 1) (3, 1)

Combining Transformations Rotation and translation Successive application of rotation, translation and scaling. Involves matrix multiplications and additions Homogeneous Coordinates Matrix multiplication, no addition

Translation – Rotation – Scaling Note: c=0

Combining Transformations 1) Translate 2) Rotate 3) Translate

Homogeneous Transforms Rigid-body: Rotation and Translation 2x2 rotation submatrix is orthonormal Translation/Rotation/Scaling are determined by rotation and scaling parameters

Affine and Projective Transformations Affine: 6 free parameters Projective: 8 free parameters More general geometric transformations between two planes Widely used in modeling cameras s scaling factor.

Inverse Transform Examples:

Reflections Reflect in x-axis Reflect in y-axis Reflect in line y=x

Reflect about a general line y=ax+b

Pinhole Camera Model

Pinhole Camera Model (shifted image plane)

Image Formation: pin hole model Projection of point (X,Y,Z) in 3D space to (x,y) in image plane

Mosaicking and Registration Reference Image Floating Image Two cameras Or one camera at two positions

Two Cameras Point in 3-D has two sets of coordinates

Rotation of Camera About One Axis

General Rotation of Camera Two 3-D coordinates of a point are related by a rotation matrix: rotation matrix R Decompose R into 3 rotations about the first camera axes: Counter clockwise rotation about Z axis Counter clockwise rotation about X axis Counter clockwise rotation about Y axis

Translation location of 2nd camera in 1st camera coordinates

3-D Coordinate Transformation The two 3-D coordinates of a point are related by a 3-D rotation and a translation: Counter clockwise rotation about Z axis Counter clockwise rotation about X axis Counter clockwise rotation about Y axis from pinhole camera

3-D Coordinate Transformation

3-D Coordinate Transformation Independently scale each side of the equation

No Translation Homogeneous transformation Knowing establishes the correspondence between the images.

Examples

Flat Scene Knowing establishes the correspondence between the images. See slide 9 Homogeneous transformation Knowing establishes the correspondence between the images.

Planar Scene Homogeneous transformation Knowing establishes the correspondence between the images.

Mosaic: Firestone Library Photos: P. Ramadge, Mosaic: Y.P. Tan/R. Radke The zero translation approximation was used to register these images

Affine and Projective Transformations Projective Transformations are closely connected to image formation models and camera rotation Affine is an approximation:

Small Rotations Can be approximated by affine

Three Questions of Image Registration How is the spatial transformation (= warping function) applied and what family of warping functions are allowed? How do we measure how well the warped floating image aligns with the reference image? How to we find the best warp in the allowed class to best match the images (optimization)

Warping Function Examples Translation Rotation Scaling Affine Projective

Goodness of Fit: How well does warped image align with reference 1) Use all pixel values: 2) Only use pixel values around selected “features”: x y What are features?

Features and Feature Selection Sharp  corners v u GOOD BAD v u

Registration As An Optimization Problem Consider transformations parameterized by a vector of parameters θ Find the transformation that minimizes the registration metric (e.g., above) In some special cases this can be solved analytically (in closed form) In other cases it can be approximated and solved analytically In the most complex cases it has to be solved iteratively by a gradient-like descent method.

Example: Translation + SSD Feature Metric 1 feature - can do this by brute force search by finding the best match More features?

Simplification Find the best translation for each feature individually by a brute force search (can be refined) This gives (called a correspondence) Then select the translation for the entire image to minimize : This yields

Image Registration 756x504 pixels 16 bit color Reference Image Floating Image 756x504 pixels 16 bit color Allowed warpings is translations Matching metric is how well a selected subset of “features” match using SAD best translation match. average pixels where images overlap

Registration Using Affine Transformation translation, rotation, scaling, shearing

Registration Using Projective Transformation Add: tilting