Announcements Project 2 due today Project 3 out today –demo session at the end of class.

Slides:



Advertisements
Similar presentations
Photometric Image Formation
Advertisements

Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
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
Capturing light Source: A. Efros. Image formation How bright is the image of a scene point?
Virtual Realism LIGHTING AND SHADING. Lighting & Shading Approximate physical reality Ray tracing: Follow light rays through a scene Accurate, but expensive.
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.
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
Lecture 23: Photometric Stereo CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein.
AA II z f Surface Radiance and Image Irradiance Same solid angle Pinhole Camera Model.
Capturing light Source: A. Efros. Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How.
Lecture 21: Light, reflectance and photometric stereo
Basic Principles of Surface Reflectance
Computer Vision Sources, shading and photometric stereo Marc Pollefeys COMP 256.
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,
Lighting affects appearance. Light Source emits photons Photons travel in a straight line When they hit an object they: bounce off in a new direction.
CS 480/680 Computer Graphics Shading I Dr. Frederick C Harris, Jr.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
CS 445 / 645: Introductory Computer Graphics
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Structure from images. Calibration Review: Pinhole Camera.
Lecture 12 Modules Employing Gradient Descent Computing Optical Flow Shape from Shading.
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.
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.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
November 4, THE REFLECTANCE MAP AND SHAPE-FROM-SHADING.
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.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Tal Amir Advanced Topics in Computer Vision May 29 th, 2015 COUPLED MOTION- LIGHTING ANALYSIS.
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
EECS 274 Computer Vision Sources, Shadows, and Shading.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Announcements Project 3a due today Project 3b due next Friday.
MAN-522 Computer Vision Spring
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
Capturing light Source: A. Efros.
Lighting.
Announcements Project 3b due Friday.
Depthmap Reconstruction Based on Monocular cues
Announcements Today: evals Monday: project presentations (8 min talks)
Isaac Gang University of Mary Hardin-Baylor
Lecture 28: Photometric Stereo
Announcements Project 3 out today demo session at the end of class.
Shape from Shading and Texture
Presentation transcript:

Announcements Project 2 due today Project 3 out today –demo session at the end of class

Photometric Stereo Readings Forsyth and Ponce, section 5.4 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) –constraints on neighboring normals—“integrability” –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

Color images The case of RGB images get three sets of equations, one per color channel: Simple solution: first solve for N using one channel Then substitute known N into above equations to get k d s: call this J

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:

Computing the light source direction Can compute N by studying this figure Hints: –use this equation: –can measure c, h, and r in the image N rNrN C H c h Chrome sphere that has a highlight at position h in the image image plane sphere in 3D

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 (project 3) V1V1 V2V2 N

Project 3

Limitations Big problems doesn’t work for shiny things, semi-translucent things shadows, inter-reflections Smaller problems camera and lights have to be distant calibration requirements –measure light source directions, intensities –camera response function

Trick for handling shadows Weight each equation by the pixel brightness: Gives weighted least-squares matrix equation: Solve for N, k d as before