School of Computer Science Simon Fraser University November 2009 Sharpening from Shadows: Sensor Transforms for Removing Shadows using a Single Image Mark.

Slides:



Advertisements
Similar presentations
A Common Framework for Ambient Illumination in the Dichromatic Reflectance Model Color and Reflectance in Imaging and Computer Vision Workshop 2009 October.
Advertisements

What do color changes reveal about an outdoor scene? Kalyan Sunkavalli Fabiano Romeiro Wojciech Matusik Todd Zickler Hanspeter Pfister Harvard University.
Colour From Grey by Optimized Colour Ordering Arash VahdatMark S. Drew School of Computing Science Simon Fraser University.
C280, Computer Vision Prof. Trevor Darrell Lecture 2: Image Formation.
Intrinsic Images by Entropy Minimization (Midway Presentation, by Yingda Chen) Graham D. Finlayson, Mark S. Drew and Cheng Lu, ECCV, Prague, 2004.
Multispectral Format from Perspective of Remote Sensing
Scene illumination and surface albedo recovery via L1-norm total variation minimization Hong-Ming Chen Advised by: John Wright.
Illumination Estimation via Thin Plate Spline Weihua Xiong ( OmniVision Technology,USA ) Lilong Shi, Brian Funt ( Simon Fraser University, Canada) ( Simon.
Color Imaging Analysis of Spatio-chromatic Decorrelation for Colour Image Reconstruction Mark S. Drew and Steven Bergner
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,
3D Morphing using Multiplanar Representation
A Standardized Workflow for Illumination-Invariant Image Extraction Mark S. Drew Muntaseer Salahuddin Alireza Fathi Simon Fraser University, Vancouver,
Color Image Understanding Sharon Alpert & Denis Simakov.
Lilong Shi and Brian Funt School of Computing Science, Simon Fraser University, Canada.
Color spaces CIE - RGB space. HSV - space. CIE - XYZ space.
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, Surface and Feature in Color Images Lilong Shi Postdoc at Caltech Computational Vision Lab, Simon Fraser University.
Physics-based Illuminant Color Estimation as an Image Semantics Clue Christian Riess Elli Angelopoulou Pattern Recognition Lab (Computer Science 5) University.
1 Practical Scene Illuminant Estimation via Flash/No-Flash Pairs Cheng Lu and Mark S. Drew Simon Fraser University {clu,
BMVC 2009 Specularity and Shadow Interpolation via Robust Polynomial Texture Maps Mark S. Drew 1, Nasim Hajari 1, Yacov Hel-Or 2 & Tom Malzbender 3 1 School.
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,
Lecture 23: Photometric Stereo CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein.
Sensor Transforms to Improve Metamerism-Based Watermarking Mark S. Drew School of Computing Science Simon Fraser University Raja Bala Xerox.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2005 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
Color Image Understanding Sharon Alpert & Denis Simakov.
Illumination Estimation via Non- Negative Matrix Factorization By Lilong Shi, Brian Funt, Weihua Xiong, ( Simon Fraser University, Canada) Sung-Su Kim,
Visibility Subspaces: Uncalibrated Photometric Stereo with Shadows Kalyan Sunkavalli, Harvard University Joint work with Todd Zickler and Hanspeter Pfister.
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.
3D from multiple views : Rendering and Image Processing Alexei Efros …with a lot of slides stolen from Steve Seitz and Jianbo Shi.
Shadow Removal Using Illumination Invariant Image Graham D. Finlayson, Steven D. Hordley, Mark S. Drew Presented by: Eli Arbel.
A Theory of Locally Low Dimensional Light Transport Dhruv Mahajan (Columbia University) Ira Kemelmacher-Shlizerman (Weizmann Institute) Ravi Ramamoorthi.
Multiple View Geometry Marc Pollefeys University of North Carolina at Chapel Hill Modified by Philippos Mordohai.
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.
Colour Image Compression by Grey to Colour Conversion Mark S. Drew 1, Graham D. Finlayson 2, and Abhilash Jindal 3 1 Simon Fraser University 2 University.
Multiple View Geometry : Computational Photography Alexei Efros, CMU, Fall 2006 © Martin Quinn …with a lot of slides stolen from Steve Seitz and.
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.
Summer School on Image Processing 2009, Debrecen, Hungary Colour image processing for SHADOW REMOVAL Alina Elena Oprea, University Politehnica of Bucharest.
Tricolor Attenuation Model for Shadow Detection. INTRODUCTION Shadows may cause some undesirable problems in many computer vision and image analysis tasks,
Mutual Information-based Stereo Matching Combined with SIFT Descriptor in Log-chromaticity Color Space Yong Seok Heo, Kyoung Mu Lee, and Sang Uk Lee.
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.
The Quotient Image: Class-based Recognition and Synthesis Under Varying Illumination T. Riklin-Raviv and A. Shashua Institute of Computer Science Hebrew.
Lec 22: Stereo CS4670 / 5670: Computer Vision Kavita Bala.
Computer Vision Lecture #10 Hossam Abdelmunim 1 & Aly A. Farag 2 1 Computer & Systems Engineering Department, Ain Shams University, Cairo, Egypt 2 Electerical.
Interreflections : The Inverse Problem Lecture #12 Thanks to Shree Nayar, Seitz et al, Levoy et al, David Kriegman.
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Visual Computing Computer Vision 2 INFO410 & INFO350 S2 2015
A Recognition Method of Restricted Hand Shapes in Still Image and Moving Image Hand Shapes in Still Image and Moving Image as a Man-Machine Interface Speaker.
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.
Project 2 due today Project 3 out today Announcements TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AAAAA.
Colorization is a user-assisted color manipulation mechanism for changing grayscale images into colored ones. Surprisingly, only a fairly sparse set of.
A Hybrid Strategy For Illuminant Estimation Targeting Hard Images Roshanak Zakizadeh 1 Michael Brown 2 Graham Finlayson 1 1 University of East Anglia 2.
Shadow Detection in Remotely Sensed Images Based on Self-Adaptive Feature Selection Jiahang Liu, Tao Fang, and Deren Li IEEE TRANSACTIONS ON GEOSCIENCE.
1 What do color changes reveal about an outdoor scene? KalyanFabianoWojciechToddHanspeter SunkavalliRomeiroMatusikZicklerPfister Harvard University Adobe.
1 Resolving the Generalized Bas-Relief Ambiguity by Entropy Minimization Neil G. Alldrin Satya P. Mallick David J. Kriegman University of California, San.
Color Image Processing
Dynamic View Morphing performs view interpolation of dynamic scenes.
CS4670 / 5670: Computer Vision Kavita Bala Lec 27: Stereo.
3D Photography: Epipolar geometry
Introduction to Perception and Color
Mingjing Zhang and Mark S. Drew
Lecturer: Dr. A.H. Abdul Hafez
COLOR CONSTANCY IN THE COMPRESSED DOMAIN
Specularity, the Zeta-image, and Information-Theoretic Illuminant
Presentation transcript:

School of Computer Science Simon Fraser University November 2009 Sharpening from Shadows: Sensor Transforms for Removing Shadows using a Single Image Mark S. DrewHamid Reza Vaezi Joze

Outline Image Formation Invariant Image Formation Finding invariant direction by calibration Finding invariant direction by minimizing entropy Sharpening Matrix Proposed Method Optimization problem Result 2

Shadow Removal Method To generate shadowless images, there are two steps: 1. Finding Illuminant Invariant image (grayscale) 2. Creating colored shadowless images using edges in main image and invariant image. [Finlayson et al. (ECCV2002)] 3 Main ImageShadowless ImageInvariant Image This Paper

Image Formation 4 Surface reflection Camera sensitivity Light spectral Camera Response:

Image Formation Simplification 5 1. Camera sensors represented as delta functions. 2. Illumination is restricted to the Planckian locus. 3. Wien’s approximation for temperature range 2500K to 10000K.  We have:

Invariant Image Formation 6 Using the simplified model we form band-ratio chromaticities r k by dividing  R and  B by  G and taking the logarithm: As temperature T changes, 2d-vectors r k,k=R,B, will follow a straight line in 2d chromaticity space. For all surfaces, the lines will be parallel, with slope (e k –e G ). Surface Dependent Camera Dependent

Invariant Image Formation 7 The invariant image, then, is formed by projecting 2-d colors into the direction orthogonal to the 2-vector (e k – e G ). So, the problem is reduced to finding the direction. Why we are interested? Shadow is nothing just the surface in different illumination condition. (they should be in a line)

Finding Invariant Direction 8 Calibrating Camera to find the invariant direction. [Finlayson et al. (ECCV2002)] Need many images under different illumination. Good for camera company not images with unknown camera. HP912 Digital Still Camera: Log-chromaticities of 24 patches; 7 patches, imaged under 9 illuminants.

Finding Invariant Direction 9 Without calibrating the camera, can use entropy of projection to find the invariant direction [Finlayson et al. (2004)] : Correct direction – smaller entropy Wrong direction – higher entropy

Sharpening Transform Matrix 10 Convert a given set of sensor sensitivity functions into a new set that will improve the performance of any color- constancy algorithm that is based on an independent adjustment of the sensor response channels. Transform the camera sensors to made them more narrow band, which is one of the assumption that we made. It also could apply to the image instead of sensors.

Proposed Method Select shadow and non shadow pixels for the same surface material. 2. Find the sharpening matrix which makes the chromaticities of selected pixels as linear as possible in log-log plane = an optimization problem. 3. Transform the main image by sharpening matrix. 4. Create illumination invariant image by entropy-minimization method [Finlayson et al. (2004)]

Shadow and Non Shadow Regions 12 The user selects the shadow and non shadow region of a surface. For future work this could be automatic. According to invariant formation in ideal condition, the chromaticities of these point in log-log plane should be in a line. User Defined

Optimization Problem 13 To find best sharpening matrix M 3x3 in order to make the chromaticity as linear as possible: m 11 m 12 m 13 m 21 m 22 m 23 m 31 m 32 m 33 sum is 1 Linear combination more than 1-β Colors don’t change completely

Objective Function 14 F return the minimum entropy of log chromaticities projected to all directions. rank is meant to encourage a non- rank-reducing matrix M. entropy Log chromaticities Minimum entropy For this M

Sharpening Matrix 15 Sharpening Matrix Shadow and non shadow region chromaticity Less linear More linear

Results 16 DifferenceInvariantSharpenedOriginal

Good vs. poor sharpening matrix 17 More linear minimum Obj. Func. =.0942 Obj. Func. =.0487

Result 18

Result 19

Conclusion 20 We proposed a new schema for generating illumination invariant for removing shadow. The contribution of this paper is using sharpener matrix to get better shadow removal. The method use single images which is more practical compared to camera calibration methods which needs bunch of images in different illumination condition.

References 21 Sharpening Matrix: G.D. Finlayson, M.S. Drew, and B.V. Funt. Spectral sharpening: sensor transformations for improved color constancy. J. Opt. Soc. Am. A, 11(5):1553–1563, May Illumination invariant image: G.D. Finlayson, S.D. Hordley, and M.H. Brill. Illuminant invariance at a single pixel. In 8th Color Imaging Conference: Color, Science, Systems and Applications., pages 85–90, Shadow removal method: G.D. Finlayson, S.D. Hordley, and M.S. Drew. Removing shadows from images. In ECCV 2002: European Conference on Computer Vision, pages 4:823–836, Lecture Notes in Computer Science Vol Entropy minimization method: G.D. Finlayson, M.S. Drew, and C. Lu. Intrinsic images by entropy minimization. In ECCV 2004: European Conference on Computer Vision, pages 582–595, Lecture Notes in Computer Science Vol

Questions? Thank you. 22 Thanks! To Natural Sciences and Engineering Research Council of Canada