Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire.

Slides:



Advertisements
Similar presentations
Single-view geometry Odilon Redon, Cyclops, 1914.
Advertisements

Epipolar Geometry.
Computer Vision, Robert Pless
Lecture 11: Two-view geometry
3D reconstruction.
Study the mathematical relations between corresponding image points.
Computer vision: models, learning and inference
Two-View Geometry CS Sastry and Yang
Image alignment Image from
776 Computer Vision Jared Heinly Spring 2014 (slides borrowed from Jan-Michael Frahm, Svetlana Lazebnik, and others)
Camera calibration and epipolar geometry
Camera Models A camera is a mapping between the 3D world and a 2D image The principal camera of interest is central projection.
Image alignment Image from
Structure from motion.
Single-view metrology
Image alignment.
Used slides/content with permission from
Epipolar geometry. (i)Correspondence geometry: Given an image point x in the first view, how does this constrain the position of the corresponding point.
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
Lecture 7: Image Alignment and Panoramas CS6670: Computer Vision Noah Snavely What’s inside your fridge?
CS485/685 Computer Vision Prof. George Bebis
3-D Geometry.
3D reconstruction of cameras and structure x i = PX i x’ i = P’X i.
Many slides and illustrations from J. Ponce
Computer Vision : CISC4/689
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Camera parameters Extrinisic parameters define location and orientation of camera reference frame with respect to world frame Intrinsic parameters define.
Instance-level recognition I. - Camera geometry and image alignment Josef Sivic INRIA, WILLOW, ENS/INRIA/CNRS UMR 8548 Laboratoire.
776 Computer Vision Jan-Michael Frahm, Enrique Dunn Spring 2013.
Computer vision: models, learning and inference
Image Stitching Ali Farhadi CSE 455
Image alignment.
CSC 589 Lecture 22 Image Alignment and least square methods Bei Xiao American University April 13.
Introduction à la vision artificielle III Jean Ponce
Euclidean cameras and strong (Euclidean) calibration Intrinsic and extrinsic parameters Linear least-squares methods Linear calibration Degenerate point.
Camera Geometry and Calibration Thanks to Martial Hebert.
Epipolar geometry The fundamental matrix and the tensor
Projective cameras Motivation Elements of Projective Geometry Projective structure from motion Planches : –
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 Models & Camera Calibration
Imaging Geometry for the Pinhole Camera Outline: Motivation |The pinhole camera.
Metrology 1.Perspective distortion. 2.Depth is lost.
Geometric Camera Models
Vision Review: Image Formation Course web page: September 10, 2002.
Computer Vision : CISC 4/689 Going Back a little Cameras.ppt.
Affine Structure from Motion
Single-view geometry Odilon Redon, Cyclops, 1914.
EECS 274 Computer Vision Affine Structure from Motion.
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)
Feature Matching. Feature Space Outlier Rejection.
Camera Model Calibration
Single-view geometry Odilon Redon, Cyclops, 1914.
776 Computer Vision Jan-Michael Frahm Spring 2012.
776 Computer Vision Jan-Michael Frahm Spring 2012.
Lecture 16: Image alignment
COSC579: Image Align, Mosaic, Stitch
Homogeneous Coordinates (Projective Space)
Two-view geometry Computer Vision Spring 2018, Lecture 10
Epipolar geometry.
Image Stitching Slides from Rick Szeliski, Steve Seitz, Derek Hoiem, Ira Kemelmacher, Ali Farhadi.
Study the mathematical relations between corresponding image points.
GEOMETRIC CAMERA MODELS
Geometric Camera Models
Uncalibrated Geometry & Stratification
Single-view geometry Odilon Redon, Cyclops, 1914.
The Pinhole Camera Model
Image Stitching Linda Shapiro ECE/CSE 576.
Image Stitching Linda Shapiro ECE P 596.
Presentation transcript:

Reconnaissance d’objets et vision artificielle Jean Ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire d’Informatique Ecole Normale Supérieure, Paris

Outline Motivation: Making mosaics Perspetive and weak perspective Coordinates changes Intrinsic and extrensic parameters Affine registration Projective registration

Feature-based alignment outline

Extract features

Feature-based alignment outline Extract features Compute putative matches

Feature-based alignment outline Extract features Compute putative matches Loop: Hypothesize transformation T (small group of putative matches that are related by T)

Feature-based alignment outline Extract features Compute putative matches Loop: Hypothesize transformation T (small group of putative matches that are related by T) Verify transformation (search for other matches consistent with T)

Feature-based alignment outline Extract features Compute putative matches Loop: Hypothesize transformation T (small group of putative matches that are related by T) Verify transformation (search for other matches consistent with T)

2D transformation models Similarity (translation, scale, rotation) Affine Projective (homography) Why these transformations ???

Pinhole perspective equation NOTE: z is always negative..

Affine models: Weak perspective projection is the magnification. When the scene relief is small compared its distance from the Camera, m can be taken constant: weak perspective projection.

Affine models: Orthographic projection When the camera is at a (roughly constant) distance from the scene, take m=1.

Analytical camera geometry

Coordinate Changes: Pure Translations O B P = O B O A + O A P, B P = A P + B O A

Coordinate Changes: Pure Rotations

Coordinate Changes: Rotations about the z Axis

A rotation matrix is characterized by the following properties: Its inverse is equal to its transpose, and its determinant is equal to 1. Or equivalently: Its rows (or columns) form a right-handed orthonormal coordinate system.

Coordinate changes: pure rotations

Coordinate Changes: Rigid Transformations

Pinhole perspective equation NOTE: z is always negative..

The intrinsic parameters of a camera Normalized image coordinates Physical image coordinates Units: k,l : pixel/m f : m  : pixel

The intrinsic parameters of a camera Calibration matrix The perspective projection equation

The extrinsic parameters of a camera

Perspective projections induce projective transformations between planes

Weak-perspective projection Paraperspective projection Affine cameras

Orthographic projection Parallel projection More affine cameras

Weak-perspective projection model r (p and P are in homogeneous coordinates) p = A P + b (neither p nor P is in hom. coordinates) p = M P (P is in homogeneous coordinates)

Affine projections induce affine transformations from planes onto their images.

Affine transformations An affine transformation maps a parallelogram onto another parallelogram

Fitting an affine transformation Assume we know the correspondences, how do we get the transformation?

Fitting an affine transformation Linear system with six unknowns Each match gives us two linearly independent equations: need at least three to solve for the transformation parameters

Beyond affine transformations What is the transformation between two views of a planar surface? What is the transformation between images from two cameras that share the same center?

Perspective projections induce projective transformations between planes

Beyond affine transformations Homography: plane projective transformation (transformation taking a quad to another arbitrary quad)

Fitting a homography Recall: homogenenous coordinates Converting to homogenenous image coordinates Converting from homogenenous image coordinates

Fitting a homography Recall: homogenenous coordinates Equation for homography: Converting to homogenenous image coordinates Converting from homogenenous image coordinates

Fitting a homography Equation for homography: 3 equations, only 2 linearly independent 9 entries, 8 degrees of freedom (scale is arbitrary)

Direct linear transform H has 8 degrees of freedom (9 parameters, but scale is arbitrary) One match gives us two linearly independent equations Four matches needed for a minimal solution (null space of 8x9 matrix) More than four: homogeneous least squares

Application: Panorama stitching Images courtesy of A. Zisserman.