Lecture 24: More on Reflectance CAP 5415

Similar documents
Recovering Intrinsic Images from a Single Image

Computational Photography and Video: Intrinsic Images. Prof. Marc Pollefeys Dr. Gabriel Brostow

Other approaches to obtaining 3D structure

Lecture 22: Basic Image Formation CAP 5415

Learning Continuous Models for Estimating Intrinsic Component Images. Marshall Friend Tappen

Understanding Variability

Colour Reading: Chapter 6. Black body radiators

Radiance. Pixels measure radiance. This pixel Measures radiance along this ray

CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein. Lecture 23: Photometric Stereo

Intrinsic Image Decomposition with Non-Local Texture Cues

Photometric Stereo. Lighting and Photometric Stereo. Computer Vision I. Last lecture in a nutshell BRDF. CSE252A Lecture 7

Introduction to Computer Vision. Week 8, Fall 2010 Instructor: Prof. Ko Nishino

Statistical image models

CS6670: Computer Vision

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

Feature Tracking and Optical Flow

CS5670: Computer Vision

A Survey of Light Source Detection Methods

General Principles of 3D Image Analysis

Photometric Stereo.

Epipolar geometry contd.

Shadow Removal from a Single Image

Announcements. Photometric Stereo. Shading reveals 3-D surface geometry. Photometric Stereo Rigs: One viewpoint, changing lighting

Using a Raster Display Device for Photometric Stereo

Public Library, Stereoscopic Looking Room, Chicago, by Phillips, 1923

Other Reconstruction Techniques

Estimating Intrinsic Images from Image Sequences with Biased Illumination

Ground truth dataset and baseline evaluations for intrinsic image algorithms

Feature Tracking and Optical Flow

Physics-based Vision: an Introduction

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

Lecture 15: Shading-I. CITS3003 Graphics & Animation

Estimation of Multiple Illuminants from a Single Image of Arbitrary Known Geometry*

Color Alignment in Texture Mapping of Images under Point Light Source and General Lighting Condition

Property of: Entrada Interactive. PBR Workflow. Working within a PBR-based environment

Interreflection Removal for Photometric Stereo by Using Spectrum-dependent Albedo

Reconstruction of Discrete Surfaces from Shading Images by Propagation of Geometric Features

Deriving intrinsic images from image sequences

What is Computer Vision? Introduction. We all make mistakes. Why is this hard? What was happening. What do you see? Intro Computer Vision

Lambertian model of reflectance I: shape from shading and photometric stereo. Ronen Basri Weizmann Institute of Science

Geometric and Photometric Restoration of Distorted Documents

Estimating Intrinsic Component Images using Non-Linear Regression

Image Processing 1 (IP1) Bildverarbeitung 1

CAP 5415 Computer Vision. Fall 2011

Homework 4 Computer Vision CS 4731, Fall 2011 Due Date: Nov. 15, 2011 Total Points: 40

Last update: May 4, Vision. CMSC 421: Chapter 24. CMSC 421: Chapter 24 1

High Quality Shape from a Single RGB-D Image under Uncalibrated Natural Illumination

Lecture 16: Computer Vision

Lecture 16: Computer Vision

CS4670/5760: Computer Vision

Illumination Decomposition for Material Editing with Consistent Interreflections

Optical flow and tracking

Classification and Detection in Images. D.A. Forsyth

Capturing light. Source: A. Efros

Multiple View Geometry

Introduction to Digital Modelling and Animation in Design week 4 Textures

Color and Shading. Color. Shapiro and Stockman, Chapter 6. Color and Machine Vision. Color and Perception

Photometric Stereo, Shape from Shading SfS Chapter Szelisky

Starting this chapter

Fundamentals of Stereo Vision Michael Bleyer LVA Stereo Vision

Practical Image and Video Processing Using MATLAB

Stereo Matching.

(Refer Slide Time 00:17) Welcome to the course on Digital Image Processing. (Refer Slide Time 00:22)

Chapter 7. Conclusions and Future Work

And if that 120MP Camera was cool

