Shadow Removal Using Illumination Invariant Image Graham D. Finlayson, Steven D. Hordley, Mark S. Drew Presented by: Eli Arbel.

Slides:



Advertisements
Similar presentations
Land’s Retinex algorithm
Advertisements

Intrinsic Images by Entropy Minimization (Midway Presentation, by Yingda Chen) Graham D. Finlayson, Mark S. Drew and Cheng Lu, ECCV, Prague, 2004.
Scene illumination and surface albedo recovery via L1-norm total variation minimization Hong-Ming Chen Advised by: John Wright.
Evaluating Color Descriptors for Object and Scene Recognition Koen E.A. van de Sande, Student Member, IEEE, Theo Gevers, Member, IEEE, and Cees G.M. Snoek,
A Standardized Workflow for Illumination-Invariant Image Extraction Mark S. Drew Muntaseer Salahuddin Alireza Fathi Simon Fraser University, Vancouver,
Eyes for Relighting Extracting environment maps for use in integrating and relighting scenes (Noshino and Nayar)
1 Practical Scene Illuminant Estimation via Flash/No-Flash Pairs Cheng Lu and Mark S. Drew Simon Fraser University {clu,
ECCV 2002 Removing Shadows From Images G. D. Finlayson 1, S.D. Hordley 1 & M.S. Drew 2 1 School of Information Systems, University of East Anglia, UK 2.
ICCV 2003 Colour Workshop 1 Recovery of Chromaticity Image Free from Shadows via Illumination Invariance Mark S. Drew 1, Graham D. Finlayson 2, & Steven.
1 Invariant Image Improvement by sRGB Colour Space Sharpening 1 Graham D. Finlayson, 2 Mark S. Drew, and 2 Cheng Lu 1 School of Information Systems, University.
1 Automatic Compensation for Camera Settings for Images Taken under Different Illuminants Cheng Lu and Mark S. Drew Simon Fraser University {clu,
1 A Markov Random Field Framework for Finding Shadows in a Single Colour Image Cheng Lu and Mark S. Drew School of Computing Science, Simon Fraser University,
School of Computer Science Simon Fraser University November 2009 Sharpening from Shadows: Sensor Transforms for Removing Shadows using a Single Image Mark.
A new approach for modeling and rendering existing architectural scenes from a sparse set of still photographs Combines both geometry-based and image.
Shadow removal algorithms Shadow removal seminar Pavel Knur.
Recovering Intrinsic Images from a Single Image 28/12/05 Dagan Aviv Shadows Removal Seminar.
Color Image Understanding Sharon Alpert & Denis Simakov.
Robust Object Segmentation Using Adaptive Thresholding Xiaxi Huang and Nikolaos V. Boulgouris International Conference on Image Processing 2007.
Computer Vision Introduction to Image formats, reading and writing images, and image environments Image filtering.
Mark S. Drew and Amin Yazdani Salekdeh School of Computing Science,
6/23/2015CIC 10, Color constancy at a pixel [Finlayson et al. CIC8, 2000] Idea: plot log(R/G) vs. log(B/G): 14 daylights 24 patches.
Deriving Intrinsic Images from Image Sequences Mohit Gupta Yair Weiss.
Shadow Removal Seminar
Introduction of the intrinsic image. Intrinsic Images The method of Finlayson & Hordley ( 2001 ) Two assumptions 1. the camera ’ s sensors are sufficiently.
Shadow Detection In Video Submitted by: Hisham Abu saleh.
November 29, 2004AI: Chapter 24: Perception1 Artificial Intelligence Chapter 24: Perception Michael Scherger Department of Computer Science Kent State.
Light, Color and Imaging. Light The Electromagnetic Spectrum: E = h.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Lecture 1: Images and image filtering CS4670/5670: Intro to Computer Vision Kavita Bala Hybrid Images, Oliva et al.,
Automatic Compensation for Camera Settings for Images Taken under Different Illuminants School of Electrical Engineering and Computer Science Kyungpook.
Tricolor Attenuation Model for Shadow Detection. INTRODUCTION Shadows may cause some undesirable problems in many computer vision and image analysis tasks,
Analysis of Lighting Effects Outline: The problem Lighting models Shape from shading Photometric stereo Harmonic analysis of lighting.
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
November 2012 The Role of Bright Pixels in Illumination Estimation Hamid Reza Vaezi Joze Mark S. Drew Graham D. Finlayson Petra Aurora Troncoso Rey School.
Discrete Images (Chapter 7) Fourier Transform on discrete and bounded domains. Given an image: 1.Zero boundary condition 2.Periodic boundary condition.
CS-424 Gregory Dudek Today’s Lecture Computational Vision –Images –Image formation in brief (+reading) –Image processing: filtering Linear filters Non-linear.
University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction to computer vision Chapter 2: Image.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
Phase Congruency Detects Corners and Edges Peter Kovesi School of Computer Science & Software Engineering The University of Western Australia.
Chapter 10, Part I.  Segmentation subdivides an image into its constituent regions or objects.  Image segmentation methods are generally based on two.
Introduction to Radiosity Geometry Group Discussion Session Jiajian (John) Chen 9/10/2007.
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
How digital cameras work The Exposure The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Color and Brightness Constancy Jim Rehg CS 4495/7495 Computer Vision Lecture 25 & 26 Wed Oct 18, 2002.
Multiple Light Source Optical Flow Multiple Light Source Optical Flow Robert J. Woodham ICCV’90.
Local Illumination and Shading
Lecture 9 Feature Extraction and Motion Estimation Slides by: Michael Black Clark F. Olson Jean Ponce.
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.
CSSE463: Image Recognition Day 29 This week This week Today: Surveillance and finding motion vectors Today: Surveillance and finding motion vectors Tomorrow:
Lighting affects appearance. Lightness Digression from boundary detection Vision is about recovery of properties of scenes: lightness is about recovering.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Thresholding Foundation:. Thresholding In A: light objects in dark background To extract the objects: –Select a T that separates the objects from the.
Edge Segmentation in Computer Images CSE350/ Sep 03.
Digital Image Processing CSC331
ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System.
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.
Electromagnetic Radiation (EMR)
- photometric aspects of image formation gray level images
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Rogerio Feris 1, Ramesh Raskar 2, Matthew Turk 1
Review: Linear Systems
Shadow Detection and Removal
Capturing Light… in man and machine
9th Lecture - Image Filters
Human Perception 9: Color.
Chapter 10 – Image Segmentation
Lecture 2: Image filtering
Presentation transcript:

Shadow Removal Using Illumination Invariant Image Graham D. Finlayson, Steven D. Hordley, Mark S. Drew Presented by: Eli Arbel

Shadow Removal Seminar 2 Outline Introduction Removing Shadows Reconstruction Illumination Invariant Images Summary

Shadow Removal Seminar 3 Introduction Why shadow removal ? – Computer Vision – Image Enhancement – Illumination Re-rendering

Shadow Removal Seminar 4 Introduction, cont ’ d

Shadow Removal Seminar 5 Introduction, cont ’ d What is shadow ? Region lit by sunlight and skylight Region lit by skylight only A shadow is a local change in illumination intensity and (often) illumination color.

Shadow Removal Seminar 6 Introduction, cont ’ d Assumptions for shadow removal: – Only Hard shadows can be removed – No overlapping of object and shadow boundaries – Planckian light source – Narrow band sensors of the capturing device

Shadow Removal Seminar 7 Outline Introduction Removing Shadows Reconstruction Illumination Invariant Images Summary

Shadow Removal Seminar 8 Method For Removing Shadows An RGB image is input Shadow identification is based on edge detection

Shadow Removal Seminar 9 Discriminating Edges Can we factor out illumination changes (intensity and color) ? More on that later … Yes, under some assumptions …

Shadow Removal Seminar 10 Discriminating Edges, cont ’ d Input Image RGB Channels Edge Maps Illumination Invariant Image Illumination Invariant Image Edge Map

Shadow Removal Seminar 11 Discriminating Edges - Formally Let us denote one of the three channel edge maps as  (x,y) And denote the invariant image edge map as  gs(x,y) we apply a Thresholding operator on each of the channel edge maps as follows: Where ||  (x,y)|| and ||  gs(x,y)|| are the gradient magnitudes of channel edge map and illumination invariant edge map respectively

Shadow Removal Seminar 12 Discriminating Edges, cont ’ d Input Image RGB Channels Edge Maps Illumination Invariant Image Illumination Invariant Image Edge Map Thresholded edge maps

Shadow Removal Seminar 13 Outline Introduction Removing Shadows Reconstruction Illumination Invariant Images Summary

Shadow Removal Seminar 14 Reconstructing the Image For each channel, we now have an edge map in which shadow edges are removed: T – Thresholding operator – Derivative operator in x direction – Derivative operator in y direction

Shadow Removal Seminar 15 Re-integrating Edge Information We would like to integrate So first, we calculate the Laplacian out of the gradient:

Shadow Removal Seminar 16 Re-integrating Edge Information – cont ’ d Now we solve by applying the Inverse Laplacian: This is a private case of the Wiess reconstruction process where we have only two filters, and.

Shadow Removal Seminar 17 More on Reconstruction The re-integration step recover uniquely up to a multiplicative (additive) constant – DC. A heuristic approach is used to find this constant. For each shadow-free channel image: Consider the top 1-percentile pixels Compute their average Map this value to white

Shadow Removal Seminar 18 Some results

Shadow Removal Seminar 19 Some results – cont ’ d

Shadow Removal Seminar 20 Some results – cont ’ d

Shadow Removal Seminar 21 Some results – cont ’ d

Shadow Removal Seminar 22 Outline Introduction Removing Shadows Reconstruction Illumination Invariant Images Summary

Shadow Removal Seminar 23 Illumination Invariant Image – Theoretical Analysis Sensor response at any pixel can be formulated as: R= Reflectance L = Illumination S = Sensor Sensitivity

Shadow Removal Seminar 24 Assumption 1: Capturing Device Sensors Sensor response is narrow band, i.e. a Dirac Function:

Shadow Removal Seminar 25 Assumption 1: Capturing Device Sensors – cont ’ d

Shadow Removal Seminar 26 Assumption 2: Planckian Light Source Scene illumination is assumed to be Planckian, i.e. it falls very near to the Planckian locus:

Shadow Removal Seminar 27 Assumption 2: Planckian Light Source – cont ’ d Planck's law of black body radiation: The spectral intensity of electromagnetic radiation from a black body at temperature T as a function of wavelength:

Shadow Removal Seminar 28 Assumption 2: Planckian Light Source – cont ’ d Planck ’ s Law is a good approximation for incandescent and daylight illuminants 2500k 5500k CIE D55

Shadow Removal Seminar 29 Assumption 2: Planckian Light Source – cont ’ d To model varying illumination power, we add an intensity constant I: In addition, it can be shown that, thus:

Shadow Removal Seminar 30 Assumption 2: Planckian Light Source – cont ’ d

Shadow Removal Seminar 31 Towards Color Constancy at a Pixel Depends on illuminant intensity Depends on Surface reflectance Depends on Illuminant color

Shadow Removal Seminar 32 Towards Color Constancy at a Pixel – cont ’ d Simplifying notations:

Shadow Removal Seminar 33 Towards Color Constancy at a Pixel – Dropping the Intensity term

Shadow Removal Seminar 34 Color Constancy at a Pixel The relations: Can be written in matrix notation:

Shadow Removal Seminar 35 Color Constancy at a Pixel – cont ’ d - Camera sensor response Reminder: We just solved the one-dimensional color constancy problem at a pixel !

Shadow Removal Seminar 36 Color Constancy at a Pixel Examples Log-Chromaticity Differences for seven surfaces under 10 Planckian illuminants

Shadow Removal Seminar 37 Color Constancy at a Pixel Examples – cont ’ d Log-Chromaticity Differences for the Macbeth Color Checker with HP912 Digital Still Camera

Shadow Removal Seminar 38 Color Constancy at a Pixel Examples – cont ’ d Log-Chromaticity Differences for the Macbeth Color Checker with Nikon D-100

Shadow Removal Seminar 39 Illumination Invariant Images - Examples

Shadow Removal Seminar 40 Outline Introduction Removing Shadows Reconstruction Illumination Invariant Images Summary

Shadow Removal Seminar 41 Summary A method for shadow removal in single image using 1-D illumination invariant image presented Shadow-free edge-maps are re-integrated using Wiess reconstruction method 1-D Illumination invariant image is obtained relying on physical properties of lightness and camera sensors

Shadow Removal Seminar 42 References G. D. Finlayson, S.D. Hordley and M.S. Drew. Removing Shadows From Images G. D. Finlayson, S. D. Hordley and M. S. Drew. Removing shadows from images. Presentation for ECCV02, Grahm. D. Finlayson, Steven. D. Hordley. Color Constancy at a Pixel. Model-Based Object Tracking in Road Traffic Scenes, Dieter Koller ואבישי אדלר אורי בריט. הסרת צל מסדרת תמונות ומתמונה בודדת