photometric stereo slidesgaatkins/ps3db.pdf · 2016. 6. 8. · why photometric stereo? why 3d? why...

72
Machine Vision Laboratory The University of the West of England Bristol, UK 2 nd September 2010 ICEBT Photometric Stereo in 3D Biometrics Gary A. Atkinson PSG College of Technology Coimbatore, India

Upload: others

Post on 01-Mar-2021

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Machine Vision Laboratory

The University of the West of England

Bristol, UK

2nd September 2010

ICEBT

Photometric

Stereo in 3D

Biometrics

Gary A.

AtkinsonPSG College of Technology

Coimbatore, India

Page 2: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Overview

1. What is photometric stereo?

2. Why photometric stereo?

3. The basic method

4. Advanced methods

5. Applications

Page 3: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Overview

1. What is photometric stereo?

2. Why photometric stereo?

3. The basic method

4. Advanced methods

5. Applications

Page 4: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

1. What is Photometric Stereo?

A method of estimating surface geometry

using multiple light source directions

Captured images

Page 5: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

1. What is Photometric Stereo?

A method of estimating surface geometry

using multiple light source directions

Captured images Surface normals

Page 6: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

1. What is Photometric Stereo?

A method of estimating surface geometry

using multiple light source directions

Depth map Surface normals

Page 7: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

1. What is Photometric Stereo?

A method of estimating surface geometry

using multiple light source directions

Depth map Surface normals

Page 8: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Overview

1. What is photometric stereo?

2. Why photometric stereo?

3. The basic method

4. Advanced methods

5. Applications

Page 9: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why photometric Stereo?

Why 3D? Why PS in particular?

Page 10: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why photometric Stereo?

Why 3D? Why PS in particular?

1. Robust face recognition

2. Ambient illumination independence

3. Facilitates pose correction

4. Non-contact fingerprint analysis

Richer dataset in 3D

Page 11: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why photometric Stereo?

Why 3D? Why PS in particular?

1. Robust face recognition

2. Ambient illumination independence

3. Facilitates pose, expression correction

4. Non-contact fingerprint analysis

• Same day

• Same camera

• Same expression

• Same pose

• Same background

• Even same shirt

• Different illumination

Completely

different

image

Page 12: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why photometric Stereo?

Why 3D? Why PS in particular?

1. Robust face recognition

2. Ambient illumination independence

3. Facilitates pose, expression correction

4. Non-contact fingerprint analysis

Page 13: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why photometric Stereo?

Why 3D? Why PS in particular?

1. Robust face recognition

2. Ambient illumination independence

3. Facilitates pose, expression correction

4. Non-contact fingerprint analysis

Page 14: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why photometric Stereo?

Why 3D? Why PS in particular?

1. Captures reflectance data for 2D matching

2. Compares well to other methods

*Depending on correspondence density

SFS Shape-from-shading

GS Geometric stereo

LT Laser triangulation

PPT Projected pattern triangulation

PS Photometric stereo

Page 15: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Shape-from-Shading

Estimate surface normals from

shading patterns.

More to follow...

Page 16: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Geometric stereo

drdl

bfz

Page 17: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Geometric stereo

[Li Wei, and Eung-Joo Lee, JDCTA 2010] [Wang, et al. JVLSI 2007]

Page 18: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Laser triangulation

tandh

Page 19: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Laser triangulation

f

j

i

if

b

z

y

x

cot

General case

Page 20: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Laser triangulation

Page 21: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Projected Pattern Triangulation

Page 22: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Projected Pattern Triangulation

Greyscale camera

Pattern projector

Colour camera

Flash

Greyscale camera

Target

Page 23: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Projected Pattern Triangulation

Page 24: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Projected Pattern Triangulation

Page 25: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Projected Pattern Triangulation

Page 26: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

2. Why Photometric Stereo? – Alternatives

Projected Pattern Triangulation

Page 27: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Overview

1. What is photometric stereo?

2. Why photometric stereo?

