Tone mapping Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/13 with slides by Fredo Durand, and Alexei Efros.

Slides:



Advertisements
Similar presentations
Course Evaluations 4 Random Individuals will win an ATI Radeon tm HD2900XT.
Advertisements

CSCE 643 Computer Vision: Template Matching, Image Pyramids and Denoising Jinxiang Chai.
Digital Image Processing
Visualization and graphics research group CIPIC May 25, 2004Realistic Image Synthesis1 Tone Mapping Presented by Lok Hwa.
High Dynamic Range Imaging Samu Kemppainen VBM02S.
Image Processing Lecture 4
Digital Photography with Flash and No-Flash Image Pairs By: Georg PetschniggManeesh Agrawala Hugues HoppeRichard Szeliski Michael CohenKentaro Toyama,
Accelerating Spatially Varying Gaussian Filters Jongmin Baek and David E. Jacobs Stanford University.
A Fast Approximation of the Bilateral Filter using a Signal Processing Approach Sylvain Paris and Frédo Durand Computer Science and Artificial Intelligence.
Digital Image Processing
Image Enhancement by Modifying Gray Scale of Individual Pixels
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Digital Image Processing
Computer graphics & visualization HDRI. computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization.
Templates, Image Pyramids, and Filter Banks Slides largely from Derek Hoeim, Univ. of Illinois.
Gaussian KD-Tree for Fast High-Dimensional Filtering A. Adams, N. Gelfand, J. Dolson, and M. Levoy, Stanford University, SIGGRAPH 2009.
Computational Photography Prof. Feng Liu Spring /15/2015.
Image Enhancement To process an image so that the result is more suitable than the original image for a specific application. Spatial domain methods and.
CS443: Digital Imaging and Multimedia Point Operations on Digital Images Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring.
Image Enhancement in the Spatial Domain (chapter 3) Math 5467, Spring 2008 Most slides stolen from Gonzalez & Woods, Steve Seitz and Alexei Efros.
High Dynamic Range Images : Computational Photography Alexei Efros, CMU, Fall 2005 …with a lot of slides stolen from Paul Debevec and Yuanzhen Li,
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
High Dynamic Range Images : Rendering and Image Processing Alexei Efros.
Capturing Light… in man and machine : Computational Photography Alexei Efros, CMU, Fall 2006 Some figures from Steve Seitz, Steve Palmer, Paul Debevec,
Photographic Tone Reproduction for Digital Images Erik Reinhard Utah Mike Stark Peter Shirley Jim Ferwerda Cornell.
Image Enhancement.
1 Photographic Tone Reproduction for Digital Images Brandon Lloyd COMP238 October 2002.
Digital Image Processing
What should be done at the Low Level?
Gradient Domain High Dynamic Range Compression
Retinex by Two Bilateral Filters Michael Elad The CS Department The Technion – Israel Institute of technology Haifa 32000, Israel Scale-Space 2005 The.
Geometry-driven Diffusion.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Fast Bilateral Filtering
Tone mapping with slides by Fredo Durand, and Alexei Efros Digital Image Synthesis Yung-Yu Chuang 11/08/2005.
High dynamic range imaging. Camera pipeline 12 bits8 bits.
IDL GUI for Digital Halftoning Final Project for SIMG-726 Computing For Imaging Science Changmeng Liu
University of Ioannina - Department of Computer Science Intensity Transformations (Point Processing) Christophoros Nikou Digital Image.
Perception Motivated Hybrid Approach to Tone Mapping Martin Čadík Czech Technical University in Prague, Czech Republic.
EE 7700 High Dynamic Range Imaging. Bahadir K. Gunturk2 References Slides and papers by Debevec, Ward, Pattaniak, Nayar, Durand, et al…
Tone Mapping Software Photomatix Pro Application to Photography Konferenz und Workshop '05 Reality-Based Visualization.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Templates, Image Pyramids, and Filter Banks
CS6825: Point Processing Contents – not complete What is point processing? What is point processing? Altering/TRANSFORMING the image at a pixel only.
Film Digital Image Synthesis Yung-Yu Chuang 11/5/2008 with slides by Pat Hanrahan and Matt Pharr.
03/05/03© 2003 University of Wisconsin Last Time Tone Reproduction If you don’t use perceptual info, some people call it contrast reduction.
Image Enhancement [DVT final project]
A Gentle Introduction to Bilateral Filtering and its Applications Sylvain Paris – MIT CSAIL Pierre Kornprobst – INRIA Odyssée Jack Tumblin – Northwestern.
A Gentle Introduction to Bilateral Filtering and its Applications 07/10: Novel Variants of the Bilateral Filter Jack Tumblin – EECS, Northwestern University.
Templates, Image Pyramids, and Filter Banks
03/04/05© 2005 University of Wisconsin Last Time Tone Reproduction –Histogram method –LCIS and improved filter-based methods.
03/03/03© 2003 University of Wisconsin Last Time Subsurface scattering models Sky models.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
Non-linear filtering Example: Median filter Replaces pixel value by median value over neighborhood Generates no new gray levels.
Introduction to Digital Image Analysis Kurt Thorn NIC.
CPSC 6040 Computer Graphics Images
Image Deblurring and noise reduction in python
Image Processing and Reconstructions Tools
A Gentle Introduction to Bilateral Filtering and its Applications
Image Enhancement.
Fast Bilateral Filtering for the Display of High-Dynamic-Range Images
A Gentle Introduction to Bilateral Filtering and its Applications
High Dynamic Range Images
Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/3/8
A Computational Darkroom for BW Photography
Non-local Means Filtering
An Edge-preserving Filtering Framework for Visibility Restoration
Artistic Rendering Final Project Initial Proposal
Computer Graphics Image processing 紀明德
Presentation transcript:

