3D Modeling from a photograph https://research.microsoft.com/vision/cambridge/3d/3dart.htm.

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

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.
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)
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.
1. What is Lighting? 2 Example 1. Find the cubic polynomial or that passes through the four points and satisfies 1.As a photon Metal Insulator.
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.
University of New Mexico
Computer Vision Optical Flow
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.
Visibility Subspaces: Uncalibrated Photometric Stereo with Shadows Kalyan Sunkavalli, Harvard University Joint work with Todd Zickler and Hanspeter Pfister.
Lecture 21: Light, reflectance and photometric stereo
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
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.
Photometric Stereo Merle Norman Cosmetics, Los Angeles Readings R. Woodham, Photometric Method for Determining Surface Orientation from Multiple Images.
Photometric Stereo & Shape from Shading
Lecture 20: Light, reflectance and photometric stereo
1 Angel: Interactive Computer Graphics 4E © Addison-Wesley 2005 Shading I Ed Angel Professor of Computer Science, Electrical and Computer Engineering,
Computer Vision Spring ,-685 Instructor: S. Narasimhan WH 5409 T-R 10:30am – 11:50am Lecture #15.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
Structure from images. Calibration Review: Pinhole Camera.
Lecture 12 Modules Employing Gradient Descent Computing Optical Flow Shape from Shading.
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.
Capturing light Source: A. Efros.
Sources, Shadows, and Shading
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.
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
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 Chapter 5: Sources, Shadows, Shading Light source: Anything emits light that is internally generated Exitance: The internally generated power per unit.
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.
3D Object Reconstruction Using Multiple Linear Light Sources in Image Scanner Advisor :趙春棠 Chun-Tang Chao Master :鍾明軒 Ming-Hsuan Chung 01.
Tal Amir Advanced Topics in Computer Vision May 29 th, 2015 COUPLED MOTION- LIGHTING ANALYSIS.
Geometry Reconstruction March 22, Fundamental Matrix An important problem: Determine the epipolar geometry. That is, the correspondence between.
OpenGL Shading. 2 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build.
Lighting and Reflection Angel Angel: Interactive Computer Graphics5E © Addison-Wesley
Distributed Ray Tracing. Can you get this with ray tracing?
Understanding the effect of lighting in images Ronen Basri.
EECS 274 Computer Vision Sources, Shadows, and Shading.
Computer vision: geometric models Md. Atiqur Rahman Ahad Based on: Computer vision: models, learning and inference. ©2011 Simon J.D. Prince.
Announcements Project 3a due today Project 3b due next Friday.
MAN-522 Computer Vision Spring
Instructor: S. Narasimhan
Warm Up 5-7.
Merle Norman Cosmetics, Los Angeles
Image formation and the shape from shading problem
Image formation and the shape from shading problem
CSC461: Lecture 23 Shading Computation
Lighting.
Lecturer: Dr. A.H. Abdul Hafez
Announcements Project 3b due Friday.
Announcements Today: evals Monday: project presentations (8 min talks)
Lecture 28: Photometric Stereo
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:

3D Modeling from a photograph

A different way of modeling

Last topic Single View Modeling Vermeer’s Music Lesson Reconstructions by Criminisi et al.

Next Photometric Stereo Separate Global and Direct Illumination

Photometric Stereo

Readings R. Woodham, Photometric Method for Determining Surface Orientation from Multiple Images. Optical Engineering 19(1) (1980). (PDF)PDF Merle Norman Cosmetics, Los Angeles

Diffuse reflection Simplifying assumptions I = R e : camera response function f is the identity function: –can always achieve this in practice by solving for f and applying f -1 to each pixel in the image R i = 1: light source intensity is 1 –can achieve this by dividing each pixel in the image by R i image intensity of P

Shape from shading Suppose You can directly measure angle between normal and light source Not quite enough information to compute surface shape But can be if you add some additional info, for example –assume a few of the normals are known (e.g., along silhouette) –smoothness Hard to get it to work well in practice –plus, how many real objects have constant albedo?

Photometric stereo N L1L1 L2L2 V L3L3 Can write this as a matrix equation:

Solving the equations

More than three lights Get better results by using more lights What’s the size of L T L? Least squares solution: Solve for N, k d as before

Computing light source directions Trick: place a chrome sphere in the scene the location of the highlight tells you where the light source is

For a perfect mirror, light is reflected about N Recall the rule for specular reflection We see a highlight when V = R then L is given as follows:

Depth from normals Get a similar equation for V 2 Each normal gives us two linear constraints on z compute z values by solving a matrix equation V1V1 V2V2 N

Example

What if we don’t have mirror ball? Hayakawa, Journal of the Optical Society of America, 1994, Photometric stereo under a light source with arbitrary motion.Photometric stereo under a light source with arbitrary motion