3. The basic method

4. Advanced methods

5. Applications

Page 28: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Assumptions

θ

I = radiance (intensity)

N = unit normal vector

L = unit source vector

θ = angle between N and L

1. No cast/self-shadows or specularities

2. Greyscale/linear imaging

3. Distant and uniform light sources

4. Orthographic projection

5. Static surface

6. Lambertian reflectance

Assumptions:

[Argyriou and Petrou]

LN cosI

Page 29: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

0 DCzByAx

TCBA ,,N

3. The Basic Method – Preliminary notes

Equation of a plane

Surface normal vector to plane

Page 30: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

0 DCzByAx

TCBA ,,N

3. The Basic Method – Preliminary notes

Equation of a plane

Surface normal vector to plane

C

Dy

C

Bx

C

Az

Page 31: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

0 DCzByAx

TCBA ,,N

3. The Basic Method – Preliminary notes

Equation of a plane

Surface normal vector to plane

C

Dy

C

Bx

C

Az

C

A

x

z

C

B

y

z

Page 32: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

0 DCzByAx

TCBA ,,N

3. The Basic Method – Preliminary notes

Equation of a plane

Surface normal vector to plane

C

Dy

C

Bx

C

Az

C

A

x

z

C

B

y

z

Rescaled surface normal T

C

B

C

A

1,,n

T

y

z

x

z

1,,

Page 33: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

0 DCzByAx

TCBA ,,N

3. The Basic Method – Preliminary notes

Equation of a plane

Surface normal vector to plane

Rescaled surface normal typically written

TT

qpy

z

x

z1,,1,,

n

C

Dy

C

Bx

C

Az

C

A

x

z

C

B

y

z

Page 34: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Reflectance Equation

Tqp 1,,

Tss qp 1,,

Consider the imaging of

an object with one light

source.

Page 35: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Lambertian reflection

cosLE

E = emittance

= albedo

L = irradiance

3. The Basic Method – Reflectance Equation

Tqp 1,,

Tss qp 1,,

Page 36: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Lambertian reflection

cosLE

E = emittance

= albedo

L = irradiance

cos1112222 ssss qpqpqqpp

3. The Basic Method – Reflectance Equation

Tqp 1,,

Tss qp 1,,

Take scalar product of light

source vector and normal

vector to obtain cos :

Page 37: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Perform substitution with Lambert’s law

11

1

2222

ss

ss

qpqp

qqppLE

3. The Basic Method – Shape-from-Shading

cosLE

Page 38: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Perform substitution with Lambert’s law

11

1

2222

ss

ss

qpqp

qqppLE

3. The Basic Method – Shape-from-Shading

cosLE

11

1'

2222

ss

ss

qpqp

qqppI

If is re-defined and the camera response is linear, then

Page 39: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Perform substitution with Lambert’s law

11

1

2222

ss

ss

qpqp

qqppLE

Known: ps, qs, I

Unknown: p, q,

1 equation,

3 unknowns

Insoluble

3. The Basic Method – Shape-from-Shading

cosLE

11

1

2222

ss

ss

qpqp

qqppI

If is re-defined and the camera response is linear, then

Page 40: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

11

1

2222

ss

ss

qpqp

qqppI

0 ss qp

Increasing I/

Curves of constant I/

3. The Basic Method – Shape-from-Shading

For a given intensity

measurement, the values of p

and q are confined to one of the

lines (circles here) in the graph.

Page 41: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Increasing I/

3. The Basic Method – Shape-from-Shading

11

1

2222

ss

ss

qpqp

qqppI

This is the result for a different light source direction.

Shadow

boundary

For a given intensity

measurement, the values of p

and q are confined to one of the

lines (circles here) in the graph.

5.0 ss qp

Page 42: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Shape-from-Shading

Representation using conics

Possible cone of normal

vectors forming a conic

section.

Page 43: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Shape-from-Shading

Representation on unit sphere

We can overcome the cone ambiguity using several light source directions: Photometric Stereo

