Jean Ponce (ponce@di.ens.fr) http://www.di.ens.fr/~ponce - - PowerPoint PPT Presentation

jean ponce ponce di ens fr http di ens fr ponce equipe
SMART_READER_LITE
LIVE PREVIEW

Jean Ponce (ponce@di.ens.fr) http://www.di.ens.fr/~ponce - - PowerPoint PPT Presentation

Jean Ponce (ponce@di.ens.fr) http://www.di.ens.fr/~ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire dInformatique Ecole Normale Suprieure, Paris Outline Motivation: Making mosaics Perspetive and weak perspective


slide-1
SLIDE 1
slide-2
SLIDE 2

Jean Ponce (ponce@di.ens.fr) http://www.di.ens.fr/~ponce Equipe-projet WILLOW ENS/INRIA/CNRS UMR 8548 Laboratoire d’Informatique Ecole Normale Supérieure, Paris

slide-3
SLIDE 3

Outline

  • Motivation: Making mosaics
  • Perspetive and weak perspective
  • Coordinates changes
  • Intrinsic and extrensic parameters
  • Affine registration
  • Projective registration
slide-4
SLIDE 4

Feature-based alignment outline

slide-5
SLIDE 5

Feature-based alignment outline

Extract features

slide-6
SLIDE 6

Feature-based alignment outline

Extract features Compute putative matches

slide-7
SLIDE 7

Feature-based alignment outline

Extract features Compute putative matches Loop:

  • Hypothesize transformation T (small group of putative

matches that are related by T)

slide-8
SLIDE 8

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)

slide-9
SLIDE 9

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)

slide-10
SLIDE 10

2D transformation models

Similarity (translation, scale, rotation) Affine Projective (homography)

Why these transformations ???

slide-11
SLIDE 11

Pinhole perspective equation

NOTE: z is always negative..

slide-12
SLIDE 12

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.

slide-13
SLIDE 13

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

slide-14
SLIDE 14

Analytical camera geometry

slide-15
SLIDE 15

Coordinate Changes: Pure Translations

OBP = OBOA + OAP , BP = AP + BOA

slide-16
SLIDE 16

Coordinate Changes: Pure Rotations

slide-17
SLIDE 17

Coordinate Changes: Rotations about the z Axis

slide-18
SLIDE 18

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
  • rthonormal coordinate system.
slide-19
SLIDE 19

Coordinate changes: pure rotations

slide-20
SLIDE 20

Coordinate Changes: Rigid Transformations

slide-21
SLIDE 21

Pinhole perspective equation

NOTE: z is always negative..

slide-22
SLIDE 22

The intrinsic parameters of a camera Normalized image coordinates Physical image coordinates Units: k,l : pixel/m f : m α,β : pixel

slide-23
SLIDE 23

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

slide-24
SLIDE 24

The extrinsic parameters of a camera

slide-25
SLIDE 25

Perspective projections induce projective transformations between planes

slide-26
SLIDE 26

Weak-perspective projection Paraperspective projection

Affine cameras

slide-27
SLIDE 27

Orthographic projection Parallel projection

More affine cameras

slide-28
SLIDE 28

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)

slide-29
SLIDE 29

Affine projections induce affine transformations from planes

  • nto their images.
slide-30
SLIDE 30

Affine transformations

An affine transformation maps a parallelogram onto another parallelogram

slide-31
SLIDE 31

Fitting an affine transformation

Assume we know the correspondences, how do we get the transformation?

slide-32
SLIDE 32

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

slide-33
SLIDE 33

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?

slide-34
SLIDE 34

Perspective projections induce projective transformations between planes

slide-35
SLIDE 35

Beyond affine transformations

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

slide-36
SLIDE 36

Fitting a homography

Recall: homogenenous coordinates

Converting to homogenenous image coordinates Converting from homogenenous image coordinates

slide-37
SLIDE 37

Fitting a homography

Recall: homogenenous coordinates Equation for homography:

Converting to homogenenous image coordinates Converting from homogenenous image coordinates

slide-38
SLIDE 38

Fitting a homography

Equation for homography:

3 equations, only 2 linearly independent 9 entries, 8 degrees of freedom (scale is arbitrary)

slide-39
SLIDE 39

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

  • f 8x9 matrix)

More than four: homogeneous least squares

slide-40
SLIDE 40

Application: Panorama stitching

Images courtesy of A. Zisserman.

slide-41
SLIDE 41