November 4, 19981 THE REFLECTANCE MAP AND SHAPE-FROM-SHADING.

Slides:



Advertisements
Similar presentations
Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Advertisements

The gradient as a normal vector. Consider z=f(x,y) and let F(x,y,z) = f(x,y)-z Let P=(x 0,y 0,z 0 ) be a point on the surface of F(x,y,z) Let C be any.
ESSENTIAL CALCULUS CH11 Partial derivatives
Announcements Project 2 due today Project 3 out today –demo session at the end of class.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Lecture 35: Photometric stereo CS4670 / 5670 : Computer Vision Noah Snavely.
3D Modeling from a photograph
Stokes Theorem. Recall Green’s Theorem for calculating line integrals Suppose C is a piecewise smooth closed curve that is the boundary of an open region.
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.
Capturing light Source: A. Efros. Image formation How bright is the image of a scene point?
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
Basic Principles of Surface Reflectance
Shadow Scanning [Bouguet 1999] Desk Lamp Camera Stick or pencil Desk The idea [Bouguet and Perona’98] J.-Y. Bouguet and P. Perona, “3D Photography on your.
Computer graphics & visualization Pre-Computed Radiance Transfer PRT.
Shape-from-X Class 11 Some slides from Shree Nayar. others.
Based on slides created by Edward Angel
1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009 Shading I.
Illumination Model How to compute color to represent a scene As in taking a photo in real life: – Camera – Lighting – Object Geometry Material Illumination.
Lecture 23: Photometric Stereo CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein.
Course Review CS/ECE 181b Spring Topics since Midterm Stereo vision Shape from shading Optical flow Face recognition project.
May 2004SFS1 Shape from shading Surface brightness and Surface Orientation --> Reflectance map READING: Nalwa Chapter 5. BKP Horn, Chapter 10.
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Basic Principles of Surface Reflectance
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Information that lets you recognise a region.
Photometric Stereo & Shape from Shading
Statistical Color Models (SCM) Kyungnam Kim. Contents Introduction Trivariate Gaussian model Chromaticity models –Fixed planar chromaticity models –Zhu.
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Light and shading Source: A. Efros.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
Reflectance Map: Photometric Stereo and Shape from Shading
Lecture 12 Modules Employing Gradient Descent Computing Optical Flow Shape from Shading.
1/20 Obtaining Shape from Scanning Electron Microscope Using Hopfield Neural Network Yuji Iwahori 1, Haruki Kawanaka 1, Shinji Fukui 2 and Kenji Funahashi.
Analysis of Lighting Effects Outline: The problem Lighting models Shape from shading Photometric stereo Harmonic analysis of lighting.
Y. Moses 11 Combining Photometric and Geometric Constraints Yael Moses IDC, Herzliya Joint work with Ilan Shimshoni and Michael Lindenbaum, the Technion.
Shape from Shading and Texture. Lambertian Reflectance Model Diffuse surfaces appear equally bright from all directionsDiffuse surfaces appear equally.
December 4, 2014Computer Vision Lecture 22: Depth 1 Stereo Vision Comparing the similar triangles PMC l and p l LC l, we get: Similarly, for PNC r and.
Capturing light Source: A. Efros.
PCB Soldering Inspection. Structured Highlight approach Structured Highlight method is applied to illuminating and imaging specular surfaces which yields.
Radiometry and Photometric Stereo 1. Estimate the 3D shape from shading information Can you tell the shape of an object from these photos ? 2.
Understanding the effect of lighting in images Ronen Basri.
Course 10 Shading. 1. Basic Concepts: Light Source: Radiance: the light energy radiated from a unit area of light source (or surface) in a unit solid.
Lighting CSIS 5838: Graphics and Animation for Gaming.
Section 15.6 Directional Derivatives and the Gradient Vector.
Shape from Shading Course web page: vision.cis.udel.edu/cv February 26, 2003  Lecture 6.
Announcements Final Exam Friday, May 16 th 8am Review Session here, Thursday 11am.
1Ellen L. Walker 3D Vision Why? The world is 3D Not all useful information is readily available in 2D Why so hard? “Inverse problem”: one image = many.
Reflectance Function Estimation and Shape Recovery from Image Sequence of a Rotating object Jiping Lu, Jim Little UBC Computer Science ICCV ’ 95.
Understanding the effect of lighting in images Ronen Basri.
EECS 274 Computer Vision Sources, Shadows, and Shading.
Computer Graphics: Illumination
Announcements Project 3a due today Project 3b due next Friday.
MAN-522 Computer Vision Spring
CS262 – Computer Vision Lect 4 - Image Formation
Instructor: S. Narasimhan
Merle Norman Cosmetics, Los Angeles
Image formation and the shape from shading problem
Image formation and the shape from shading problem
SHAPE FROM SHADING (Calculus of Variations Approach)
Announcements Project 3b due Friday.
Part One: Acquisition of 3-D Data 2019/1/2 3DVIP-01.
Depthmap Reconstruction Based on Monocular cues
Announcements Today: evals Monday: project presentations (8 min talks)
Lecture 28: Photometric Stereo
What fraction of the incident light is reflected toward the viewer?
Announcements Project 3 out today demo session at the end of class.
Applications of Linear Algebra in Electronics and Communication
Shape from Shading and Texture
Physical Problem of Simultaneous Linear Equations in Image Processing
Presentation transcript:

November 4, THE REFLECTANCE MAP AND SHAPE-FROM-SHADING

November 4, REFLECTANCE MODELS albedoDiffuse albedo Specular albedo PHONG MODEL E = L (a  COS  b  COS  ) n a=0.3, b=0.7, n=2 a=0.7, b=0.3, n=0.5 LAMBERTIAN MODEL E = L  COS 

November 4, REFLECTANCE MODELS Description of how light energy incident on an object is transferred from the object to the camera sensor Surface Surface Normal Halfway Vector Incident Light L   Reflected Light E

November 4, REFLECTANCE MAP IS A VIEWER-CENTERED REPRESENTATION OF REFLECTANCE Depth Surface Orientation Y X Z IMAGE PLANE z=f(x,y) x y dx dy y (f, f, -1) (0,1,f ) x x (1,0,f ) y = x y

November 4, REFLECTANCE MAP IS A VIEWER-CENTERED REPRESENTATION OF REFLECTANCE (f x, f y, -1) = (p, q, -1) p, q comprise a gradient or gradient space representation for local surface orientation. Reflectance map expresses the reflectance of a material directly in terms of viewer-centered representation of local surface orientation.

November 4, LAMBERTIAN REFLECTANCE MAP LAMBERTIAN MODEL E = L  COS  Y X Z  ( p s, q s,-1 ) ( p, q, -1 )

November 4, LAMBERTIAN REFLECTANCE MAP Grouping L and  as a constant, local surface orientations that produce equivalent intensities under the Lambertian reflectance map are quadratic conic section contours in gradient space.

November 4, LAMBERTIAN REFLECTANCE MAP p s=0 q s=0

November 4, LAMBERTIAN REFLECTANCE MAP p s=0.7 q s=0.3

November 4, LAMBERTIAN REFLECTANCE MAP p s= -2 q s= -1

November 4, PHOTOMETRIC STEREO Derivation of local surface normal at each pixel creates the derived normal map.

November 4, NORMAL MAP vs. DEPTH MAP IMAGE PLANE Depth Surface Orientation

November 4, IMAGE PLANE Depth Surface Orientation NORMAL MAP vs. DEPTH MAP Can determine Depth Map from Normal Map by integrating over gradients p,q across the image. Not all Normal Maps have a unique Depth Map. This happens when Depth Map produces different results depending upon image plane direction used to sum over gradients. Particularly a problem when there are errors in the Normal Map.

November 4, IMAGE PLANE Depth Surface Orientation NORMAL MAP vs. DEPTH MAP A Normal Map that produces a unique Depth Map independent of image plane direction used to sum over gradients is called integrable. Integrability is enforced when the following condition holds:

November 4, NORMAL MAP vs. DEPTH MAP A Normal Map that produces a unique Depth Map independent of image plane direction used to sum over gradients is called integrable. Integrability is enforced when the following condition holds: GREEN’S THEOREM

November 4, NORMAL MAP vs. DEPTH MAP VIOLATION OF INTEGRABILITY

November 4, SHAPE FROM SHADING CONSTANT INTENSITY SHADING FROM LAMBERTIAN REFLECTANCE From a monocular view with a single distant light source of known incident orientation upon an object with known reflectance map, solve for the normal map.

November 4, SHAPE FROM SHADING Formulate as solving the Image Irradiance equation for surface orientation variables p,q: Since this is underconstrained we can’t solve this equation directly What do we do ??. I(x,y) = R(p,q)

November 4, SHAPE FROM SHADING (Calculus of Variations Approach) First Attempt: Minimize error in agreement with Image Irradiance Equation over the region of interest:

November 4, SHAPE FROM SHADING (Calculus of Variations Approach) Better Attempt: Regularize the Minimization of error in agreement with Image Irradiance Equation over the region of interest: