Comp Computational Photography Spatially Varying White Balance. Megha Pandey. Sept. 16, 2008

Similar documents
Understanding White Balance

CS 89.15/189.5, Fall 2015 ASPECTS OF DIGITAL PHOTOGRAPHY COMPUTATIONAL. Image Processing Basics. Wojciech Jarosz

Computational Illumination Frédo Durand MIT - EECS

CS6640 Computational Photography. 6. Color science for digital photography Steve Marschner

Introduction to 2-D Copy Work

MASTER THESIS. Color adjustment of digital images of clothes for truthful rendering. Matilda Bengtsson

Tonemapping and bilateral filtering

VU Rendering SS Unit 8: Tone Reproduction

Digital Photography: Fundamentals of Light, Color, & Exposure Part II Michael J. Glagola - December 9, 2006

Flash Photography Enhancement via Intrinsic Relighting

Advanced Photography. Topic 3 - Exposure: Flash Photography Tricks

Automatic White Balance Algorithms a New Methodology for Objective Evaluation

The 2 in 1 Grey White Balance Colour Card. user guide.

Color. Phillip Otto Runge ( )

CS354 Computer Graphics Computational Photography. Qixing Huang April 23 th 2018

The Effect of Exposure on MaxRGB Color Constancy

Efficient Color Object Segmentation Using the Dichromatic Reflection Model

What will be on the final exam?

OVERVIEW WHERE TO FIND THE SETTINGS. CION Technical Notes #1 Exposure Index, Gamma and In-Camera Color Correction Comparison

Lecture: Color. Juan Carlos Niebles and Ranjay Krishna Stanford AI Lab. Lecture 1 - Stanford University

Scene illuminant classification: brighter is better

Lecture Notes 11 Introduction to Color Imaging

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

High dynamic range imaging and tonemapping

Calibration-Based Auto White Balance Method for Digital Still Camera *

Improved SIFT Matching for Image Pairs with a Scale Difference

Color Computer Vision Spring 2018, Lecture 15

Flash Points: The Control of Light

Eileen Donelan. What s in my Camera Bag? Minimum Camera Macro Lens Cable Release Tripod

By Mark Schutzer Coast Division Meet June 2013 Copies of this presentation can be found at

By Mark Schutzer PCR Regional Convention, Fremont, CA April 2009 Copies of this presentation can be found at

Color , , Computational Photography Fall 2017, Lecture 11

FiLMiC Log - Technical White Paper. rev 1 - current as of FiLMiC Pro ios v6.0. FiLMiCInc copyright 2017, All Rights Reserved

CAMERA BASICS. Stops of light

Microgeometry capture and RGB albedo estimation by photometric stereo without demosaicing

Improving digital images with the GNU Image Manipulation Program PHOTO FIX

Color , , Computational Photography Fall 2018, Lecture 7

Maine Day in May. 54 Chapter 2: Painterly Techniques for Non-Painters

Color Constancy Using Standard Deviation of Color Channels

HDR imaging Automatic Exposure Time Estimation A novel approach

ICC Votable Proposal Submission Colorimetric Intent Image State Tag Proposal

Color II: applications in photography

CMPSCI 670: Computer Vision! Color. University of Massachusetts, Amherst September 15, 2014 Instructor: Subhransu Maji

Unlimited Membership - $ The Unlimited Membership is an affordable way to get access to all of Open Media's community resouces.

Nikon D2x Simple Spectral Model for HDR Images

Setting Up Your Camera Overview

Color II: applications in photography

What is a Raw file? How a RAW file differs from a JPEG

Deconvolution , , Computational Photography Fall 2017, Lecture 17

However, it is always a good idea to get familiar with the exposure settings of your camera.

Guided Filtering Using Reflected IR Image for Improving Quality of Depth Image

The Big Train Project Status Report (Part 65)

Higher Visual Mechanisms. Higher Visual Mechanisms

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

The design and testing of a small scale solar flux measurement system for central receiver plant

excite the cones in the same way.

Deblurring. Basics, Problem definition and variants

