Gradient Domain High Dynamic Range Compression

Slides:



Advertisements
Similar presentations
CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Advertisements

Motion.
Digital Image Processing
High Dynamic Range Imaging Samu Kemppainen VBM02S.
Math Modeling Final Project APPLICATIONS of FRACTALS Advisor: Professor Alber Fang Qi Pu Wan Xue Rui FRACTAL LANDSCAPES FRACTAL IMAGE COMPRESSION.
Pyramids and Texture. Scaled representations Big bars and little bars are both interesting Spots and hands vs. stripes and hairs Inefficient to detect.
Tracking Features with Large Motion. Abstract Problem: When frame-to-frame motion is too large, KLT feature tracker does not work. Solution: Estimate.
CS448f: Image Processing For Photography and Vision Graph Cuts.
Fast, Multiscale Image Segmentation: From Pixels to Semantics Ronen Basri The Weizmann Institute of Science Joint work with Achi Brandt, Meirav Galun,
Motion Analysis (contd.) Slides are from RPI Registration Class.
CSci 6971: Image Registration Lecture 4: First Examples January 23, 2004 Prof. Chuck Stewart, RPI Dr. Luis Ibanez, Kitware Prof. Chuck Stewart, RPI Dr.
Preprocessing ROI Image Geometry
High Dynamic Range Imaging: Spatially Varying Pixel Exposures Shree K. Nayar, Tomoo Mitsunaga CPSC 643 Presentation # 2 Brien Flewelling March 4 th, 2009.
Texture Reading: Chapter 9 (skip 9.4) Key issue: How do we represent texture? Topics: –Texture segmentation –Texture-based matching –Texture synthesis.
1 Photographic Tone Reproduction for Digital Images Brandon Lloyd COMP238 October 2002.
Matching Compare region of image to region of image. –We talked about this for stereo. –Important for motion. Epipolar constraint unknown. But motion small.
Gradient Domain High Dynamic Range Compression
Lecture 16 Duration analysis: Survivor and hazard function estimation
A Gentle Introduction to Bilateral Filtering and its Applications Limitation? Pierre Kornprobst (INRIA) 0:20.
Image Analogies Aaron Hertzmann (1,2) Charles E. Jacobs (2) Nuria Oliver (2) Brian Curless (3) David H. Salesin (2,3) 1 New York University 1 New York.
Tone mapping with slides by Fredo Durand, and Alexei Efros Digital Image Synthesis Yung-Yu Chuang 11/08/2005.
CS448f: Image Processing For Photography and Vision The Gradient Domain.
Session: Image Processing Seung-Tak Noh 五十嵐研究室 M2.
High dynamic range imaging. Camera pipeline 12 bits8 bits.
Tomihisa (Tom) Welsh Michael Ashikhmin Klaus Mueller Tomihisa (Tom) Welsh Michael Ashikhmin Klaus Mueller Center for Visual Computing Stony Brook University.
Spatial Tone Mapping in High Dynamic Range Imaging Zhaoshi Zheng.
Interactive Time-Dependent Tone Mapping Using Programmable Graphics Hardware Nolan GoodnightGreg HumphreysCliff WoolleyRui Wang University of Virginia.
EE 7700 High Dynamic Range Imaging. Bahadir K. Gunturk2 References Slides and papers by Debevec, Ward, Pattaniak, Nayar, Durand, et al…
Global Parametrization of Range Image Sets Nico Pietroni, Marco Tarini, Olga Sorkine, Denis Zorin.
03/05/03© 2003 University of Wisconsin Last Time Tone Reproduction If you don’t use perceptual info, some people call it contrast reduction.
Tone Mapping on GPUs Cliff Woolley University of Virginia Slides courtesy Nolan Goodnight.
03/04/05© 2005 University of Wisconsin Last Time Tone Reproduction –Histogram method –LCIS and improved filter-based methods.
Tone mapping Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/13 with slides by Fredo Durand, and Alexei Efros.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Projects Project 1a due this Friday Project 1b will go out on Friday to be done in pairs start looking for a partner now.
MASKS © 2004 Invitation to 3D vision Lecture 3 Image Primitives andCorrespondence.
1© 2009 Autodesk Hardware Shade – Presenting Your Designs Hardware and Software Shading HW Shade Workflow Tessellation Quality Settings Lighting Settings.
5.1 Exponential Functions
Miguel Tavares Coimbra
Color transfer between high-dynamic-range images
Gradient Domain High Dynamic Range Compression
CPSC 6040 Computer Graphics Images
Image Sampling Moire patterns
Morphing and Shape Processing
Fast Bilateral Filtering for the Display of High-Dynamic-Range Images
A special case of calibration
Image Fusion for Context Enhancement and Video Surrealism
Vector-Valued Functions
Digital Image Processing
Transformations of Functions
Free Surface Multiple Elimination
Motion Estimation Today’s Readings
Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/8
APPLICATIONS of FRACTALS
Filtering Part 2: Image Sampling
Seam Carving Project 1a due at midnight tonight.
6.2 Grid Search of Chi-Square Space
Image Sampling Moire patterns
Announcements more panorama slots available now
Announcements Questions on the project? New turn-in info online
6.3 Gradient Search of Chi-Square Space
Data Structures Introduction
Announcements more panorama slots available now
8. One Function of Two Random Variables
Gradient Domain Salience-preserving Color-to-gray Conversion
8. One Function of Two Random Variables
Scalable light field coding using weighted binary images
ECE 576 POWER SYSTEM DYNAMICS AND STABILITY
An Edge-preserving Filtering Framework for Visibility Restoration
Templates and Image Pyramids
Presentation transcript:

