Eyes for Relighting Extracting environment maps for use in integrating and relighting scenes (Noshino and Nayar)

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

Ray tracing. New Concepts The recursive ray tracing algorithm Generating eye rays Non Real-time rendering.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Computer Graphics In4/MSc Computer Graphics Lecture Notes #15 Illumination III View Independent Rendering.
Week 10 - Monday.  What did we talk about last time?  Global illumination  Shadows  Projection shadows  Soft shadows.
Measuring BRDFs. Why bother modeling BRDFs? Why not directly measure BRDFs? True knowledge of surface properties Accurate models for graphics.
TOC 1 Physics 212 and 222 Reflection and Mirrors What do we see? Law of Reflection Properties of Spherical Mirrors Ray Tracing Images and the Equations.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Internet Vision - Lecture 3 Tamara Berg Sept 10. New Lecture Time Mondays 10:00am-12:30pm in 2311 Monday (9/15) we will have a general Computer Vision.
Light Issues in Computer Graphics Presented by Saleema Amershi.
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.
Week 9 - Wednesday.  What did we talk about last time?  Fresnel reflection  Snell's Law  Microgeometry effects  Implementing BRDFs  Image based.
University of New Mexico
Lecture 23: Photometric Stereo CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein.
Photon Tracing with Arbitrary Materials Patrick Yau.
IMGD 1001: Illumination by Mark Claypool
Flexible Bump Map Capture From Video James A. Paterson and Andrew W. Fitzgibbon University of Oxford Calibration Requirement:
COMP322/S2000/L221 Relationship between part, camera, and robot (cont’d) the inverse perspective transformation which is dependent on the focal length.
1 CSCE 641: Computer Graphics Lighting Jinxiang Chai.
Global Illumination May 7, Global Effects translucent surface shadow multiple reflection.
Objectives Learn to shade objects so their images appear three- dimensional Learn to shade objects so their images appear three- dimensional Introduce.
Paper by Alexander Keller
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Direct Volume Rendering w/Shading via Three- Dimensional Textures.
Course Website: Computer Graphics 16: Illumination.
Computer Graphics Inf4/MSc Computer Graphics Lecture 11 Texture Mapping.
Computer Graphics Inf4/MSc Computer Graphics Lecture Notes #16 Image-Based Lighting.
Illumination.
CS 445 / 645: Introductory Computer Graphics
Presentation by Dr. David Cline Oklahoma State University
COMP 175: Computer Graphics March 24, 2015
Information Extraction from Cricket Videos Syed Ahsan Ishtiaque Kumar Srijan.
CS 376 Introduction to Computer Graphics 04 / 16 / 2007 Instructor: Michael Eckmann.
Ray Tracing Chapter CAP4730: Computational Structures in Computer Graphics.
Chapter 35 MirrorsLenses Images. We will use geometrical optics: light propagates in straight lines until its direction is changed by reflection or refraction.
Week 6 - Wednesday.  What did we talk about last time?  Light  Material  Sensors.
1 Perception, Illusion and VR HNRS 299, Spring 2008 Lecture 2 Introduction, Light Course webpage:
Gene Au-yeung, Daniel Quach, Jeffrey Su, Albert Wang, Jessica Wang, David Woo.
1 Perception and VR MONT 104S, Fall 2008 Lecture 21 More Graphics for VR.
Computer Graphics Lecture 08 Fasih ur Rehman. Last Class Ray Tracing.
Ray Tracing Fall, Introduction Simple idea  Forward Mapping  Natural phenomenon infinite number of rays from light source to object to viewer.
CSCE 441: Computer Graphics Ray Tracing
Local Illumination and Shading
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Stochastic Path Tracing Algorithms K. H. Ko School of Mechatronics Gwangju.
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.
Image-Based Rendering Geometry and light interaction may be difficult and expensive to model –Think of how hard radiosity is –Imagine the complexity of.
More on Ray Tracing Glenn G. Chappell U. of Alaska Fairbanks CS 481/681 Lecture Notes Wednesday, April 14, 2004.
OpenGL Shading. 2 Objectives Learn to shade objects so their images appear three-dimensional Introduce the types of light-material interactions Build.
RENDERING : Global Illumination
CSE 681 Introduction to Ray Tracing. CSE 681 Ray Tracing Shoot a ray through each pixel; Find first object intersected by ray. Image plane Eye Compute.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Graphics Lecture 14: Slide 1 Interactive Computer Graphics Lecture 14: Radiosity - Computational Issues.
1 Computational Vision CSCI 363, Fall 2012 Lecture 2 Introduction to Vision Science.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
Computer Graphics Lecture 30 Mathematics of Lighting and Shading - IV Taqdees A. Siddiqi
EECS 274 Computer Vision Sources, Shadows, and Shading.
1 CSCE 441: Computer Graphics Lighting Jinxiang Chai.
Computer Graphics: Illumination
CIS 681 Distributed Ray Tracing. CIS 681 Anti-Aliasing Graphics as signal processing –Scene description: continuous signal –Sample –digital representation.
Distributed Ray Tracing
© University of Wisconsin, CS559 Fall 2004
Real-Time Volume Graphics [06] Local Volume Illumination
Idea: projecting images onto a common plane
Lighting.
Distributed Ray Tracing
Lecture 28: Photometric Stereo
CS5500 Computer Graphics May 29, 2006
Introduction to Ray Tracing
Distributed Ray Tracing
Presentation transcript:

Eyes for Relighting Extracting environment maps for use in integrating and relighting scenes (Noshino and Nayar)

Previous Work Global illumination – image based lighting Mirror Ball environment maps Eye Shape studies

Idea Find Eye in image by hand Find best fit ellipse Construct ellipsoid in 3 space from ellipse, focal length, distance to camera and previous knowledge of eyes Perform inverse ray tracing from camera to ellipsoid Use law of reflection to project ray onto unit sphere and mark color.

Idea Camera and Picture Cornea Environment Map

Implementation Mark points around eye, find best fit ellipse. Paper discusses using gradients to refine initial guess for ellipse parameters, though in most cases the results are satisfactory without.

Implementation Assume limited perspective, so that the ratio between major and minor axis represents the angle of the plane it lies in with respect to the camera. Assumes basically level camera.

Implementation Use a (t,theta) parameterization for the ellipsoid, where t is the height, and theta the radial angle. Send rays to focal point on camera and sample image (focal point in pixels) Find reflection along normal

Implementation Issues (t,theta) is not uniformly distributed, need far more rays for small t (where the ellipsoid is shallow) than large t No guarantee that whole of sphere is covered, there may be holes.

Implementation Issues To solve these ideally: compute from sphere to camera and sample image. However this is not trivial since rays are dependent upon camera position and one would need to try several camera to eye rays to reach a certain point on the sphere. The solution used just keeps adding rays until there are no gaps in the sphere image

Implementation Once sphere map is calculated, use in global illumination as light source Assumes the map approximates higher light level HDR since the reflection reduced small light to negligible levels. Still need to be careful to pick low levels for illumination Additionally no attempt is made to remove iris texture. Need to pick dark eyes.

Implementation Rendered as a sphere map in Cinema 4d 7.0 with new objects added.

Blade Runner Suppose we want to add a car to the background of this image:

Blade Runner First we find the best fit ellipse

Blade Runner Next we extract the correct environment map. (here rendered on a sphere)

Blade Runner Finally we render the object using the computed environment map (note that it is untextured)

Blade Runner Finally we composite (fiddle by hand!)

Blade Runner

Sections not implemented The map can also be used to unlight a model. Wave a light using the light distribution found on the eyes, and assumption that skin is lambertian (dot product of normal and light direction) find a normal map.

Sections not implemented Since the lighting is known and normals can be found, computing the base color is also possible. All computations take place over set of images with different lighting so best fit matches of both normals and base color can be found.

Sections not implemented Integration of the normals can be done as in previous work to find a 3d model which fits the lighting description. This can also be texture mapped with the base texture, and lit as a lambertian surface with shadows.

Sections not implemented The surface can be inserted into a new scene and lit according to the global illumination of that scene. This illumination can of course come from eyes!

Sections not implemented