Histograms and Color Balancing

Multiscale model of Adaptation, Spatial Vision and Color Appearance

OTHER RECORDING FUNCTIONS

L I F E L O N G L E A R N I N G C O L L A B O R AT I V E - FA L L S N A P I X : P H O T O G R A P H Y

Computational Approaches to Cameras

Accelerating defocus blur magnification

My Inspiration. Trey Ratcliffe Stuck in Customs Klaus Herrman Farbspiel Photography

TRUESENSE SPARSE COLOR FILTER PATTERN OVERVIEW SEPTEMBER 30, 2013 APPLICATION NOTE REVISION 1.0

H22: Lamps and Colour

Cameras. Shrinking the aperture. Camera trial #1. Pinhole camera. Digital Visual Effects Yung-Yu Chuang. Put a piece of film in front of an object.

Digital Processing of Scanned Negatives

Restoration of Motion Blurred Document Images

DIGITAL PHOTOGRAPHY FOR OBJECT DOCUMENTATION GOOD, BETTER, BEST

The Unsharp Mask. A region in which there are pixels of one color on one side and another color on another side is an edge.

Continuous Flash. October 1, Technical Report MSR-TR Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052

Prof. Feng Liu. Winter /10/2019

Estimating the scene illumination chromaticity by using a neural network

A generalized white-patch model for fast color cast detection in natural images

Color II: applications in photography

Computational Photography

General Camera Settings

Color Temperature Color temperature is distinctly different from color and also it is different from the warm/cold contrast described earlier.

VSCO FILM 01 MANUAL FOR: LIGHTROOM 4 & ADOBE CAMERA RAW 7

6 Color Image Processing

Light Sources. Hard VS Soft

Image Representations, Colors, & Morphing. Stephen J. Guy Comp 575

Color II: applications in photography

TABLETOP WORKSHOP. Janet Steyer

ALMALENCE SUPER SENSOR. A software component with an effect of increasing the pixel size and number of pixels in the sensor

Analysis On The Effect Of Colour Temperature Of Incident Light On Inhomogeneous Objects In Industrial Digital Camera On Fluorescent Coating

Cvision 2. António J. R. Neves João Paulo Silva Cunha. Bernardo Cunha. IEETA / Universidade de Aveiro

A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters

A Gentle Introduction to Bilateral Filtering and its Applications 08/10: Applications: Advanced uses of Bilateral Filters

A collection of example photos SB-900

Example Based Colorization Using Optimization

The Fundamental Problem

Creating your own photo shoot. 4 key elements Compose & shoot Due: Wednesday, November 8, 2017

TWO-ILLUMINANT ESTIMATION AND USER-PREFERRED CORRECTION FOR IMAGE COLOR CONSTANCY ABDELRAHMAN KAMEL SIDDEK ABDELHAMED

QuikBalance. Collapsible 18% Gray Panel INSTRUCTIONS

To Do. Advanced Computer Graphics. Image Compositing. Digital Image Compositing. Outline. Blue Screen Matting

Light and Color. Computer Vision Jia-Bin Huang, Virginia Tech. Empire of Light, 1950 by Rene Magritte

The Difference Between Image Resizing and Resampling in Photoshop

Monmouth Camera Club

Transcription:

Comp 790 - Computational Photography Spatially Varying White Balance Megha Pandey Sept. 16, 2008

Color Constancy Color Constancy interpretation of material colors independent of surrounding illumination.

Color Constancy Color Constancy interpretation of material colors independent of surrounding illumination.

Digital Images under Varying Illumination Cameras can not adapt to varying illumination as humans do images have a color cast depending on the light source.

Cameras can not adapt to varying illumination as humans do images have a color cast depending on the light source.

Color Temperature Color temperature of a light source is the temperature of an ideal black body radiator at which the color of the color of the light source and the black body are identical.

Incandescent Light Orange Color Cast

Moonlight Blue Color Cast

Fluorescent Light : Green Color Cast