Page 44: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Two sources: normal confined to two points– Or fully constrained if the albedo is known

3. The Basic Method – Two Sources

Page 45: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Three sources: fully constrained

3. The Basic Method – Three Sources

Page 46: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Matrix Representation

(using slightly different symbols to aid clarity)

s

N Unit surface normal

Unit light source vector

z

y

x

T

z

y

x

N

N

N

s

s

s

I

I

sN

cos

Page 47: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Matrix Representation

(using slightly different symbols to aid clarity)

z

y

x

zyx

zyx

zyx

N

N

N

sss

sss

sss

I

I

I

333

222

111

3

2

1

s

N Unit surface normal

Unit light source vector

z

y

x

T

z

y

x

N

N

N

s

s

s

I

I

sN

cos

Page 48: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Matrix Representation

(using slightly different symbols to aid clarity)

z

y

x

zyx

zyx

zyx

N

N

N

sss

sss

sss

I

I

I

333

222

111

3

2

1

z

y

x

zyx

zyx

zyx

N

N

N

I

I

I

sss

sss

sss

3

2

1

1

333

222

111

s

N Unit surface normal

Unit light source vector

z

y

x

T

z

y

x

N

N

N

s

s

s

I

I

sN

cos

Page 49: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Matrix Representation

z

y

x

z

y

x

zyx

zyx

zyx

m

m

m

N

N

N

I

I

I

sss

sss

sss

3

2

1

1

333

222

111

Tqp 1,, nRecall that, based on the surface gradients,

T

qpqp

q

qp

p

1

1,

1,

1 222222N

Page 50: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Matrix Representation

222,, zyx

z

y

z

x mmmm

mq

m

mp

Substituting and re-arranging these equations gives us

That is, the surface normals/gradient and albedo have been determined.

z

y

x

z

y

x

zyx

zyx

zyx

m

m

m

N

N

N

I

I

I

sss

sss

sss

3

2

1

1

333

222

111

Tqp 1,, nRecall that, based on the surface gradients,

T

qpqp

q

qp

p

1

1,

1,

1 222222N

Page 51: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Linear Algebra Note

222,, zyx

z

y

z

x mmmm

mq

m

mp

That is, the surface normals/gradient and albedo have been determined.

If the three light source vectors are co-planar, then the light source matrix

becomes non-singular – i.e. cannot be inverted, and the equations are

insoluble.

Page 52: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Example results

Surface normals Albedo map

More on applications of this later...

What about the depth?

Page 53: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Surface Integration

T

y

z

x

z

1,,n

xpzz ddx

zp

d

dRecall the relation between

surface normal and gradient:

Memory jogger

from calculus:

xpzz

Page 54: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Surface Integration

P

PyqxpPzPz

0

dd0

cxvxpyyqvuzvu

d,d,0,00

cdqpyxzC

l,,

Recall the relation between

surface normal and gradient:

So the height can be determined via an integral (or summation in the

discrete world of computer vision). This can be written in several ways:

Memory jogger

from calculus:

T

y

z

x

z

1,,n

xpzz ddx

zp

d

d

xpzz

Page 55: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Surface Integration

So we can generate a height map by summing up individual normal

components. Simple, right?

WRONG!!!

Page 56: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Surface Integration

WRONG!!!

• Depends on the path taken

• Is affected by noise

• Cannot handle discontinuities

• Suffers from non-integrable regions

xy

z

yx

z

22

(there’s some overlap here)

Further details are beyond the scope of this talk.

So we can generate a height map by summing up individual normal

components. Simple, right?

Page 57: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

3. The Basic Method – Surface Integration

Page 58: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Overview

1. What is photometric stereo?

2. Why photometric stereo?

3. The basic method

4. Advanced methods

5. Applications

Page 59: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods

Recall the assumptions of standard PS:

1. No cast/self-shadows or specularities

2. Greyscale imaging

3. Distant and uniform light sources

4. Orthographic projection

