Intrinsic Images by Entropy Minimization (Midway Presentation, by Yingda Chen) Graham D. Finlayson, Mark S. Drew and Cheng Lu, ECCV, Prague, 2004.

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

Ter Haar Romeny, FEV Nuclei of fungus cell Paramecium Caudatum Spatial gradient Illumination spectrum -invariant gradient Color RGB original Color-Scale.
C280, Computer Vision Prof. Trevor Darrell Lecture 2: Image Formation.
An Introduction to Quantum
Computer Vision Radiometry. Bahadir K. Gunturk2 Radiometry Radiometry is the part of image formation concerned with the relation among the amounts of.
Scene illumination and surface albedo recovery via L1-norm total variation minimization Hong-Ming Chen Advised by: John Wright.
Boundary Detection - Edges Boundaries of objects –Usually different materials/orientations, intensity changes.
November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
A Standardized Workflow for Illumination-Invariant Image Extraction Mark S. Drew Muntaseer Salahuddin Alireza Fathi Simon Fraser University, Vancouver,
Module 1-1 Continued Nature and Properties of Light.
Eyes for Relighting Extracting environment maps for use in integrating and relighting scenes (Noshino and Nayar)
December 5, 2013Computer Vision Lecture 20: Hidden Markov Models/Depth 1 Stereo Vision Due to the limited resolution of images, increasing the baseline.
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 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.
Lecture 23: Photometric Stereo CS4670/5760: Computer Vision Kavita Bala Scott Wehrwein.
Shadow removal algorithms Shadow removal seminar Pavel Knur.
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Color Image Understanding Sharon Alpert & Denis Simakov.
Lecture 4: Feature matching
Uncalibrated Geometry & Stratification Sastry and Yang
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.
Calibration Dorit Moshe.
Deriving Intrinsic Images from Image Sequences Mohit Gupta Yair Weiss.
Shadow Removal Using Illumination Invariant Image Graham D. Finlayson, Steven D. Hordley, Mark S. Drew Presented by: Eli Arbel.
Lecture 19: Optical flow CS6670: Computer Vision Noah Snavely
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Numerical Recipes (Newton-Raphson), 9.4 (first.
Projected image of a cube. Classical Calibration.
CS4670: Computer Vision Kavita Bala Lecture 7: Harris Corner Detection.
Introduction of the intrinsic image. Intrinsic Images The method of Finlayson & Hordley ( 2001 ) Two assumptions 1. the camera ’ s sensors are sufficiently.
Laws of Radiation Heat Transfer P M V Subbarao Associate Professor Mechanical Engineering Department IIT Delhi Macro Description of highly complex Wave.
Reflectance Map: Photometric Stereo and Shape from Shading
Tricolor Attenuation Model for Shadow Detection. INTRODUCTION Shadows may cause some undesirable problems in many computer vision and image analysis tasks,
Chapter 18 Bose-Einstein Gases Blackbody Radiation 1.The energy loss of a hot body is attributable to the emission of electromagnetic waves from.
Image Formation. Input - Digital Images Intensity Images – encoding of light intensity Range Images – encoding of shape and distance They are both a 2-D.
1/20 Obtaining Shape from Scanning Electron Microscope Using Hopfield Neural Network Yuji Iwahori 1, Haruki Kawanaka 1, Shinji Fukui 2 and Kenji Funahashi.
Camera Geometry and Calibration Thanks to Martial Hebert.
Course 12 Calibration. 1.Introduction In theoretic discussions, we have assumed: Camera is located at the origin of coordinate system of scene.
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
Deriving Intrinsic Images from Image Sequences Mohit Gupta 04/21/2006 Advanced Perception Yair Weiss.
September 17, 2013Computer Vision Lecture 5: Image Filtering 1ColorRGB HSI.
Photon Statistics Blackbody Radiation 1.The energy loss of a hot body is attributable to the emission of electromagnetic waves from the body. 2.The.
Vector Norms and the related Matrix Norms. Properties of a Vector Norm: Euclidean Vector Norm: Riemannian metric:
December 9, 2014Computer Vision Lecture 23: Motion Analysis 1 Now we will talk about… Motion Analysis.
3D Imaging Motion.
Multiple Light Source Optical Flow Multiple Light Source Optical Flow Robert J. Woodham ICCV’90.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Course14 Dynamic Vision. Biological vision can cope with changing world Moving and changing objects Change illumination Change View-point.
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.
Motion Estimation Today’s Readings Trucco & Verri, 8.3 – 8.4 (skip 8.3.3, read only top half of p. 199) Newton's method Wikpedia page
Digital Image Processing Lecture 17: Segmentation: Canny Edge Detector & Hough Transform Prof. Charlene Tsai.
Colorization is a user-assisted color manipulation mechanism for changing grayscale images into colored ones. Surprisingly, only a fairly sparse set of.
Instructor: Mircea Nicolescu Lecture 10 CS 485 / 685 Computer Vision.
Announcements Project 3a due today Project 3b due next Friday.
MAN-522 Computer Vision Spring
Interest Points EE/CSE 576 Linda Shapiro.
Orthogonal Subspace Projection - Matched Filter
Image Primitives and Correspondence
Computer Vision Lecture 4: Color
Announcements Project 3b due Friday.
Reconstruction.
Announcements more panorama slots available now
Announcements more panorama slots available now
Specularity, the Zeta-image, and Information-Theoretic Illuminant
Shape from Shading and Texture
Presentation transcript:

Intrinsic Images by Entropy Minimization (Midway Presentation, by Yingda Chen) Graham D. Finlayson, Mark S. Drew and Cheng Lu, ECCV, Prague, 2004

Project Goals: Obtain the intrinsic image by removing shadows from images : Without camera calibration (no knowledge about the imagery source) Based on one single image (instead of multiple image arrays) by entropy minimization

How an Image is Formed? Camera responses depend on 3 factors: Light (E), Surface (S), Camera sensor (R,G, B) In an RGB image, the R, G, B components are obtained by: (*)

Planck’s Law Blackbody: A blackbody is a hypothetical object that emits radiation at a maximum rate for its given temperature and absorbs all of the radiation that strikes it. Illumination sources such as can be well approximately as a blackbody radiator. Planck’s Law [Max Planck, 1901] Planck’s Law defines the energy emission rate of a blackbody, in unit of watts per square meter per wavelength interval, as a function of wavelength (in meters) and temperature T (in degrees Kelvin). Where and are constants.

Planck’s Law (cont.) The temperature of a lighting source and the wavelength together determine the relative amounts radiation being emitted (color of the illuminator). Given the intensity of the radiation I, the Planck’s law gives the spectral power of the lighting source:

is Blue; is Red;

Image formation for Lambertian surface Assume idea camera sensors: G( ) Sensitivity B( )R( )

Analysis of the components in image formation Depends on the surface property onlyDepend on property of the illumination Need some manipulations to get rid of the illumination dependence

How to remove shadows (illumination)? Define a 2-D chromaticity vector V, The 2-D vector V forms a straight line in the space of logs of ratios, the slope of the which is determined by T (i.e. by illumination color). Project the 2D log ratios into the direction, the 1-D grayscale invariant image can be obtained. is the direction orthogonal to vector Shadow which occurs when there is a change in light but not surface will disappear in the invariant image

How to remove shadows (illumination)? (cont.)

The key of the obtaining the invariant image is to determine the right projection direction. For a calibrated camera whose sensor sensitivity is known, the task is relatively easy. Question: How to determine the projection direction for images from Uncalibrated Cameras? Answer: Problematic, but artificial calibration can still be performed by obtaining a series of image from the same camera. Question: How to determine the projection direction for images whose source is unknown? How to remove shadows (illumination) ? (cont. II)

Entropy minimization Correct Projection Incorrect Projection

Entropy minimization (cont.) The scalar values can be encoded into a grayscale image, and the entropy be calculated as For each, we can obtain an corresponding entropy. As the more “spread-out” distribution results in a larger entropy value, the projection direction that produces the minimum entropy is the correct projection direction Given projection angle, the projection result in a scalar value

Assumptions? Delta sensor functions of camera The image must be unbiased of R,G,B G( ) Sensitivity B( )R( ) This assumption is idealized, but experiments show that it performs reasonably well. This is NOT true for many images, which can be “reddish”, “bluish” or “greenish” in color. So some more dedicated approach should be introduced to remove (or at least suppress) the potential bias.

Geometric Mean Invariant Image Use the geometric mean as the reference color channel when taking the log ratios, so we will not favor for any particular color Where the K’s are just constants The geometric mean is unbiased, however, the invariant image is a projection from 2-D space into 1-D grayscale. The log ratios vector is 3-D.

Geometric Mean Invariant Image (cont.) From 3-D to 2-D before we can get the invariant. A 2 x 3 matrix can do this by The transform should satisfy: A straight line in the 3-D space is still straight after the transformation How do we find ? Since The orthogonal matrix satisfies The rows of are just the eigenvectors associated with the non-zero eigenvalues of the matrix.

Geometric Mean Invariant Image (cont. II) With, we converted the 3-D log ratios space into 2-D, but with no color bias, the invariant image is then achieved by, is the correct projection angle, and we are back to the original track. Obtain by entropy minimization: Decide the number of bins by Scott’s rule: The probability of the ith bin is The entropy is calculated as

Midway Results: invariant image Original Image Invariant Image

Entropy Minimization (Camera: Nikon CoolPix8700)

Edge in Original Image Edge in Invariant Image

Original Image Invariant Image

Entropy Minimization (Camera: Nikon CoolPix8700)

Edge in Original Image Edge in Invariant Image

Original Image Invariant Image

Entropy Minimization (Camera: Nikon CoolPix8700)

Edge in Original Image Edge in Invariant Image

Entropy Minimization (Camera: HP-912, better camera sensors?) [from author’s website]

Is the projected 1-D data really “colorless”? We can recover 2-D chromaticity along the line

Invariant chromaticity Image Recall that the grayscale image let, where, the 3-D log ratio is recovered by Invariant chromaticity image: is the invariant chromaticity image that presents the color information inherent in the 1-D projection yet absent in the grayscale invariant image

Determine the shadow edges Comparing the edges in the original image and the invariant image (Mean Shift?) Shadow Edge = Edge in Original but NOT in Invariant Thicken the identified shadow edges using morphological operato Let be one of the RGB channels, and be one of the log of RGB channels. {Recall that }, difference of reflects a change in either illumination or surface, the change in reflectance can be revealed by the operation:

Reintegrate Solve the Poisson Equation under Neumann boundary condition ( on the boundary), where being the log of the shadow-free image we wish to recover. How to solve the Poisson Equation? In Fourier Domain, rewrite the equation as : Solve for,and the IFFT( ) gives the up to an unknown constant. Map the maximum of each of the R,G,B channel to 1 and factor the unknown constant.

Plan Take some qualified pictures Preprocessing (Smoothing, Data refinement etc.) Geometric Mean: to exclude bias for a certain color channel Entropy Minimization to obtain the best projection angle Project to get 1D grayscale invariant Recover part of the color information by chromaticity invariant image Determine shadow edge (edge thickening, clear noisy edges, etc.) Remove shadows in the gradient of the original image Solve Poisson PDE in Fourier domain (perform reintegration) RGB intrinsic image. I am somewhere here Dreams: Improvement and Compare to other Algorithms

Expected Results : Original Entropy Minimization Invariant Shadow Edge Intrinsic image

Reference “Intrinsic Images by Entropy Minimization”, Graham D. Finlayson, Mark S. Drew and Cheng Lu, ECCV, Prague, 2004; “Removing Shadows from Images”, Graham D. Finlayson, Steven D. Hordley and Mark S. Drew; Removing shadows from images. In European Conference on Computer Vision, pages 4:823–836, 2002; “Color constancy at a pixel ”, G.D. Finlayson and S.D. Hordley, Journal of Optical Society of America. A, 18(2):253–264, Feb “On the Law of Distribution of Energy in the Normal Spectrum”, Max Planck, Annalen der Physik, vol. 4, p. 553 ff (1901) “Recovery of Chromaticity Image Free from Shadows via Illumination Invariance”, Mark S. Drew, Graham D. Finlayson and Steven D. Hordley, ICCV’03 Workshop on Color and Photometric Methods in Computer Vision, Nice, France, pp “Deriving intrinsic images from image sequences”, Yair Weiss, ICCV ’01, Volume II pages:

Thanks!