Module 5: Video Modeling Lecture 28: Illumination model. The Lecture Contains: Diffuse and Specular Reflection. Objectives_template

Similar documents
Lighting. Figure 10.1

CS130 : Computer Graphics Lecture 8: Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

CS230 : Computer Graphics Lighting and Shading. Tamar Shinar Computer Science & Engineering UC Riverside

Lighting and Shading. Slides: Tamar Shinar, Victor Zordon

Understanding Variability

Shading I Computer Graphics I, Fall 2008

Announcement. Lighting and Photometric Stereo. Computer Vision I. Surface Reflectance Models. Lambertian (Diffuse) Surface.

CS5620 Intro to Computer Graphics

CENG 477 Introduction to Computer Graphics. Ray Tracing: Shading

Illumination. Michael Kazhdan ( /657) HB Ch. 14.1, 14.2 FvDFH 16.1, 16.2

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Lecture 22: Basic Image Formation CAP 5415

Topic 9: Lighting & Reflection models 9/10/2016. Spot the differences. Terminology. Two Components of Illumination. Ambient Light Source

Lighting affects appearance

Today we will start to look at illumination models in computer graphics

Topic 9: Lighting & Reflection models. Lighting & reflection The Phong reflection model diffuse component ambient component specular component

Illumination & Shading

Illumination Models & Shading