Color Balance Color Balance adjusting the color components to eliminate color casts. Chromatic Adaptation : estimation of representation of object as it would appear under a different light source than the one in which it was recorded. White Balance aims to render neutral colors correctly to emulate the property of color constancy

Color Balance adjusting the color components to eliminate color casts. White Balance aims to render neutral casts correctly to render visually pleasing images. white balanced image

White Balance Tools Digital Cameras

Auto White Balance

Gray Cards White Balance Caps

Take a picture of a neutral object (white or gray) Deduce the weight of each channel If the object is recoded as R w, G w, B w use weights 1/R w, 1/G w, 1/B w

Auto WB Custom WB

Color Correction Filters

Mixed Lighting

Light Filters Gel Filters Light Filters

White Balance under Mixed Lighting Barnard [1997] adaptation of gamut-based color constancy technique, Assumes smooth illumination Kawakami [2005] outdoor scenes with hard shadows, illuminants restricted to black-body radiators

Lischinski [2006] user scribbles, correct localized color casts

Ebner [2004] local color shifts, Gray World Assumption

Local Color Shift

Light Mixture Estimation for Spatially Varying White Balance Eugene Hsu Tom Mertens Sylvain Paris Shai Avidan Fredo Durand (Several slides from Eugene Hsu)

Algorithm Overview Recovers the dominant material colors and uses them to estimate the relative proportion of the two light colors at each of the pixels. Input image illuminated by two light types

Voting scheme to recover dominant material colors in the scene.

Estimate light mixture at reliable pixels and interpolate missing values.

Estimated light mixture is used to achieve spatially varying white balance.

Assumptions Two light sources specified by the user Interaction of light can be described using RGB channels only Surfaces are Lambertian and non-fluorescent - which implies that the image color is the product of illumination and reflectance. Color bleeding due to indirect illumination can be ignored

Image Formation Model Observed pixel color is material color multiplied by scaled light color.

White Balance Proper white balance is achieved by inverting the effect of the light source color.

Proper white balance is achieved by inverting the effect of the light source color.

Image model with two light sources

Proper white balance can be achieved if the relative proportion of the two light sources is known.

Solving for α is under-constrained since the actual material colors are not given.

Material Color Estimation Assume scene is dominated by a small set of material colors, hence reflectance spectra is sparse.

Material Color Estimation Assume scene is dominated by a small set of material colors, hence reflectance spectra is sparse.

Material Color Estimation Assume scene is dominated by a small set of material colors, hence reflectance spectra is sparse. Scene viewed in white light

Material Color Estimation Assume scene is dominated by a small set of material colors, hence reflectance spectra is sparse. Scene viewed in mixed light

Sample material colors and find the one that accounts for the observed color of most pixels.

Given a candidate material color

a pixel votes for a material color only if the observed color can be explained by a combination of given light sources.

If this expression holds, we say that the pixel votes for the material color.

48%

48 % 16 %

Light mixture estimation for reliable pixels

Mixture Interpolation Assume L 1B and L 2B are 1, divide out the blue channels. This looks exactly like Image Matting.

Interpolation is performed using Matting Laplacian [Levin et al. 2006]

Scene shot with multiple exposures so that ground truth is available.

Constraint the marked points and interpolate the rest

Smooth interpolation is pretty bad.

Edge-aware interpolation doesn t work satisfactorily either.

Matting Laplacian gives much better result.

Experiments Synthetic Data Input

Output

Input Output Ground Truth Comparison

Experiments Real Data Input Alpha Map Output

Input

Output

Input LME Local Color Shift

LME Local Color Shift

Scene Relighting Separate the two lighting contributions from the white Balanced image

The observed scene is a blend of two images as seen by either of the light sources in proportions α and 1- α. Multiply the white balanced image by α for the first contribution

Multiply the white balanced image by α for the first Contribution and by 1- α for the second contribution

We can choose new lights and add desired effects.

Input

Output

Discussion Works best for raw image data Better results for indoor scenes Handles specularities and inter-reflections Material colors should exhibit enough color variation for the voting to work. Accurate specification of light sources is required. Scalability Issues