E27 computer vision - spring 2016 - homework 9 derive a


E27: Computer Vision - Spring 2016 - HOMEWORK 9

1. Vector normal to a depth map

A depth map is a function z = r(x, y) mapping points in R2 to scene depths. At some particular point x, y, we can evaluate the gradient of the depth map by differentiating with respect to x and y:

1246_figure.png

Let's see how this gradient relates to the normal vector of some point in the scene.

a. Why do the two vectors tx = (1, 0, ∂z/∂x) and ty = (0, 1, ∂z/∂y) form a basis of the plane tangent to the function r(x, y) at the point (x, y)? It might be useful to imagine a simple function r and to consider its cross-sections in the x and y directions.

b. Derive a formula for the normal vector n of the plane using the tangent vectors tx and ty. Remember that ||n|| = 1 and n • tx = n • ty = 0.

c. Now, solve the inverse problem: given a normal vector n at some point (x, y), derive the gradient ∇r(x, y) at that point.

d. Why does the formula you derived for (c) above help us reconstruct shape from shading or perform photometric shape from example? That is, explain why we would want to know the gradient, given the normal.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: E27 computer vision - spring 2016 - homework 9 derive a
Reference No:- TGS01478346

Expected delivery within 24 Hours