projective geometry. projection vanishing lines m and n

60
Projective Geometry

Upload: noreen-floyd

Post on 30-Dec-2015

230 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 2: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 3: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 4: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 5: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 6: Projective Geometry. Projection Vanishing lines m and n

Projection

Page 7: Projective Geometry. Projection Vanishing lines m and n

Projection

Vanishing lines m and n

Page 8: Projective Geometry. Projection Vanishing lines m and n

Projective Plane (Extended Plane)

Page 9: Projective Geometry. Projection Vanishing lines m and n

Projective Plane

How???Ordinary plane

Page 10: Projective Geometry. Projection Vanishing lines m and n

Point Representation

A point in the projective plane is represented as a ray in R3

Page 11: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 12: Projective Geometry. Projection Vanishing lines m and n

Homogeneous coordinates

0 cbyax 01 x,y,a,b,cT

0,~ ka,b,cka,b,cTT

Homogeneous representation of 2D points and lines

equivalence class of vectors, any vector is representative

Set of all equivalence classes in R3(0,0,0)T forms P2

0,1,,~1,, kyxkyx TT

The point x lies on the line l if and only if

Homogeneous coordinates

Inhomogeneous coordinates Tyx, T321 ,, xxx but only 2DOF

Note that scale is unimportant for incidence relation

0xl T

Page 13: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 14: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Projective plane = S2 with antipodal points identified

Ordinary plane is unbound

Projective plane is bound!

Page 15: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 16: Projective Geometry. Projection Vanishing lines m and n

Projective Geometry

Page 17: Projective Geometry. Projection Vanishing lines m and n

Pappus’ Theorem

Page 18: Projective Geometry. Projection Vanishing lines m and n

Pappus’ Theorem

Page 19: Projective Geometry. Projection Vanishing lines m and n

Pappus’ Theorem

Page 20: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 21: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 22: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 23: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 24: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 25: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 26: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 27: Projective Geometry. Projection Vanishing lines m and n

Conic Section

Page 28: Projective Geometry. Projection Vanishing lines m and n

Form of Conics

Page 29: Projective Geometry. Projection Vanishing lines m and n

Transformation

• Projective: incidence, tangency

• Affine : plane at infinity, parallelism

• Similarity : absolute conics

Page 30: Projective Geometry. Projection Vanishing lines m and n

Circular Point

Circular points

Page 31: Projective Geometry. Projection Vanishing lines m and n

Euclidean Transformation

Any transformation of the projective plane which leaves the circular points fixed is a Euclidean transformation, and

Any Euclidean transformation leaves the circular points fixed.

A Euclidean transformation is of the form:

Page 32: Projective Geometry. Projection Vanishing lines m and n

Euclidean Transformation

Page 33: Projective Geometry. Projection Vanishing lines m and n

Calibration

Page 34: Projective Geometry. Projection Vanishing lines m and n

Calibration

Use circular point as a ruler…

Page 35: Projective Geometry. Projection Vanishing lines m and n

Calibration

Page 36: Projective Geometry. Projection Vanishing lines m and n

Today

• Cross ratio

• More on circular points and absolute conics

• Camera model and Zhang’s calibration

• Another calibration method

Page 37: Projective Geometry. Projection Vanishing lines m and n

Transformation

• Let X and X’ be written in homogeneous coordinates, when X’=PX

• P is a projective transformation when…..

• P is an affine transformation when…..

• P is a similarity transformation when…..

Page 38: Projective Geometry. Projection Vanishing lines m and n

Transformation

Projective

Affine

Similarity

Euclidean

Page 39: Projective Geometry. Projection Vanishing lines m and n

Matrix Representation

x x x

x x x

x x x

0 0 1

x x x

x x x

cos sin

sin cos

0 0 1

a a b

a a c

cos sin

sin cos

0 0 1

b

c

Page 40: Projective Geometry. Projection Vanishing lines m and n

Invariance

• Mathematician loves invariance !

• Fixed point theorem

• Eigenvector

( )F x x

A x x

Page 41: Projective Geometry. Projection Vanishing lines m and n

Cross Ratio

• Projective line

P = (X,1)t

• Consider

1,1 1,21 1

2,1 2,22 2

t tx X

t tx X

TXx

Page 42: Projective Geometry. Projection Vanishing lines m and n

Cross Ratio

11 2

2

, /1

x xx x x

x

x

11 2

2

, /1

X XX X X

X

X

Page 43: Projective Geometry. Projection Vanishing lines m and n

Cross RatioConsider determinants:

Rewritting

So we have

Consider 12 1 2| ( )( ) |d T T P P

Page 44: Projective Geometry. Projection Vanishing lines m and n

Cross Ratio

How do we eliminate |T| and the coefficients

The idea is to use the ratio. Consider

and

The remaining coefficients can be eliminated by using the fourth point

Page 45: Projective Geometry. Projection Vanishing lines m and n

Pinhole Camera

Page 46: Projective Geometry. Projection Vanishing lines m and n

Pinhole Camera

3x4 projection matrix3x3 intrinsic matrix

Extrinsic matrix

Principle point

Skew factor cot

Page 47: Projective Geometry. Projection Vanishing lines m and n

Pinhole Camera

Page 48: Projective Geometry. Projection Vanishing lines m and n

Absolute Conic

Page 49: Projective Geometry. Projection Vanishing lines m and n

Absolute Conic

Page 50: Projective Geometry. Projection Vanishing lines m and n

Absolute ConicImportant: absolute conic is invariant to any rigid transformation

We can write and

That is,

and obtain

Page 51: Projective Geometry. Projection Vanishing lines m and n

Absolute ConicNow consider the image of the absolute conic

It is defined by

Page 52: Projective Geometry. Projection Vanishing lines m and n

Typical Calibration

1. Estimate the camera projection matrix from correspondence between scene points and image points (Zhang p.12)

2. Recover intrinsic and extrinsic parameters

Page 53: Projective Geometry. Projection Vanishing lines m and n

Typical Calibration

P[3][4], B[3][3], b[3]

Page 54: Projective Geometry. Projection Vanishing lines m and n

Calibration with IAC

Can we calibrate without correspondence?

(British Machine Vision)

Page 55: Projective Geometry. Projection Vanishing lines m and n

Calibration with IAC

Page 56: Projective Geometry. Projection Vanishing lines m and n

Calibration with IAC

From Zhang’s, the image of the absolute conic is the conic

Let’s assume that the model plane is on the X-Y plane of the world coordinate system, so we have:

Page 57: Projective Geometry. Projection Vanishing lines m and n

Calibration with IAC

Points on the model plane with t=0 form the line at infinity

It is sufficient to consider model plane in homogeneous coordinates

We know that the circular points I = (1,i,0,0)T and J = (1,-i,0,0)T must satisfy

Let the image of I and J be denoted by

Page 58: Projective Geometry. Projection Vanishing lines m and n

Calibration with IACConsider the circle in the model plane with center (Ox,Oy,1) and radius r.

This circle intersects the line at infinity when

or

Any circle (any center, any radius) intersects line at infinity in the two circular points

The image of the circle should intersect the image of the line at infinity (vanishing line) in the image of the two circular points

Page 59: Projective Geometry. Projection Vanishing lines m and n

Calibration with IAC

1C

Page 60: Projective Geometry. Projection Vanishing lines m and n

Calibration with IAC