100 likes | 221 Views
UCF REU Week 3. Lam Tran. Shape From Shading. Lambertian Model. E = k*p*COS q Let k=p=1, I = COS q = N*L/(|N||L|). Camera (0,0 , 1 ). (- p ,- q, 1 ). q. (- p s,- q s ,1 ). Lambertian Reflectance Map. p s =0 q s =0. Lambertian Reflectance Map. p s=0.7 q s=0.3.
E N D
UCF REU Week 3 Lam Tran
Lambertian Model E = k*p*COS q Let k=p=1, I = COS q = N*L/(|N||L|) Camera (0,0,1) (-p,-q,1) q (-ps,-qs,1)
Lambertian Reflectance Map ps=0 qs=0
Lambertian Reflectance Map ps=0.7 qs=0.3
Shape From Shading with MRF • Solve I(x,y) = R(p,q), p and q are the surface gradient Local horizontal and vertical cost Smoothness horizontal and vertical cost
Optimization Techniques Less computation Guarantee Smoothness
Optimization Example (2) Approximation Exact