Tone mapping Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/13 with slides by Fredo Durand, and Alexei Efros

Tone mapping How can we display it? Linear scaling?, thresholding? Real world radiance Display intensity dynamic range Pixel value 0 to 255 CRT has 300:1 dynamic range

Preliminaries For color images Log domain is usually preferred. Gaussian filter. Sampling issues. Efficiency issues.

Eye is not a photometer! "Every light is a shade, compared to the higher lights, till you come to the sun; and every shade is a light, compared to the deeper shades, till you come to the night." — John Ruskin, 1879

We are more sensitive to contrast Weber’s law background intensity Just-noticeable Difference (JND) flash

Global operator (Reinhart et al) Approximation of scene’s key (how light or dark it is). Map to 18% of display range for average-key scene User-specified; high key or low key

low key (0.18)high key (0.5)

Frequency domain First proposed by Oppenheim in 1968! Under simplified assumptions, image = illuminance * reflectance low-frequency attenuate more high-frequency attenuate less

Oppenheim Taking the logarithm to form density image Perform FFT on the density image Apply frequency-dependent attenuation filter Perform inverse FFT Take exponential to form the final image

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images Fr é do Durand & Julie Dorsey Laboratory for Computer Science Massachusetts Institute of Technology

A typical photo Sun is overexposed Foreground is underexposed

Gamma compression X  X  Colors are washed-out InputGamma

Gamma compression on intensity Colors are OK, but details (intensity high- frequency) are blurred Gamma on intensityIntensity Color

Chiu et al Reduce contrast of low-frequencies Keep high frequencies Reduce low frequencyLow-freq. High-freq. Color

The halo nightmare For strong edges Because they contain high frequency Reduce low frequencyLow-freq. High-freq. Color

Durand and Dorsey Do not blur across edges Non-linear filtering OutputLarge-scale Detail Color

Edge-preserving filtering Blur, but not across edges Anisotropic diffusion [Perona & Malik 90] –Blurring as heat flow –LCIS [Tumblin & Turk] Bilateral filtering [Tomasi & Manduci, 98] Edge-preservingGaussian blurInput

Start with Gaussian filtering Here, input is a step function + noise outputinput

Start with Gaussian filtering Spatial Gaussian f outputinput

Start with Gaussian filtering Output is blurred outputinput

Gaussian filter as weighted average Weight of  depends on distance to x outputinput

The problem of edges Here, “ pollutes ” our estimate J(x) It is too different outputinput

Principle of Bilateral filtering [Tomasi and Manduchi 1998] Penalty g on the intensity difference outputinput

Bilateral filtering [Tomasi and Manduchi 1998] Spatial Gaussian f outputinput

Bilateral filtering [Tomasi and Manduchi 1998] Spatial Gaussian f Gaussian g on the intensity difference outputinput

outputinput Normalization factor [Tomasi and Manduchi 1998] k(x)=

outputinput Bilateral filtering is non-linear [Tomasi and Manduchi 1998] The weights are different for each output pixel

Contrast reduction Input HDR image Contrast too high!

Contrast reduction Color Input HDR image Intensity

Contrast reduction Color Intensity Large scale Fast Bilateral Filter Input HDR image

Contrast reduction Detail Color Intensity Large scale Fast Bilateral Filter Input HDR image

Contrast reduction Detail Color Intensity Large scale Fast Bilateral Filter Reduce contrast Large scale Input HDR image Scale in log domain

Contrast reduction Detail Color Intensity Large scale Fast Bilateral Filter Reduce contrast Detail Large scale Preserve! Input HDR image

Contrast reduction Detail Color Intensity Large scale Fast Bilateral Filter Reduce contrast Detail Large scale Color Preserve! Input HDR image Output

Oppenheimbilateral