The ‘plane space’

37
The ‘plane space’ a ‘dual’ of the Euclidean space Jean-Yves Bouguet 9/30/97

description

The ‘plane space’. a ‘dual’ of the Euclidean space. Jean-Yves Bouguet 9/30/97. P. P. d. s. Historic: 3D Photography on your desk. Light source. Stick. S. Object. Shadow plane. Desk plane. P. Edge of the shadow. L s. Goal: Estimate the 3D location of P. Principle. Optical ray - PowerPoint PPT Presentation

Transcript of The ‘plane space’

Page 1: The ‘plane space’

The ‘plane space’

a ‘dual’ of the Euclidean space

Jean-Yves Bouguet9/30/97

Page 2: The ‘plane space’

Historic: 3D Photography on your desk

Object

Desk plane

Edge ofthe shadow

d

Light sourceS

s

Shadow plane

P

s

Goal: Estimate the 3D location of P

Stick

Page 3: The ‘plane space’

Principle

xc

Oc

Xc

Yc

Zc

s

Imageplane

Optical ray(Oc,xc)

P

d

s

s

S

Camera

Intersecting s with the optical ray (Oc,xc):

scc xOP ),(

Page 4: The ‘plane space’

What is s?

xc

Oc

Xc

Yc

Zc

s

Imageplane

Optical ray(Oc,xc)

P

d

s

s

S

Camera

The shadow plane s contains S and s:

),( ss S

Page 5: The ‘plane space’

What is s?

xc

Oc

Xc

Yc

Zc

s

Imageplane

Optical ray(Oc,xc)

P

d

s

s

S

Camera

The line es is the projection of the edge s, ors is the intersection of the planes (Oc,s) and d:

dscs O ),(

Page 6: The ‘plane space’

Conclusion

xc

Oc

Xc

Yc

Zc

s

Imageplane

Optical ray(Oc,xc)

P

d

s

s

S

Camera

)),(,(),( dsccc OSxOP

Page 7: The ‘plane space’

How do we write the math?

• Preliminary observations:– The key element is the shadow plane s

– Neither s nor d cross the origin Oc

Shadowplane ??

d

s

s

Page 8: The ‘plane space’

Central objects: Planes

Definition of a plane that does not cross the origin

dXn ,

n

d

1nwith and 0d

Oc

XY

Z

cO

normalvector

distance tothe origin

X

P

P

.,.Note: dot product

Page 9: The ‘plane space’

Central objects: Planes

or: 1, X n

d

d

nwith:

Oc

XY

Z

T321 Plane vector:

)0(

Page 10: The ‘plane space’

The ‘plane space’

Oc

XY

Z

O

Euclidean space Plane space

()

Page 11: The ‘plane space’

Observation

b

a

Consider two planes a and b

that intersect along the line

Oc

Xc

Yc

Zc

Imageplane

Let be the projection of on the image plane

Page 12: The ‘plane space’

Observation (cont’d)

b

a

Oc

Xc

Yc

Zc

Imageplane

Projected line:

aa

bb Parameterization:

such that:

0, xx

Tyxx 1with:

Page 13: The ‘plane space’

Observation (cont’d)

b

a

Oc

Xc

Yc

Zc

Imageplane

Proof:

)( a

ba Proposition:)( b

Let P be a point on

Z

Y

X

X:P

1

1y

x

XZ

x

3D space Image plane

P

x

Page 14: The ‘plane space’

Observation (cont’d)

b

a

Oc

Xc

Yc

Zc

Imageplane

Proof (cont’d):

)( a

ba Proposition:)( b

1, XP aa

P

x

1, XP bb

0,

0,1

0,

x

XZ

X

ba

ba

ba

ba .,.Note: dot product

Page 15: The ‘plane space’

Observation (cont’d)

b

a

Oc

Xc

Yc

Zc

Imageplane

)( a

)( b

O

a

b

Plane space

)(()

Page 16: The ‘plane space’

The dual of a line

Oc

XY

Z

O

Euclidean space Plane space

Set of planes that contain the line

Perspective projection of onto the image plane

()

Page 17: The ‘plane space’

The dual of a point

Oc

XY

Z

O

Euclidean space Plane space

P

Set of planes that contain point P

xX P

X

1, X

()

Page 18: The ‘plane space’

What about the shadow plane?

O

Set of candidate shadow planes

Perspective projection of s onto the image plane

s

Where is the Shadow plane s?

d

s

s

)( d

)( s

d

s

Need of an additional constraint!

?

s()

Page 19: The ‘plane space’

Where is the shadow plane? (cont’d)

O

s

d

s

s

)( d

)( s

d

sS

Extra constraint: sS S Dual of S

s

Sssˆˆ Shadow plane s:

()

SS ssˆ

Page 20: The ‘plane space’

Where is the shadow plane? (cont’d)

s

d

s

s

)( d

)( s

d

sUse of an extra plane r

s

rss ˆˆShadow plane s:

r

)( rr

r

r

r

Alternative method:

Projection of r onto the image plane

Note: Least squares estimate in case of noise

()

O

Page 21: The ‘plane space’

Properties (1)

1 )( 1

2 )( 2

1

2

O

()

Intersecting planes

Page 22: The ‘plane space’

Properties (2)

O

1

()

1 )( 1

2 )( 22 1 )( 1

2 )( 2

O

1

()

2

0, 21

Parallel planes

Orthogonal planes

Dual of the horizon line

HHorizon

lineH

Page 23: The ‘plane space’

Properties (3)

O

()

)(1

2

12P

P

)(

1

Coplanar intersecting lines

Parallel lines

2

O

()

12

V

VO ˆ

V

vanishing point

Horizon line

H

H

Page 24: The ‘plane space’

Properties (4)

O

)(1

2

12P

)ˆ,ˆ(ˆ21 P

Coplanar orthogonal lines

(not shown)

()

Page 25: The ‘plane space’

Properties (4)

O

)(1

2

12P

)ˆ,ˆ(ˆ21 P

Coplanar orthogonal lines

(not shown)

Set of orthogonal planes to

Page 26: The ‘plane space’

Properties (4)

O

)(1

2

12P

)ˆ,ˆ(ˆ21 P

Coplanar orthogonal lines

(not shown)

Set of orthogonal planes to

Page 27: The ‘plane space’

Properties (4)

O

)(1

2

12P

)ˆ,ˆ(ˆ21 P

Coplanar orthogonal lines

(not shown)

Set of orthogonal planes to

3

3

Page 28: The ‘plane space’

Example 1

O

() )(

Horizon line H

Image plane

H

H

Set of candidate ground planes

d

O

()

H

H

1/d

Ground plane

Page 29: The ‘plane space’

Example 1 (cont’d)

)(

H

Image plane

V

12

()

O

H

H

1

2

V

Ground plane

a

b

W

Vanishing point

road lines

Width of the road:ba

W11

12

VHHV ˆˆ

Page 30: The ‘plane space’

Example 2: Calibration

()O

1

2

V

Desk plane?

Vanishing points

Gridedges

Image plane

12

V

W

12

H

U

Horizon: VUHVUH ˆˆˆ),(

L

U

3

4

Page 31: The ‘plane space’

Example 2: Calibration

()

O

1

2

Gridedges

Image plane

12

V

W

12

H

UL

Set of orthogonal planes to the desk

4

3

Gridedges

baW

11

a

b

cd

dcL

11

3

4

Page 32: The ‘plane space’

3D Photography on your desk

s

d

s

s

)( d

)( s

d

sSS

s

sds . 1, SS ss S

S

s

d

,

,1

Shadow plane:

xZX .

3D coordinates of P: is the plane of direction thatcontainsP x

sx

Z s ,1

Page 33: The ‘plane space’

3D Photography on your desk

OX

Y

Z

s

Imageplane

P

d

s

S

Camera

x

ss d

sS

s

x

P

Note: 0, ss xx

Psˆˆ

sP

)( s

)( d

Page 34: The ‘plane space’

Interesting features

• Simple formalism

• Convenient for plane estimation

• Natural link with the perspective projection operator

• Vanishing points and Horizon lines are natural objects in that space

Page 35: The ‘plane space’

Looking at pictures differently

Page 36: The ‘plane space’

Future: What about curves?

Page 37: The ‘plane space’

Final remark

There exists a strong similarity between this formalism and the way the Reciprocal Lattice is defined in Crystallography.

Reference: “Solid State Physics” by Neil W. Ashcroft and N. David Merminl, Saunders College Publishing international Edition, Chapter 5, pp 85-94