Photometric Stereo & Shape from Shading

Slides:



Advertisements
Similar presentations
1 Photometric Stereo Reconstruction Dr. Maria E. Angelopoulou.
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
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
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?
Computer Vision CS 776 Spring 2014 Photometric Stereo and Illumination Cones Prof. Alex Berg (Slide credits to many folks on individual slides)
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.
Shape-from-X Class 11 Some slides from Shree Nayar. others.
AA II z f Surface Radiance and Image Irradiance Same solid angle Pinhole Camera Model.
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.
Image Formation1 Projection Geometry Radiometry (Image Brightness) - to be discussed later in SFS.
Visibility Subspaces: Uncalibrated Photometric Stereo with Shadows Kalyan Sunkavalli, Harvard University Joint work with Todd Zickler and Hanspeter Pfister.
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Basic Principles of Surface Reflectance
Computer Vision Sources, shading and photometric stereo Marc Pollefeys COMP 256.
Lecture 32: Photometric stereo, Part 2 CS4670: Computer Vision Noah Snavely.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Motion Field and Optical Flow. Outline Motion Field and Optical Flow Definition, Example, Relation Optical Flow Constraint Equation Assumptions & Derivation,
COMP 290 Computer Vision - Spring Motion II - Estimation of Motion field / 3-D construction from motion Yongjik Kim.
Photometric Stereo Merle Norman Cosmetics, Los Angeles Readings R. Woodham, Photometric Method for Determining Surface Orientation from Multiple Images.
Light and shading Source: A. Efros.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
Shape from Shading #1. Topics u irradiance and radiance u basic concepts of reflection u reflection map u photometric stereo Reflectance map and Photometric.
Reflectance Map: Photometric Stereo and 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.
Computer Vision - A Modern Approach Set: Sources, shadows and shading Slides by D.A. Forsyth Sources and shading How bright (or what colour) are objects?
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.
Verifying the “Consistency” of Shading Patterns and 3-D Structures Pawan Sinha & Edward Adelson.
Capturing light Source: A. Efros.
Sources, Shadows, and Shading
EECS 274 Computer Vision Sources, Shadows, and Shading.
Radiometry and Photometric Stereo 1. Estimate the 3D shape from shading information Can you tell the shape of an object from these photos ? 2.
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.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
A survey of Light Source Detection Methods Nathan Funk University of Alberta Nov
November 4, THE REFLECTANCE MAP AND SHAPE-FROM-SHADING.
1 Self-Calibration and Neural Network Implementation of Photometric Stereo Yuji IWAHORI, Yumi WATANABE, Robert J. WOODHAM and Akira IWATA.
Color and Brightness Constancy Jim Rehg CS 4495/7495 Computer Vision Lecture 25 & 26 Wed Oct 18, 2002.
Shape from Shading Course web page: vision.cis.udel.edu/cv February 26, 2003  Lecture 6.
Multiple Light Source Optical Flow Multiple Light Source Optical Flow Robert J. Woodham ICCV’90.
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.
Motion / Optical Flow II Estimation of Motion Field Avneesh Sud.
Radiometry of Image Formation Jitendra Malik. A camera creates an image … The image I(x,y) measures how much light is captured at pixel (x,y) We want.
Radiometry of Image Formation Jitendra Malik. What is in an image? The image is an array of brightness values (three arrays for RGB images)
EECS 274 Computer Vision Sources, Shadows, and Shading.
Announcements Project 3a due today Project 3b due next Friday.
MAN-522 Computer Vision Spring
Instructor: S. Narasimhan
Merle Norman Cosmetics, Los Angeles
Image formation and the shape from shading problem
Image formation and the shape from shading problem
Announcements Project 3b due Friday.
Algorithm and perception
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.
Shape from Shading and Texture
Physical Problem of Simultaneous Linear Equations in Image Processing
Presentation transcript:

Photometric Stereo & Shape from Shading 3-D Computer Vision CSc 83029 Photometric Stereo & Shape from Shading 3-D Computer Vision CSc83029 / Ioannis Stamos

Photometric Stereo & Shape from Shading Technique for recovering 3-D shape information from image intensity (brightness) We will discuss: Reflectance maps. Photometric stereo. Shape from shading. 3-D Computer Vision CSc83029 / Ioannis Stamos

Radiometry and Reflectance Image irradiance Brightness falloff 1 / F-number of lens Scene radiance We assume (calibration is needed) that: 3-D Computer Vision CSc83029 / Ioannis Stamos

Lambertian Reflectance Model I(x,y) p θi v n s P A Lambertian sphere k : Source brightness ρ’: Surface albedo (reflectance) ρ : Effective albedo (absorbs source brightness) or: : REFLECTANCE MAP 3-D Computer Vision CSc83029 / Ioannis Stamos