Lighting and Shading Computer Graphics I Lecture 7. Light Sources Phong Illumination Model Normal Vectors [Angel, Ch

Introduction to Computer Vision. Introduction CMPSCI 591A/691A CMPSCI 570/670. Image Formation

Global Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

CS201 Computer Vision Lect 4 - Image Formation

Comp 410/510 Computer Graphics. Spring Shading

CSE 167: Introduction to Computer Graphics Lecture #6: Lights. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2016

Virtual Reality for Human Computer Interaction

INFOGR Computer Graphics. J. Bikker - April-July Lecture 10: Shading Models. Welcome!

Image Formation: Light and Shading. Introduction to Computer Vision CSE 152 Lecture 3

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

Ambient reflection. Jacobs University Visualization and Computer Graphics Lab : Graphics and Visualization 407

Computer Graphics (CS 4731) Lecture 16: Lighting, Shading and Materials (Part 1)

Turn on the Lights: Reflectance

Interactive Real-Time Raycasting

Introduction to Computer Graphics. Farhana Bandukwala, PhD Lecture 14: Light Interacting with Surfaces

Raytracing CS148 AS3. Due :59pm PDT

w Foley, Section16.1 Reading

Computer Graphics (CS 543) Lecture 7b: Intro to lighting, Shading and Materials + Phong Lighting Model

ECS 175 COMPUTER GRAPHICS. Ken Joy.! Winter 2014

Illumination in Computer Graphics

Assignment #2. (Due date: 11/6/2012)

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

CS 4600 Fall Utah School of Computing

Introduction. Lighting model Light reflection model Local illumination model Reflectance model BRDF

Shading. Brian Curless CSE 557 Autumn 2017

CS6670: Computer Vision

Announcements. Radiometry and Sources, Shadows, and Shading

Announcements. Lighting. Camera s sensor. HW1 has been posted See links on web page for readings on color. Intro Computer Vision.

Computer Graphics. Illumination and Shading

WHY WE NEED SHADING. Suppose we build a model of a sphere using many polygons and color it with glcolor. We get something like.

Lighting and Shading

Radiometry Measuring Light

Introduction Rasterization Z-buffering Shading. Graphics 2012/2013, 4th quarter. Lecture 09: graphics pipeline (rasterization and shading)

Local Illumination. CMPT 361 Introduction to Computer Graphics Torsten Möller. Machiraju/Zhang/Möller

1.6 Rough Surface Scattering Applications Computer Graphic Shading and Rendering

Announcements. Image Formation: Light and Shading. Photometric image formation. Geometric image formation

Today. Global illumination. Shading. Interactive applications. Rendering pipeline. Computergrafik. Shading Introduction Local shading models

LIGHTING AND SHADING

Sources, shadows and shading

Rendering: Reality. Eye acts as pinhole camera. Photons from light hit objects

Illumination & Shading: Part 1

Radiance. Radiance properties. Radiance properties. Computer Graphics (Fall 2008)

Global Illumination. COMP 575/770 Spring 2013

Starting this chapter

Overview. Radiometry and Photometry. Foundations of Computer Graphics (Spring 2012)

And if that 120MP Camera was cool

Shading. Reading. Pinhole camera. Basic 3D graphics. Brian Curless CSE 557 Fall Required: Shirley, Chapter 10

CS5670: Computer Vision

Photoshop PSD Export. Basic Tab. Click here to expand Table of Contents... Basic Tab Additional Shading Tab Material Tab Motion Tab Geometry Tab

Illumination. Courtesy of Adam Finkelstein, Princeton University

CS452/552; EE465/505. Intro to Lighting

Why we need shading?

Problem Set 4 Part 1 CMSC 427 Distributed: Thursday, November 1, 2007 Due: Tuesday, November 20, 2007

Color and Light CSCI 4229/5229 Computer Graphics Fall 2016

Lights and Lighting. Lecture overview. Light 2/3/2013. Digital Lighting and Rendering CGT 340

Reading. Shading. An abundance of photons. Introduction. Required: Angel , 6.5, Optional: Angel 6.4 OpenGL red book, chapter 5.

Lighting affects appearance

Shading. Why we need shading. Scattering. Shading. Objectives

Color and Light. CSCI 4229/5229 Computer Graphics Summer 2008

Computer Graphics Tick 1

CS 5625 Lec 2: Shading Models

Illumination Models and Shading

Epipolar geometry contd.

Lighting and Reflectance COS 426

dq dt I = Irradiance or Light Intensity is Flux Φ per area A (W/m 2 ) Φ =

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

Recollection. Models Pixels. Model transformation Viewport transformation Clipping Rasterization Texturing + Lights & shadows

Shading. Brian Curless CSE 457 Spring 2017

Computer Graphics. Illumination Models and Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Raytracing. COSC 4328/5327 Scott A. King

Topics and things to know about them:

Introduction. Chapter Computer Graphics

RAYTRACING. Christopher Peters INTRODUCTION TO COMPUTER GRAPHICS AND INTERACTION. HPCViz, KTH Royal Institute of Technology, Sweden

Ambien Occlusion. Lighting: Ambient Light Sources. Lighting: Ambient Light Sources. Summary

CMSC427 Shading Intro. Credit: slides from Dr. Zwicker

COMPUTER GRAPHICS AND INTERACTION

Photometric Stereo.

Radiometry and reflectance

CSE 167: Lecture #7: Color and Shading. Jürgen P. Schulze, Ph.D. University of California, San Diego Fall Quarter 2011

Chapter 10. Surface-Rendering Methods. Somsak Walairacht, Computer Engineering, KMITL

Radiometry. Reflectance & Lighting. Solid Angle. Radiance. Radiance Power is energy per unit time

CS6670: Computer Vision

Transcription:

The Lecture Contains: Diffuse and Specular Reflection file:///d /...0(Ganesh%20Rana)/MY%20COURSE_Ganesh%20Rana/Prof.%20Sumana%20Gupta/FINAL%20DVSP/lecture%2028/28_1.htm[12/30/2015 4:22:29 PM]

Diffuse and Specular Reflection As we see only objects that reflect light, their perceived color depend on the range of wavelengths reflected. In general, the reflection can be decomposed into two components: the diffuse reflection, which has equal energy distribution in all directions, and the specular reflection which is strongest in the mirror direction of the incident light. Surfaces that exhibit only diffuse reflection are known as Lambertian surfaces, more commonly described as dull or matte. Wood surfaces and cement walls belong to this category. Due to diffuse reflection, we can perceive the color of an object. Specular reflection can be observed with shiny surfaces and mirrors. Specular reflection does not show the color of the object but the color of the incident light is observed; therefore, we cannot actually perceive the color of an object with a surface that shows only specular reflections. Except for mirrors, surfaces usually have diffuse as well as specular reflections. Only the diffuse reflection determines the color of the object surface. file:///d /...0(Ganesh%20Rana)/MY%20COURSE_Ganesh%20Rana/Prof.%20Sumana%20Gupta/FINAL%20DVSP/lecture%2028/28_2.htm[12/30/2015 4:22:29 PM]

Radiance Distribution under changes in Illumination and Reflection Conditions: In video processing, the illumination model is primarily used to describe the temporal changes in the video sequence caused by the changing illumination of the real world. The illumination of a background may change because of an object that moves together with its cast shadow. Since the object surface reflects light, this reflecting source changes the overall illumination of the scene. When discussing the interaction of a light source with an object surface, there are three types of energy involved: (a) Incident flux, (b) incident irradiance, and (c) reflected radiance The incident flux refers to the rate at which energy is emitted from the light source. It is measured in watts (W). The incident irradiance is the incident flux per unit surface area on the object, with a unit of W/m 2. (Note that the irradiance at an object point depends on the angle between the incident light and the surface normal at that point.) Finally, reflected radiance measures the light energy reflected from an object surface. The distribution of the reflected radiance C depends on the distribution of incident irradiance E and the object surface reflection function r' at that point. The most general relation can be described by, file:///d /...0(Ganesh%20Rana)/MY%20COURSE_Ganesh%20Rana/Prof.%20Sumana%20Gupta/FINAL%20DVSP/lecture%2028/28_3.htm[12/30/2015 4:22:30 PM]

(5.1) where X is the location on the object surface, N is the surface normal vector at the location X, L is the illumination direction, V is the viewing direction connecting X to the focal point of the camera, and is the wavelength of light.obviously, L,V, and N are functions of X and t. The reflectance function r is defined as the ratio between the reflected light intensity (i.e. the flux) and the incident light intensity. This scalar function r is also known as the diffuse-reflection coefficient, or reflection coefficient. The reflectance function depends on the wavelength of the incident light, the surface geometry, and material properties. When the object is moving, the reflection coefficient changes in time at the same location. Note that is defined only for those X that belong to a surface at time t. We introduce several simplifying assumptions in order to learn more about the reflected radiance (Equation 5.1). We start by assuming opaque object surfaces and temporally invariant illumination (as well as viewing) direction. In this case, Equation (5.1) simplifies to (5.2) Note that although the illumination and viewing directions (V and L) are fixed, the incidence irradiance is still time varying because the object is moving. Consider the case of an ambient source. We know that am ambient source radiates the same amount of energy in every direction at any point; hence it illuminates objects without casting shadows. When the incident light is such an ambient source and the object surface is diffuse reflecting, the reflected radiance intensity distribution is (5.3) file:///d /...0(Ganesh%20Rana)/MY%20COURSE_Ganesh%20Rana/Prof.%20Sumana%20Gupta/FINAL%20DVSP/lecture%2028/28_4.htm[12/30/2015 4:22:30 PM]

Where represents the intensity of the ambient light at time t. Since the light source is ambient, does not depend on the surface location X or surface normal N. Since the surface is diffuse reflecting, the reflectance function r does not depend on the surface normal N. This ambient light source model is a local illumination model. This is so because we can no longer model global effects like shadows. In rooms, the illuminated white walls can often be modeled as ambient light sources. At outdoors, the sun, when covered by clouds, provides ambient illumination. We now consider the case of the reflected radiance due to a point source. We assume the light source is far away from the scene, such that the position of an object has no influence on the incident light. With a local illumination model and a diffuse-reflecting surface, the reflected radiance at any point X on object surface depends on the angle between the incident light direction L and the surface normal N at that point, denoted by. Obviously, holds. file:///d /...0(Ganesh%20Rana)/MY%20COURSE_Ganesh%20Rana/Prof.%20Sumana%20Gupta/FINAL%20DVSP/lecture%2028/28_5.htm[12/30/2015 4:22:30 PM]

Let represent the maximum irradiance from the light source. In other words, it is the irradiance intensity when the light is perpendicular to the surface. Then the irradiance with the light at an arbitrary angle is. Starting with Equation (5.2), the reflected radiance intensity at X simplifies to (5.4) The max operator is Equation (5.4) prevents negative reflected intensities from those parts of the object that do not receive light from the point light source. Typical point light sources are spotlights and the sun. When both ambient and point light sources are present, the total reflected radiance at any point is the superposition of the reflected radiance from each light source according to Equations (5.3) and (5.4). If a point light source is far away from the object surface, we can approximate the incident light as a parallel light. This approximation is valid for daylight and sometimes even at indoors. In this case, the maximum incident light irradiance E P is no longer dependent on the surface point X, but on the surface normal N. Assuming that the scene is illuminated by one stationary, distant point light source and an ambient light, both invariant in time and space, the description of the incident irradiance simplifies to: (5.5) This is referred to as the shading model used in early computer graphics. Assuming that the object has a homogeneous surface, that is, the corresponding reflected radiance becomes (5.6) file:///d /...0(Ganesh%20Rana)/MY%20COURSE_Ganesh%20Rana/Prof.%20Sumana%20Gupta/FINAL%20DVSP/lecture%2028/28_6.htm[12/30/2015 4:22:30 PM]