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

Slides:



Advertisements
Similar presentations
The Radiance Equation.
Advertisements

Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm Lecture #12.
Capturing light Source: A. Efros. Image formation How bright is the image of a scene point?
The Radiance Equation Mel Slater. Outline Introduction Light Simplifying Assumptions Radiance Reflectance The Radiance Equation Traditional Rendering.
Foundations of Computer Graphics (Spring 2012) CS 184, Lecture 21: Radiometry Many slides courtesy Pat Hanrahan.
16421: Vision Sensors Lecture 6: Radiometry and Radiometric Calibration Instructor: S. Narasimhan Wean 5312, T-R 1:30pm – 2:50pm.
Basic Principles of Surface Reflectance
RADIOSITY Submitted by CASULA, BABUPRIYANK. N. Computer Graphics Computer Graphics Application Image Synthesis Animation Hardware & Architecture.
Radiometry. Outline What is Radiometry? Quantities Radiant energy, flux density Irradiance, Radiance Spherical coordinates, foreshortening Modeling surface.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
Graphics Graphics Korea University cgvr.korea.ac.kr Illumination Model 고려대학교 컴퓨터 그래픽스 연구실.
Advanced Computer Graphics (Spring 2013) CS 283, Lecture 8: Illumination and Reflection Many slides courtesy.
Computer Vision - A Modern Approach Set: Radiometry Slides by D.A. Forsyth Radiometry Questions: –how “bright” will surfaces be? –what is “brightness”?
Capturing light Source: A. Efros. Review Pinhole projection models What are vanishing points and vanishing lines? What is orthographic projection? How.
Representations of Visual Appearance COMS 6160 [Fall 2006], Lecture 2 Ravi Ramamoorthi
3-D Computer Vision CSc83029 / Ioannis Stamos 3-D Computer Vision CSc Radiometry and Reflectance.
Stefano Soatto (c) UCLA Vision Lab 1 Homogeneous representation Points Vectors Transformation representation.
Radiometry, lights and surfaces
© 2002 by Davi GeigerComputer Vision January 2002 L1.1 Image Formation Light can change the image (and appearances). What is the relation between pixel.
Computer Graphics (Fall 2008) COMS 4160, Lecture 19: Illumination and Shading 2
Introduction to Computer Vision CS / ECE 181B Tues, May 18, 2004 Ack: Matthew Turk (slides)
Basic Principles of Surface Reflectance
© 2004 by Davi GeigerComputer Vision February 2004 L1.1 Image Formation Light can change the image and appearances (images from D. Jacobs) What is the.
Image formation 2. Blur circle A point at distance is imaged at point from the lens and so Points a t distance are brought into focus at distance Thus.
© 2003 by Davi GeigerComputer Vision September 2003 L1.1 Image Formation Light can change the image and appearances (images from D. Jacobs) What is the.
Basic Principles of Surface Reflectance Lecture #3 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Computer Graphics (Fall 2004) COMS 4160, Lecture 16: Illumination and Shading 2 Lecture includes number of slides from.
1 Dr. Scott Schaefer Radiosity. 2/38 Radiosity 3/38 Radiosity Physically based model for light interaction View independent lighting Accounts for indirect.
Photometric Stereo & Shape from Shading
Basic Principles of Imaging and Photometry Lecture #2 Thanks to Shree Nayar, Ravi Ramamoorthi, Pat Hanrahan.
Light and shading Source: A. Efros.
Computer Vision Spring ,-685 Instructor: S. Narasimhan PH A18B T-R 10:30am – 11:50am Lecture #13.
CS 445 / 645: Introductory Computer Graphics
EECS 274 Computer Vision Light and Shading. Radiometry – measuring light Relationship between light source, surface geometry, surface properties, and.
Reflectance Map: Photometric Stereo and Shape from Shading
MIT EECS 6.837, Durand and Cutler Local Illumination.
Capturing light Source: A. Efros.
Graphics Lecture 13: Slide 1 Interactive Computer Graphics Lecture 13: Radiosity - Principles.
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.
111/17/ :21 Graphics II Global Rendering and Radiosity Session 9.
Radisoity Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts Director, Arts Technology Center University of New.
Announcements Office hours today 2:30-3:30 Graded midterms will be returned at the end of the class.
04/30/02(c) 2002 University of Wisconsin Last Time Subdivision techniques for modeling We are now all done with modeling, the standard hardware pipeline.
Photo-realistic Rendering and Global Illumination in Computer Graphics Spring 2012 Material Representation K. H. Ko School of Mechatronics Gwangju Institute.
CSCE 641 Computer Graphics: Reflection Models Jinxiang Chai.
Shape from Shading Course web page: vision.cis.udel.edu/cv February 26, 2003  Lecture 6.
Radiosity 1. 2 Introduction Ray tracing best with many highly specular surfaces ­Not real scenes Rendering equation describes general shading problem.
In the name of God Computer Graphics. Last Time Some techniques for modeling Today Global illumination and raytracing.
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.
01/27/03© 2002 University of Wisconsin Last Time Radiometry A lot of confusion about Irradiance and BRDFs –Clarrified (I hope) today Radiance.
Illumination Study of how different materials reflect light Definition of radiance, the fundamental unit of light transfer in computer graphics How the.
CS552: Computer Graphics Lecture 33: Illumination and Shading.
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.
1 Ch. 4: Radiometry–Measuring Light Preview 。 The intensity of an image reflects the brightness of a scene, which in turn is determined by (a) the amount.
Computer Graphics: Illumination
Announcements Project 3a due today Project 3b due next Friday.
CS580: Radiometry Sung-Eui Yoon ( 윤성의 ) Course URL:
MAN-522 Computer Vision Spring
Computer and Robot Vision II
Shading Revisited Some applications are intended to produce pictures that look photorealistic, or close to it The image should look like a photograph A.
Advanced Computer Graphics
Radiometry (Chapter 4).
© 2002 University of Wisconsin
Terminology.
Capturing light Source: A. Efros.
Radiosity Dr. Scott Schaefer.
Part One: Acquisition of 3-D Data 2019/1/2 3DVIP-01.
Lecture 28: Photometric Stereo
The Rendering Equation
Presentation transcript:

Computer Vision Radiometry

Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of  light energy emitted from light sources,  reflected from surfaces,  and registered by sensors.

Bahadir K. Gunturk3 Foreshortening A big source, viewed at a glancing angle, must produce the same effect as a small source viewed frontally. This phenomenon is known as foreshortening.

Bahadir K. Gunturk4 Solid Angle Solid angle is defined by the projected area of a surface patch onto a unit sphere of a point. (Solid angle is subtended by a point and a surface patch.)

Bahadir K. Gunturk5 Solid Angle Arc length r

Bahadir K. Gunturk6 Solid Angle Solid angle is defined by the projected area of a surface patch onto a unit sphere of a point.

Bahadir K. Gunturk7 Solid Angle Similarly, solid angle due to a line segment is r

Bahadir K. Gunturk8 Foreshortening A point on a surface sees the world along a hemisphere of directions centered at the point.

Bahadir K. Gunturk9 Radiance The distribution of light in space is a function of position and direction. The appropriate unit for measuring the distribution of light in space is radiance, which is defined as the power (the amount of energy per unit time) traveling at some point in a specified direction, per unit area perpendicular to the direction of travel, per unit solid angle. In short, radiance is the amount of light radiated from a point… (into a unit solid angle, from a unit area). Radiance = Power / (solid angle x foreshortened area) W/sr/m2 W is Watt, sr is steradian, m2 is meter-squared

Bahadir K. Gunturk10 Radiance Radiance from dS to dR Radiance = Power / (solid angle x foreshortened area)

Bahadir K. Gunturk11 Radiance Example: Infinitesimal source and surface patches Source Illuminated surface Radiance at x1 leaving to x2 Radiance = Power / (solid angle x foreshortened area)

Bahadir K. Gunturk12 Radiance Source Illuminated surface Power at x1 leaving to x2 Radiance = Power / (solid angle x foreshortened area)

Bahadir K. Gunturk13 Radiance The medium is vacuum, that is, it does not absorb energy. Therefore, the power reaching point x2 is equal to the power leaving for x2 from x1. Power at x2 from direction x1 is Let the radiance arriving at x2 from the direction of x1 is Source Illuminated surface

Bahadir K. Gunturk14 Radiance Radiance is constant along a straight line. Source Illuminated surface

Bahadir K. Gunturk15 Radiance If the medium is vacuum, power is preserved.

Bahadir K. Gunturk16 Point Source Many light sources are physically small compared with the environment in which they stand. Such a light source is approximated as an extremely small sphere, in fact, a point. Such a light source is known as a point source.

Bahadir K. Gunturk17 Radiance Intensity If the source is a point source, we use radiance intensity. Radiance intensity = Power / (solid angle) Illuminated surface Source

Bahadir K. Gunturk18 Light at Surfaces When light strikes a surface, it may be absorbed, transmitted, or scattered; usually, combination of these effects occur. It is common to assume that all effects are local and can be explained with a local interaction model. In this model:  The radiance leaving a point on a surface is due only to radiance arriving at this point.  Surfaces do not generate light internally and treat sources separately.  Light leaving a surface at a given wavelength is due to light arriving at that wavelength.

Bahadir K. Gunturk19 Light at Surfaces In the local interaction model, fluorescence, [absorb light at one wavelength and then radiate light at a different wavelength], and emission [e.g., warm surfaces emits light in the visible range] are neglected.

Bahadir K. Gunturk20 Irradiance Irradiance is the total incident power per unit area. Irradiance = Power / Area

Bahadir K. Gunturk21 Irradiance What is the irradiance due to source from angle ?

Bahadir K. Gunturk22 Irradiance What is the irradiance due to source from angle ?

Bahadir K. Gunturk23 Irradiance What is the total irradiance? Integrate over the whole hemisphere. Exercise: Suppose the radiance is constant from all directions. Calculate the irradiance.

Bahadir K. Gunturk24 Irradiance Exercise: Calculate the irradiance at O due to a plate source at O’.

Bahadir K. Gunturk25 Irradiance due to a Point Source For a point source,

Bahadir K. Gunturk26 The Relationship Between Image Intensity and Object Radiance We assume that there is no power loss in the lens. The power emitted to the lens is Diameter of lens Radiance of object

Bahadir K. Gunturk27 The Relationship Between Image Intensity and Object Radiance The solid angle for the entire lens is The power emitted to the lens is Diameter of lens

Bahadir K. Gunturk28 The Relationship Between Image Intensity and Object Radiance Diameter of lens The solid angle at O can be written in two ways. Note that Therefore

Bahadir K. Gunturk29 The Relationship Between Image Intensity and Object Radiance Diameter of lens Combine to get

Bahadir K. Gunturk30 The Relationship Between Image Intensity and Object Radiance Diameter of lens Therefore the irradiance on the image plane is The irradiance is converted to pixel intensities, which is directly proportional to the radiance of the object.

Bahadir K. Gunturk31 Surface Characteristics We want to describe the relationship between incoming light and reflected light. This is a function of both the direction in which light arrives at a surface and the direction in which it leaves.

Bahadir K. Gunturk32 Bidirectional Reflectance Distribution Function (BRDF) BRDF is defined as the ratio of the radiance in the outgoing direction to the incident irradiance.

Bahadir K. Gunturk33 Bidirectional Reflectance Distribution Function (BRDF) The radiance leaving a surface due to irradiance in a particular direction is easily obtained from the definition of BRDF:

Bahadir K. Gunturk34 Bidirectional Reflectance Distribution Function (BRDF) The radiance leaving a surface due to irradiance in all incoming directions is where Omega is the incoming hemisphere.

Bahadir K. Gunturk35 Lambertian Surface A Lambertian surface has constant BRDF. constant

Bahadir K. Gunturk36 Lambertian Surface A Lambertian surface looks equally bright from any view direction. The image intensities of the surface only changes with the illumination directions. constant

Bahadir K. Gunturk37 Lambertian Surface For a Lambertian surface, the outgoing radiance is proportional to the incident radiance. If the light source is a point source, a pixel intensity will only be a function of constant Remember, for a point source

Bahadir K. Gunturk38 Specular Surface The glossy or mirror like surfaces are called specular surfaces. Radiation arriving along a particular direction can only leave along the specular direction, obtained from the surface normal. *The term Specular comes from the Latin word speculum, meaning mirror.

Bahadir K. Gunturk39 Specular Surface Few surfaces are ideally specular. Specular surfaces commonly reflect light into a lobe of directions around the specular direction.

Bahadir K. Gunturk40 Lambertian + Specular Model Relatively few surfaces are either ideal diffuse or perfectly specular. The BRDF of many surfaces can be approximated as a combination of a Lambertian component and a specular component.

Bahadir K. Gunturk41 Lambertian + Specular Model Lambertian Lambertian + Specular

Bahadir K. Gunturk42 Radiosity Radiosity, defined as the total power leaving a point. To obtain the radiosity of a surface at a point, we can sum the radiance leaving the surface at that point over the whole hemisphere.

Part II Shading

Bahadir K. Gunturk44 Point Source For a point source,

Bahadir K. Gunturk45 A Point Source at Infinity The radiosity due to a point source at infinity is

Bahadir K. Gunturk46 Local Shading Models for Point Sources The radiosity due to light generated by a set of point sources is Radiosity due to source s

Bahadir K. Gunturk47 Local Shading Models for Point Sources If all the sources are point sources at infinity, then

Bahadir K. Gunturk48 Ambient Illumination For some environments, the total irradiance a patch obtains from other patches is roughly constant and roughly uniformly distributed across the input hemisphere. In such an environment, it is possible to model the effect of other patches by adding an ambient illumination term to each patch’s radiosity. + B0

Bahadir K. Gunturk49 Photometric Stereo If we are given a set of images of the same scene taken under different given lighting sources, can we recover the 3D shape of the scene?

Bahadir K. Gunturk50 Photometric Stereo For a point source and a Lambertian surface, we can write the image intensity as Suppose we are given the intensities under three lighting conditions: Camera and object are fixed, so a particular pixel intensity is only a function of lighting direction s i.

Bahadir K. Gunturk51 Photometric Stereo Stack the pixel intensities to get a vector The surface normal can be found as Since n is a unit vector

Bahadir K. Gunturk52 Photometric Stereo If we have more than three sources, we can find the least squares estimate using the pseudo inverse: As a result, we can find the surface normal of each point, hence the 3D shape

Bahadir K. Gunturk53 Photometric Stereo When the source directions are not given, they can be estimated from three known surface normals.

Bahadir K. Gunturk54 Photometric Stereo

Bahadir K. Gunturk55 Photometric Stereo Surface normals 3D shape

Bahadir K. Gunturk56 Photometric Stereo (by Xiaochun Cao)

Bahadir K. Gunturk57 Photometric Stereo (by Xiaochun Cao)