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

Similar documents
Automatic Selection of Brackets for HDR Image Creation

A Saturation-based Image Fusion Method for Static Scenes

High dynamic range imaging and tonemapping

HIGH DYNAMIC RANGE IMAGING Nancy Clements Beasley, March 22, 2011

Photomatix Light 1.0 User Manual

Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University!

Understanding and Using Dynamic Range. Eagle River Camera Club October 2, 2014

How to combine images in Photoshop

High Dynamic Range Imaging

Agenda. Fusion and Reconstruction. Image Fusion & Reconstruction. Image Fusion & Reconstruction. Dr. Yossi Rubner.

! 1! Digital Photography! 2! 1!

PHOTOGRAPHY: MINI-SYMPOSIUM

High Dynamic Range Images Using Exposure Metering

High-Dynamic-Range Imaging & Tone Mapping

Realistic Image Synthesis

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images

HDR imaging Automatic Exposure Time Estimation A novel approach

Raymond Klass Photography Newsletter

An Architecture for Online Semantic Labeling on UGVs

High Dynamic Range (HDR) Photography in Photoshop CS2

Histograms& Light Meters HOW THEY WORK TOGETHER

How to correct a contrast rejection. how to understand a histogram. Ver. 1.0 jetphoto.net

Photography Basics. Exposure

ROAD TO THE BEST ALPR IMAGES

How to capture the best HDR shots.

Figure 1 HDR image fusion example

Camera Exposure Modes

Distributed Algorithms. Image and Video Processing

Aperture. The lens opening that allows more, or less light onto the sensor formed by a diaphragm inside the actual lens.

CAMERA BASICS. Stops of light

Dynamic Range. H. David Stein

CSE 332/564: Visualization. Fundamentals of Color. Perception of Light Intensity. Computer Science Department Stony Brook University

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

Denoising and Effective Contrast Enhancement for Dynamic Range Mapping

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

CHAPTER 7 - HISTOGRAMS

A Short History of Using Cameras for Weld Monitoring

HDR Darkroom 2 User Manual

MODIFICATION OF ADAPTIVE LOGARITHMIC METHOD FOR DISPLAYING HIGH CONTRAST SCENES BY AUTOMATING THE BIAS VALUE PARAMETER

Selective Edits in Camera Raw

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

A Real Time Algorithm for Exposure Fusion of Digital Images

Color Transformations

Stretching Your Photons

Photographing the Night Sky

Preserving Natural Scene Lighting by Strobe-lit Video

High Dynamic Range (HDR) photography is a combination of a specialized image capture technique and image processing.

Advanced Diploma in. Photoshop. Summary Notes

This histogram represents the +½ stop exposure from the bracket illustrated on the first page.

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

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

Improving Image Quality by Camera Signal Adaptation to Lighting Conditions

A Beginner s Guide To Exposure

Image Filtering Josef Pelikán & Alexander Wilkie CGG MFF UK Praha

Low Dynamic Range Solutions to the High Dynamic Range Imaging Problem

Automatic High Dynamic Range Image Generation for Dynamic Scenes

Recovering highlight detail in over exposed NEF images

Radiometric alignment and vignetting calibration

TAKING BETTER PHOTOS ON ANY DEVICE

High Dynamic Range Video with Ghost Removal

A Locally Tuned Nonlinear Technique for Color Image Enhancement

Fixing the Gaussian Blur : the Bilateral Filter

Extending the Dynamic Range of Film

AF Area Mode. Face Priority

HDR is a process for increasing the range of tonal values beyond what a single frame (either film or digital) can produce.

Colour correction for panoramic imaging

Video Registration: Key Challenges. Richard Szeliski Microsoft Research

Camera Raw software is included as a plug-in with Adobe Photoshop and also adds some functions to Adobe Bridge.

Tonemapping and bilateral filtering

Efficient Image Retargeting for High Dynamic Range Scenes

Term 1 Study Guide for Digital Photography

Photoshop and Lightroom for Photographers

Understanding Histograms

Computational Photography Introduction

HDR. High Dynamic Range Photograph

Inexpensive High Dynamic Range Video for Large Scale Security and Surveillance

Intelligent Nighttime Video Surveillance Using Multi-Intensity Infrared Illuminator

A Novel Hybrid Exposure Fusion Using Boosting Laplacian Pyramid

The ultimate camera. Computational Photography. Creating the ultimate camera. The ultimate camera. What does it do?

Interactive Images. December 2003 Microsoft Research Technical Report MSR-TR

LOW LIGHT artificial Lighting

Tablet overrides: overrides current settings for opacity and size based on pen pressure.