Introduction to Radiosity

Light source estimation using feature points from specular highlights and cast shadows

Photometric Stereo. Photometric Stereo. Shading reveals 3-D surface geometry BRDF. HW3 is assigned. An example of photometric stereo

Combining Cues: Shape from Shading and Texture

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

Learning local evidence for shading and reflectance

Why is computer vision difficult?

Lighting. Figure 10.1

COMP 558 lecture 16 Nov. 8, 2010

Time-to-Contact from Image Intensity

Shading and Recognition OR The first Mrs Rochester. D.A. Forsyth, UIUC

CHAPTER 9. Classification Scheme Using Modified Photometric. Stereo and 2D Spectra Comparison

Sources, shadows and shading

Contents I IMAGE FORMATION 1

EECS 442 Computer vision. Announcements

Announcement. Photometric Stereo. Computer Vision I. Shading reveals 3-D surface geometry. Shape-from-X. CSE252A Lecture 8

Shadow detection and removal from a single image

Shadow Detection and Removal in Real Images: A Survey

CS 4495 Computer Vision Motion and Optic Flow

INTRINSIC IMAGE DECOMPOSITION BY HIERARCHICAL L 0 SPARSITY

Why study Computer Vision?

CS6670: Computer Vision

Video Mosaics for Virtual Environments, R. Szeliski. Review by: Christopher Rasmussen

Final Exam Study Guide

Depth. Common Classification Tasks. Example: AlexNet. Another Example: Inception. Another Example: Inception. Depth

A New Image Based Ligthing Method: Practical Shadow-Based Light Reconstruction

then assume that we are given the image of one of these textures captured by a camera at a different (longer) distance and with unknown direction of i

Ligh%ng and Reflectance

CS1114 Assignment 5, Part 1

Compact and Low Cost System for the Measurement of Accurate 3D Shape and Normal

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

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

Finally: Motion and tracking. Motion 4/20/2011. CS 376 Lecture 24 Motion 1. Video. Uses of motion. Motion parallax. Motion field

Robust Tracking and Stereo Matching under Variable Illumination

Computational Perception /785

Transcription:

Lecture 24: More on Reflectance CAP 5415

Recovering Shape We ve talked about photometric stereo, where we assumed that a surface was diffuse Could calculate surface normals and albedo What if the surface isn t diffuse?

Basic Idea Assume illumination is distant Illumination only depends on orientation of the point on the surface A sphere can tell us the illumination at every surface normal (Image from Ron Dror)

Basic Idea How can I tell the orientation of every point on the bottle?

Results from the bottle

Key Advantage Can work with materials that are difficult to model mathematically

Estimating Reflectance This method works well When a probe is available If a probe is not available, then we have to use the reflectance of the object How can we recover the reflectance?

One option: Use the statistics of the real world Every image is a picture of the illumination of the real world Like images, the histograms of illuminations have a regular appearance (From Dror and Adelson)

Basic method looks at the response of steerable-pyramid responses In some sense, associates different materials with different textures%

Works surprisingly well

94% Accuracy on these materials Similar to human performance Classified based on a number of histogram measurements (percentile values, moments, etc.)

Limitations Works on objects of known geometry What if we have an arbitrary scene? How can we solve the problem then? Make a simplifying assumption: Surfaces are Lambertian Now we only need to recover the albedo

View the image as shading and albedo This is shading These stripes are reflectance changes

Take this image Goal: Find the albedo Observation Shading Information Albedo Information By splitting it into two images that represent the shading and albedo of the scene

Why? The effects of these characteristics are combined together in the image To understand this image, we need to be able to separate the effects of these characteristics

Other reasons Ability to reason about shading and reflectance independently is necessary for most image understanding tasks. Material recognition Image segmentation Want to understand how humans might do the task. An engineering application: for image editing, want access and modify the intrinsic images separately Intrinsic images are a convenient representation. More informative than just the image Less complex than fully reconstructing the scene

Your visual system is trying to solve a similar problem (From Edward Adelson) The squares marked A and B have the same intensity

