Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx,...

13
1 Reflectance Map: Photometric Stereo

Transcript of Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx,...

Page 1: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

1

Reflectance Map:

Photometric Stereo

Page 2: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

2

Componente especular:

Componente Difuso:

Um modelo de iluminação (Phong)

Componente ambiente:

Page 3: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

3

viewer-centered coordinate system

change in z can be shown (using Taylor series expansion) to be:

Page 4: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

4

We can write the first small step in vector form as (δx, 0, p δx)T

The unit surface normal is:

the unit view vector ˆv from the object to the lens is (0, 0, 1)T

the angle θe between the surface normal and the direction to the lens:

Page 5: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

5

The Reflectance Map

The reflectance map makes explicit the relationship between surface orientation and brightness.

a source of radiance E illuminating a Lambertian surface

The scene radiance is:

θiis the angle between the surface normal and the direction toward the source

Page 6: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

6

Page 7: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

7

Photometric Stereo

Page 8: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

8

Page 9: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

9

Recovering Albedo

Page 10: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

10

Page 11: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

11

Needle Diagram

11.8 Recovering Depth from a Needle Diagram

Page 12: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

12

Since both p and q are available, we actually have more information than we really need.

This suggests that we use a least-squares method to find the surface that best fits the imperfect

estimate of the surface gradient

We can, for example, choose z(x, y) so as to minimize the error

We have to minimize na integral of the formWe have to minimize na integral of the form

We have to minimize anintegral of the form

Page 13: Reflectance Map: Photometric Stereo · 4 We can write the first small step in vector form as ( δx, 0, p δx)T The unit surface normal is: the unit view vector ˆv from the object

13

A good estimator of the second derivative of z, for example, is