5. Static surface

6. Lambertian reflectance

Page 60: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods

Recall the assumptions of standard PS:

1. No cast/self-shadows or specularities

2. Greyscale imaging

3. Distant and uniform light sources

4. Orthographic projection

5. Static surface

6. Lambertian reflectance

The two highlighted assumptions are the two most problematic,

and studied, assumptions.

Page 61: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods – Shadows and Specularities

Recall that:

222,, zyx

z

y

z

x mmmm

mq

m

mp

z

y

x

z

y

x

zyx

zyx

zyx

m

m

m

N

N

N

I

I

I

sss

sss

sss

3

2

1

1

333

222

111

Suppose we have a fourth light source

- Apply the above equation for each combination of three light sources.

Four normal estimates

- Where error in estimates > camera noise an anomaly is present.

Ignore one light source here

[Coleman and Jain-esque]

Page 62: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods – Shadows and Specularities / Lambert’s Law

044332211 ssss aaaa

Due to the linear dependence of light source vectors, we know that

For some combination of constants a1, a2, a3 and a4.

[Barsky and Petrou]

Page 63: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods – Shadows and Specularities / Lambert’s Law

044332211 ssss aaaa

[Barsky and Petrou]

Multiply by albedo and take scalar product with surface normal:

044332211 NsNsNsNs aaaa

Due to the linear dependence of light source vectors, we know that

For some combination of constants a1, a2, a3 and a4.

Page 64: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods – Shadows and Specularities / Lambert’s Law

044332211 ssss aaaa

[Barsky and Petrou]

Multiply by albedo and take scalar product with surface normal:

044332211 NsNsNsNs aaaa

044332211 IaIaIaIa

Due to the linear dependence of light source vectors, we know that

For some combination of constants a1, a2, a3 and a4.

Page 65: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods – Shadows and Specularities / Lambert’s Law

044332211 ssss aaaa

[Barsky and Petrou]

Multiply by albedo and take scalar product with surface normal:

044332211 NsNsNsNs aaaa

044332211 IaIaIaIa

Where this is satisfied (subject to the confines of camera noise) the pixel

is not specular, not in shadow and follows Lambert’s law.

Due to the linear dependence of light source vectors, we know that

For some combination of constants a1, a2, a3 and a4.

Page 66: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

4. Advanced Methods – Lambert’s Law / Gauges

Attempt to overcome lighting non-uniformities and non-Lambertian

behaviour using gauges.

Image scene in the presence of a “gauge” object of known geometry and

uniform albedo.

Seek a mapping between normals on the object with normals on the

gauge.

[Leitão et al.]

TMIII (scene)(scene)(scene)(scene)

21 I

TMIII (gauge)(gauge)(gauge)(gauge)

21 I

jiji (gauge)(scene):(gauge)(scene)NNII

Page 67: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Overview

1. What is photometric stereo?

2. Why photometric stereo?

3. The basic method

4. Advanced methods

5. Applications

Page 68: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

5. Applications

Face recognition

Weapons detection

Archaeology

Skin analysis

Fingerprint recognition

Page 69: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

5. Applications – Face recognition

Recognition rates (on 61 subjects)

2D Photograph: 91.2%

Surface normals: 97.5%

Computer monitor [Schindler]

Page 70: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

5. Applications – Fingerprint recognition

Demo

[Sun et al.]

Page 71: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Conclusion

1. What is photometric stereo?

Shape / normal estimation from multiple lights

2. Why photometric stereo?

Cheap, high resolution, efficient

3. The basic method – Covered

4. Advanced methods – Introduced

5. Applications

Faces, weapons, fingerprints

Page 72: Photometric stereo slidesgaatkins/PS3DB.pdf · 2016. 6. 8. · Why photometric Stereo? Why 3D? Why PS in particular? 1. Captures reflectance data for 2D matching 2. Compares well

Thank You

Questions?

2rd September 2010

Photometric Stereo in 3D Biometrics