Gradient Domain High Dynamic Range Compression Raanan Fattal Dani Lischinski Michael Werman The Hebrew University of Jerusalem

The Method in 1D log derivative attenuate exp integrate 2500:1 7.5:1 The method is really quite simple to explain in 1D. Suppose we are given the 1D HDR image shown in this plot. The very first thing we do is to switch to the log-luminance domain. There are good reasons for that, which are explained in the paper. Next, we compute the image gradients, which in 1D are simply the first derivatives. Now we can identify the strong luminance changes in the image as high spikes in the derivative. The next step is to shrink these high spikes, while keeping the low derivatives unchanged. At this stage we have a new attenuated image derivative, and in order to get an image back, all we need to do is to integrate this derivative. Now we must undo the logarithm we took in the beginning, and we end up with a new 1D image. Comparing the result with the original image we can see that the dynamic range was reduced from 2500:1 to only 7.5:1. Also, in the reduced dynamic range the fine details are much more significant than they were before, and they no longer vanish when the entire range is displayed. * The plot you see on the slide is a 1D HDR image. First of all we do all the processing in the log domain. There are actually two good reasons for that: The first reason is that our visual system’s response to brightness is roughly logarithmic; The second reason is that gradients in the log domain correspond to local contrasts in the original image.

The Method in 2D Given: a log-luminance image H(x,y) Compute an attenuation map Compute an attenuated gradient field G: Problem: G is not integrable! Now let’s review the process in 2D. Given a 2D log-luminance image H, we compute an attenuation map phi based on the magnitudes of the gradients in H. We’ll see how to construct this map later on. Then we attenuate the gradient field by multiplying it with the map phi, and we get a new vector field G. So now, just like in 1D we would like to reconstruct an image by integrating G. But, in the 2D case there is a problem: the modified vector field G is generally not integrable!

Solution I minimizes the integral: Look for image I with gradient closest to G in the least squares sense. I minimizes the integral: The way we chose to overcome this problem is by searching for an image I, whose gradient field is closest to our field G, in the least squares sense. This is done by minimizing the following integral taken over the entire image. The functional F inside the integral simply measures the L2 distance between the gradient field of I and the vector field G. Poisson equation

Solve .. 1 … 1 -4 1 … 1 ..

Attenuation log(Luminance) Gradient magnitude Attenuation map We do this by computing a (Gaussian) pyramid of our luminance image. For each level in the pyramid we compute its own gradient magnitude map. And based on the gradient magnitudes we compute an attenuation map for each level. These map contain a factor between 0 and 1 at each pixel. Small gradients correspond to factors around 1, and high gradients correspond to smaller factors: the higher the gradient, the smaller its factor. Now we have one such attenuation map for each pyramid level, but we would like to perform the attenuation at the original image resolution, so we will now combine them into a single map at the finest resolution level. log(Luminance) Gradient magnitude Attenuation map

Multiscale Gradient Attenuation Interpolate X = Interpolate This is done in a coarse-to-fine manner: we interpolate each attenuation map to the next level (click), There we multiply it with the map already computed for that level to get an accumulated attenuation map (click), And then we repeat this again and again until we reach the full resolution level. X =

Final Gradient Attenuation Map So we have just spread the attenuation values from the coarser levels to the finer ones, and accumulate them. And here’s the final attenuation map for our HDR scene.

Performance Measured on 1.8 GHz Pentium 4: 512 x 384: 1.1 sec 1024 x 768: 4.5 sec Can be accelerated using processor-optimized libraries. The entire process is fairly fast, as you can see from the timings on this slide. Note that computation time grows linearly with the number of pixels in the image Most of the work done by our method can be formulated as image convolutions, so we believe that the performance can be significantly accelerated by making use of the vector processing capabilities of today’s CPUs.

Informal comparison Gradient domain [Fattal et al.] Bilateral [Durand et al.] Photographic [Reinhard et al.]

Informal comparison Gradient domain [Fattal et al.] Bilateral [Durand et al.] Photographic [Reinhard et al.]