Lambertian Reflectance Model I(x,y) p θi v n s P A Lambertian sphere : REFLECTANCE MAP Relates Image Irradiance E to surface orientation for given source direction and surface reflectance 3-D Computer Vision CSc83029 / Ioannis Stamos

Representation of surface normal Unit vector ry Z Z=Z(x,y) rx y Appendix A.5 (Trucco) x 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Gradient Space (p,q) Source z 1.0 q y p x Surface normal can be represented by a point (p,q) on a plane! Source direction can be represented by a point (ps,qs)! **We want to calculate (p,q) from intensity I(x,y) 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Gradient Space (p,q) Source z 1.0 q y p x Surface normal Source direction Assumption: SOURCE DIR. IS CONSTANT FOR ENTIRE SCENE. 3-D Computer Vision CSc83029 / Ioannis Stamos

Reflectance Map (Lambertian) OR: Source z ISO-BRIGHTNESS CONTOUR q Constant θi p y x 3-D Computer Vision CSc83029 / Ioannis Stamos

Reflectance Map (Lambertian) ISO-BRIGHTNESS CONTOURS NOTE: R(p,q) is maximum when (p,q)=(ps,qs) 3-D Computer Vision CSc83029 / Ioannis Stamos

Reflectance Map (Lambertian) Examples. Where is the source with respect to the sphere? 3-D Computer Vision CSc83029 / Ioannis Stamos

Reflectance Map (Glossy Surfaces) 3-D Computer Vision CSc83029 / Ioannis Stamos

Shape from Shading PROBLEM: Given 1) source direction ISO-BRIGHTNESS CONTOURS PROBLEM: Given 1) source direction 2) surface reflectance (ρ) 3) one intensity image I(x,y) Can we find unique surface orientation (p,q)?

3-D Computer Vision CSc83029 / Ioannis Stamos Two reflectance maps? 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Two reflectance maps? Intersections: 2 solutions for p and q. What if we don’t know the albedo? 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Photometric Stereo Use multiple light sources to resolve ambiguity In surface orientation. Note: Scene does not move – Correspondence between points in different images is easy! Notation: Direction of source i: or Image intensity produced by source i: 3-D Computer Vision CSc83029 / Ioannis Stamos

Lambertian Surfaces (special case) Use THREE sources in directions Image Intensities measured at point (x,y): orientation albedo 3-D Computer Vision CSc83029 / Ioannis Stamos

Photometric Stereo: RESULT INPUT orientation albedo

From Surface Orientations to Shape Integrate needle map 3-D Computer Vision CSc83029 / Ioannis Stamos

Calibration Objects & Look-up Tables Calibration: Useful when Reflectance Map Equations are uknown. Use Calibration sphere of known size and same reflectance as scene objects. Each point on the sphere has a unique known orientation. 3-D Computer Vision CSc83029 / Ioannis Stamos

Calibration Objects & Look-up Tables Illuminate the sphere with one source at a time and obtain an image. Each surface point with orientation (p,q) produces three images (I1, I2, I3) Generate a LOOK-UP TABLE (I1, I2, I3) -> (p,q) I3 (p,q) ARRAY I1 I2 For an object of uknown shape but same reflectance, obtain 3 images using same sources. For each image point use LUT to map (I1, I2, I3) -> (p,q)

Photometric Stereo: Remarks Reflectance & illumination must be known a-priori. Local Method. Major Assumption: No interreflections. Concave surfaces exhibit interreflections. 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Shape from Shading Can we recover shape from a Single Image? 3-D Computer Vision CSc83029 / Ioannis Stamos

Human Perception of Shape from Shading We assume light source is above us. Ramachandran 88 3-D Computer Vision CSc83029 / Ioannis Stamos

Human Perception of Shape from Shading We assume light source is above us. Ramachandran 88 3-D Computer Vision CSc83029 / Ioannis Stamos

Human Perception of Shape from Shading Surface boundaries have strong influence on perceived shape 3-D Computer Vision CSc83029 / Ioannis Stamos

Finding the Illumination Direction Assumption: The surface normals of the scene are distributed uniformly in 3-D space Illumination direction Mean intensity Mean square intensity Mean image gradient

3-D Computer Vision CSc83029 / Ioannis Stamos Shape from Shading Smoothness constraint 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Shape from Shading Calculus of Variations -> Discrete Case: Is the average of the 4 neighboring values Iterative solution 3-D Computer Vision CSc83029 / Ioannis Stamos

3-D Computer Vision CSc83029 / Ioannis Stamos Shape from Shading We know the normal at the contour. This provides boundary conditions. OCCLUDING BOUNDARY 3-D Computer Vision CSc83029 / Ioannis Stamos