|
1
|
- Project 2 due today
- Project 3 out today
- demo session at the end of class
|
|
2
|
- Readings
- Forsyth and Ponce, section 5.4
|
|
3
|
|
|
4
|
|
|
5
|
|
|
6
|
|
|
7
|
- Get better results by using more lights
|
|
8
|
- The case of RGB images
- get three sets of equations, one per color channel:
- Simple solution: first solve for
N using one channel
- Then substitute known N into above equations to get kd s:
|
|
9
|
- Trick: place a chrome sphere in
the scene
- the location of the highlight tells you where the light source is
|
|
10
|
|
|
11
|
- Can compute N by studying this figure
- Hints:
- use this equation:
- can measure c, h, and r in the image
|
|
12
|
- Get a similar equation for V2
- Each normal gives us two linear constraints on z
- compute z values by solving a matrix equation (project 3)
|
|
13
|
|
|
14
|
- Big problems
- doesn’t work for shiny things, semi-translucent things
- shadows, inter-reflections
- Smaller problems
- camera and lights have to be distant
- calibration requirements
- measure light source directions, intensities
- camera response function
|
|
15
|
- Weight each equation by the pixel brightness:
|