What is shading? Shading is the interaction of the shape of the surface and the illumination Shading image should look like gray plaster

Albedo Albedo Fraction of light reflected at a point Albedo image represents the albedo at every point on the surface Points inside the squares should reflect less light

An image is formed as x Shading Reflec Image Albedo Image Observed Image

Our goal is to invert the process Observed Image Shading Image Albedo Image Using images to represent characteristics that are intrinsic to the scene s appearance Known as intrinsic image representation [Barrow and Tenenbaum 1978]

Estimating Shading and Albedo Images

First, Simplified Model of the World Observation Albedo Image Shading Image Albedo image Patches of constant albedo Called Mondrian Images (Land and McCann) Shading image Smooth

Given this observation, what s the albedo image? Observation

Estimation in 1-D It s easy to see how to estimate the albedo in 1-D Image Intensity Column in the image We ll work in the log domain, so the problem is additive

Now compute the derivative The locations of the changes in the albedo image are obvious Log Image Intensity Log Image Intensity Column in the image Column in the image

Eliminate the derivatives caused by shading changes Set everything but these derivatives to 0, then re-integrate Log Image Intensity Log Image Intensity Column in the image Column in the image Known as the Retinex Algorithm [Land and McCann] Estimate of the log albedo image

Basic Strategy for Estimating Images Pseudo-Inverse Classify Every Derivative as Shading or Albedo Change Estimate of the horizontal derivative Observation Estimate of the Albedo Image Estimate of the vertical derivative Similar to Horn s Implementation

Where Retinex Breaks Down Unfortunately, this assumption is often broken in the real-world

Retinex Most other work on this problem still uses the same basic assumption (Kimmel 03) Researchers have also tried augmenting the input Use multiple images, like time-lapse [Weiss 2001, Matsushita 2003] Color (Funt et al.) Extra information may not be available Estimating shading and albedo from a single, gray-scale image is a good test our ability to model images and surfaces

Beyond Mondrians Can go beyond the simple world of Mondrian images in two ways: Learn better models of local image statistics Look at an image patch rather than just a single derivative value Propagate information across the image

Why Propagate? One of these patches is an albedo change and the other is shading

Recovering Intrinsic Images Classify each x and y image derivative as being caused by either shading or a reflectance change Recover the intrinsic images by finding the leastsquares reconstruction from each set of labeled derivatives. (Fast Matlab code for that available from Yair Weiss s web page.) Original x derivative image Classify each derivative (White is reflectance)

Outline of our algorithm Gather local evidence for shading or reflectance Color (chromaticity changes) Form (local image patterns) Integrate the local evidence across space. Assume a probabilistic model and use belief propagation. Show results on example images

Probabilistic graphical model Unknown Derivative Labels (hidden random variables that we want to estimate)

Probabilistic graphical model Local evidence Local Color Evidence Derivative Labels Some statistical relationship that we ll specify

Probabilistic graphical model Local evidence Local Form Evidence Local Color Evidence Derivative Labels

Probabilistic graphical model Propagate the local evidence in Markov Random Field. This strategy can be used to solve other low-level vision problems. Local Evidence Hidden state to be estimated Influence of Neighbor

Local Color Evidence For a Lambertian surface, and simple illumination conditions, shading only affects the intensity of the color of a surface Notice that the chromaticity of each face is the same Any change in chromaticity must be a reflectance change

Classifying Color Changes Chromaticity Changes Angle between the two vectors, _, is greater than 0 Intensity Changes Angle between two vectors, _, equals 0 Red Red _ Blue Blue Green Green

Color Classification Algorithm 1. Normalize the two color vectors c 1 and c 2 c 1 c 2 2. If (c 1 c 2 ) < T Derivative is a reflectance change Otherwise, label derivative as shading

Result using only color information

Results Using Only Color Input Shading Reflectance Some changes are ambiguous Intensity changes could be caused by shading or reflectance So we label it as ambiguous Need more information

Utilizing local intensity patterns The painted eye and the ripples of the fabric have very different appearances Can learn classifiers which take advantage of these differences