HDR Show & Tell Image / Workflow Review Session. Dave Curtin Nassau County Camera Club October 3 rd, 2016

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

The Fundamental Problem

ONE OF THE MOST IMPORTANT SETTINGS ON YOUR CAMERA!

Image stitching. Image stitching. Video summarization. Applications of image stitching. Stitching = alignment + blending. geometrical registration

Luminosity Masks Program Notes Gateway Camera Club January 2017

Lenses and Focal Length

Photography Help Sheets

Computational Photography

HDR videos acquisition

Fast and High-Quality Image Blending on Mobile Phones

! High&Dynamic!Range!Imaging! Slides!from!Marc!Pollefeys,!Gabriel! Brostow!(and!Alyosha!Efros!and! others)!!

Introduction to 2-D Copy Work

Supplementary Material of

by Don Dement DPCA 3 Dec 2012

High Dynamic Range Images

Digital Radiography using High Dynamic Range Technique

COMPUTATIONAL PHOTOGRAPHY. Chapter 10

Transcription:

Continuous Flash Hugues Hoppe Kentaro Toyama October 1, 2003 Technical Report MSR-TR-2003-63 Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052 Page 1 of 7

Abstract To take a picture of scene, we acquire multiple images under different levels of flash intensity (possibly just flash on and flash off ), and let the user subsequently adjust the flash level continuously by interpolating among the stored images. Camera motion is corrected using image registration techniques robust to intensity differences. Flash adjustment occurs either immediately on the imaging device or subsequently on a PC, or the multiple acquired images are stored indefinitely in compressed form. The user adjusts flash intensity using a simple slider control, either uniformly over the whole image or regionally by segmenting the image or identifying image layers. Introduction When taking pictures with either a digital or an analog camera, the use of a flash increases the illumination of the scene. This added illumination is essential when the environment is too dark. Moreover, it provides fill-in illumination of subjects against brighter backgrounds, and reduces the intense contrast of shadows. However, obtaining the correct amount of flash often proves difficult, since the flash intensity can be either too dark or too bright and cannot be controlled by the photographer during shooting in any meaningful manner. While the flash is sometimes insufficient to illuminate the scene, at other times it overexposes the subject. The problem is particularly challenging when the scene comprises both near and far objects, or objects with widely different reflection characteristics. It s important to note that because the effect of flash on an object in the scene is dependent on the object s distance to the camera and flash apparatus, its bi-directional reflectance function, and the clarity of the atmosphere, changing the degree of flash has an effect that is qualitatively different from optical exposure settings, post-hoc contrast enhancement, and other physical or digital illumination adjustments that are commonly made in photography. We describe a continuous flash approach, which facilitates user-selectable illumination of an existing picture ranging from ambient light illumination to full artificial flash illumination and every gradation in between (as well as some physically unrealizable negative flash effects). The end result is a flashadjusted image. Our basic approach We acquire and store two images with a digital camera: one taken without flash, and one taken with flash. Ideally, these images are acquired at the same time (or within hundredths of a second) using the same set of view and exposure parameters. Subsequently, we let the user interpolate (and extrapolate) between these two stored images, to adjust the amount of flash illumination to an optimum level. Page 2 of 7

Notation Let I 0 denote the image taken without flash, and I 1 denote the image taken with flash. We define a continuous family of images: I(α) = (1-α) I 0 + (α) I 1, where α R represents the quantity of flash. Thus, I(0) = I 0 is the original image taken without flash, I(1) = I 1 is the original image taken with flash, I(α) for 0<α<1 is an interpolated image where flash intensity is adjusted between the two acquired images, I(α) for α>1 is an extrapolated image that has more flash than taken with the original image with flash, and I(α) for α<0 is an extrapolated image that has less flash than possible (i.e. subtracts flash reflectance from an image already taken without flash). Page 3 of 7

Example Acquired pair of images: image I0=I(0.0) without flash image I1=I(1.0) with flash Subsequently interpolated (and extrapolated) images: I(-1.0) I(0.3) I(0.5) O(0.7) I(1.4) I(2.0) Page 4 of 7

Related work Debevec [1997] acquires several images of a scene under different exposure settings, to construct a high dynamic range (HDR) image of the scene. Toyama et al [2003] acquire multiple images of a scene under different aperture and focal-length settings, and let the user subsequently interpolate between the settings. However, they do not consider the use of flash. Cohen et al [2003] acquire series of still images using a tripod-mounted camera. They apply a variety of filters to the resulting image stack, and combine the results using 2D brush painting operations. Applications include merging of video stills, high dynamic range imagery, and the creation of group pictures incorporating multiple imperfect stills. Discussion Multiple flash intensities The set of acquired images can include several images with the flash at different intensity settings, in addition to the image without flash. Having more images may improve the quality of subsequent interpolation. Exposure settings The multiple source images should be captured with identical exposure settings. Or, at least it is preferable to know the F-stop difference between the two exposures, so that the image values can be easily brought into a common luminance coordinate system prior to interpolation. High dynamic range Optionally, for each setting of the flash, multiple images at different exposure settings are acquired to construct an HDR image. Image registration The two or more images should be acquired in a short time interval, so that there is little motion between them. If the images are taken a few hundredths of a second apart, the motion is likely tolerable. Otherwise, a tripod can be used to hold the camera steady between the two pictures. But even if the camera is held perfectly steady, objects in the scene may themselves be in motion, so this must still be rectified. The camera or local scene motion can be compensated for by a process of image registration. This problem is well studied in computer vision. The one big difference in our context is that the images generally have different intensity values, since each one is taken with a different flash intensity. Thus, the registration algorithm should be designed to be robust to intensity differences. For instance, one can apply a Gaussian or Laplacian filter to both images to locate high-derivative regions of the image, and align these derivative images together. For additional robustness, the alignment cost metric could examine just the signs of the derivatives and ignore their magnitudes. For recent work on image registration in the presence of exposure differences, see [Kang et al 2003]. Interpolation function Simple linear interpolation in RGB color space already provides satisfactory results. One can also consider interpolating using other color models, such as HSV (hue, saturation, value) or HLS (hue, lightness, saturation). With images acquired at multiple flash intensities, let the images be denoted I 0, I 1,, I n, where the flash intensity in image I i is f i (some continuous value). Thus, for the common two-image case, one simply has Page 5 of 7

images I 0, I 1 with f 0 =0 and f 1 =1 (zero flash and full flash). One example of an image set with greater than two images is a set of 3 images: I 0, I 1, I 2 with f 0 =0, f 1 =0.5, f 2 =1. During the interpolation, each pixel is treated independently. That is, for a given pixel, it has a different color value in each of the images. These values are denoted c 0, c 1, c n. The result is thus a simple data fitting problem (e.g., curve fitting or regression). A function c(f) that fits the two-dimensional points (2D) (f 0,c 0 ), (f 1,c 1 ), (f n,c n ) is sought. One example of such a function is a piecewise linear curve that just connects the points. This piecewise linear curve then corresponds to linear interpolation between successive samples. Another example of a suitable curve for interpolation is a spline curve (a polynomial function that is fit to the 2D points). There are approximating spline curves (that do not pass through the points, e.g. cubic B-spline), and interpolating spline curves (that do pass through the points, e.g. Catmull-Rom spline). Flash adjustment scenarios Flash adjustment can occur within the digital camera itself, using appropriate software or firmware. Or, it can occur later when the images are uploaded to a PC, for instance when they are entered into a photo album. Or, the multiple images can be all preserved, to allow flash adjustment at any time in the future. Because the multiple images are so much alike, especially after alignment, compressing them together results in a representation that does not require much more space than storing just one image alone. For example, a mean image can be compressed and then differences images can be compressed, resulting in a very low storage cost. User interface The simplest interface is to provide the user with a slider that adjusts the flash intensity uniformly over the whole image. Here is an example: Page 6 of 7

Automatic adjustment The optimal flash intensity could be selected automatically, incorporating the output of a machinelearning algorithm that has been trained on sets of images which serve as examples of good and bad levels of flash. Region-based adjustment In many cases, it is useful for the user to adjust the flash intensity differently in various regions of the image. For instance, the foreground object may have been over-exposed in the flash image, while the background was underexposed in the no-flash image. To this end, image processing techniques can segment the image into foreground and background regions, or even segment the image into layers. The user then adjusts the flash intensity independently on the resulting segments or layers. A different approach is to combine the multiple source images using a paintbrush interface as in [Cohen et al 2003]. References COHEN, M., COLBURN, R., AND DRUCKER, S. 2003. Image stacks. Microsoft Research MSR-TR-2003-40, July, 2003. DEBEVEC, P. 1997. Recovering High Dynamic Range Radiance Maps from Photographs. ACM SIGGRAPH 1997. KANG, S.B., UYTTENDAELE, M., WINDER, S., AND SZELISKI, R. 2003. High dynamic range video. ACM SIGGRAPH 2003, 319-325. TOYAMA, K., AND SCHOELKOPF, B. 2001. Interactive Images. Microsoft Research MSR-TR-2003-64, October 1, 2003. Page 7 of 7