Perceptual Effects in Real-time Tone Mapping

Similar documents
A Local Model of Eye Adaptation for High Dynamic Range Images

A New Time-Dependent Tone Mapping Model

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

OPTIMIZED QUALITY EVALUATION APPROACH OF TONED MAPPED IMAGES BASED ON OBJECTIVE QUALITY ASSESSMENT

Render all data necessary into textures Process textures to calculate final image

Multidimensional image retargeting

Perception-motivated High Dynamic Range Video Encoding

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Perceptual Evaluation of Tone Mapping Operators

Light. Properties of light. What is light? Today What is light? How do we measure it? How does light propagate? How does light interact with matter?

HIGH DYNAMIC RANGE IMAGE TONE MAPPING BY OPTIMIZING TONE MAPPED IMAGE QUALITY INDEX

A Multiscale Model of Adaptation and Spatial Vision for Realistic Image Display

Stereo Day-for-Night: Retargeting Disparity for Scotopic Vision

Real-time High Dynamic Range Image-based Lighting

Selective Tone Mapper

CS5670: Computer Vision

High Dynamic Range Imaging.

Computer Vision I - Basics of Image Processing Part 1

Why is computer vision difficult?

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

A high dynamic range rendering pipeline for interactive applications

A review of tone reproduction techniques

A Fast Video Illumination Enhancement Method Based on Simplified VEC Model

Motivation. Intensity Levels

High Dynamic Range Reduction Via Maximization of Image Information

We are IntechOpen, the world s leading publisher of Open Access books Built by scientists, for scientists. International authors and editors

Volume Rendering for High Dynamic Range Displays

SIFT - scale-invariant feature transform Konrad Schindler

CS6670: Computer Vision

Visual Acuity. Visual acuity

3D Editing System for Captured Real Scenes

HIGH DYNAMIC RANGE IMAGE TONE MAPPING BY OPTIMIZING TONE MAPPED IMAGE QUALITY INDEX. Kede Ma, Hojatollah Yeganeh, Kai Zeng and Zhou Wang

Visual Acuity. Excerpts from a lecture by: Harold E. Bedell. Physiological Optics & Vision Science

Meet icam: A Next-Generation Color Appearance Model

Volume Rendering for High Dynamic Range Displays

Lecture 1. Computer Graphics and Systems. Tuesday, January 15, 13

Nonlinear Multiresolution Image Blending

Survey of Temporal Brightness Artifacts in Video Tone Mapping

Spatio-Temporal Tone Mapping Operator based on a Retina model

Flash and Storm: Fast and Highly Practical Tone Mapping based on Naka-Rushton Equation

Dynamic Range Reduction inspired by Photoreceptor Physiology

CSCI 1290: Comp Photo

Last Lecture. Bayer pattern. Focal Length F-stop Depth of Field Color Capture. Prism. Your eye. Mirror. (flipped for exposure) Film/sensor.

Spatio-temporal Tone Mapping Operator Based on a Retina Model

EYEVIEW FUNCTIONAL VISION ANALYSIS SOFTWARE Software for use with the Functional Vision Analyzer INSTRUCTION MANUAL

Dynamic range Physically Based Rendering. High dynamic range imaging. HDR image capture Exposure time from 30 s to 1 ms in 1-stop increments.

Presentation and analysis of multidimensional data sets

Visual Acuity. Adler s Physiology of the Eye 11th Ed. Chapter 33 - by Dennis Levi.

Saliency Maps of High Dynamic Range Images

Sampling, Aliasing, & Mipmaps

Course Evaluations. h"p:// 4 Random Individuals will win an ATI Radeon tm HD2900XT

Announcements. Light. Properties of light. Light. Project status reports on Wednesday. Readings. Today. Readings Szeliski, 2.2, 2.3.

RATE DISTORTION OPTIMIZED TONE CURVE FOR HIGH DYNAMIC RANGE COMPRESSION

High Dynamic Range Images

Computer Graphics (CS 563) Lecture 4: Advanced Computer Graphics Image Based Effects: Part 2. Prof Emmanuel Agu

Non-line-of-sight imaging

Visual Perception in Realistic Image Synthesis

Dynamic Tone Mapping Operator for Maximizing Tone Mapped Image Quality Index

Computational Perception. Visual Coding 3

Tone Reproduction: A Perspective from Luminance-Driven Perceptual Grouping

High Dynamic Range Real-time Vision System for Robotic Applications

Non-Linear Masking based Contrast Enhancement via Illumination Estimation

Today. Motivation. Motivation. Image gradient. Image gradient. Computational Photography

UNIVERSITY OF CALGARY. An Automated Hardware-based Tone Mapping System For Displaying. Wide Dynamic Range Images. Chika Antoinette Ofili A THESIS

Ray Tracing Assignment. Ray Tracing Assignment. Ray Tracing Assignment. Tone Reproduction. Checkpoint 7. So You Want to Write a Ray Tracer

Computational Cameras: Exploiting Spatial- Angular Temporal Tradeoffs in Photography

(0, 1, 1) (0, 1, 1) (0, 1, 0) What is light? What is color? Terminology

CS4670: Computer Vision

Statistical image models

Digital Image Processing. Image Enhancement - Filtering

CS6670: Computer Vision

UNIVERSITY OF CALGARY. Real-time Implementation of An Exponent-based Tone Mapping Algorithm. Prasoon Ambalathankandy A THESIS

3D graphics, raster and colors CS312 Fall 2010

Research Paper LOCAL AND GLOBAL TONE MAPPING OPERATORS IN HDR IMAGE PROCESSING WITH AMALGAM TECHNIQUE Sujatha K a, Dr D Shalini Punithavathani b

Dense Image-based Motion Estimation Algorithms & Optical Flow

Multi-exposure Fusion Features

Eye tracking by image processing for helping disabled people. Alireza Rahimpour

An Abstraction Technique for Producing 3D Visual Contents

Improving visual function diagnostic metrics. Charles Campbell

SALIENCY WEIGHTED QUALITY ASSESSMENT OF TONE-MAPPED IMAGES

Filtering Images. Contents

OPTI-521 Graduate Report 2 Matthew Risi Tutorial: Introduction to imaging, and estimate of image quality degradation from optical surfaces

Computer Vision I - Filtering and Feature detection

On Evaluation of Video Quality Metrics: an HDR Dataset for Computer Graphics Applications

Peripheral drift illusion

Visual Acuity in Day for Night

Real-Time Universal Capture Facial Animation with GPU Skin Rendering

The SIFT (Scale Invariant Feature

Scalable many-light methods

TEMPORALLY CONSISTENT REGION-BASED VIDEO EXPOSURE CORRECTION

CS 4495 Computer Vision. Linear Filtering 2: Templates, Edges. Aaron Bobick. School of Interactive Computing. Templates/Edges

MIX RENDERINGS TO FOCUS PLAYER'S ATTENTION

Miniaturized Camera Systems for Microfactories

HDR-VDP-2: A calibrated visual metric for visibility and quality predictions in all luminance conditions

Recap of Previous Lecture

IMPLEMENTATION OF THE CONTRAST ENHANCEMENT AND WEIGHTED GUIDED IMAGE FILTERING ALGORITHM FOR EDGE PRESERVATION FOR BETTER PERCEPTION

3D Unsharp Masking for Scene Coherent Enhancement Supplemental Material 1: Experimental Validation of the Algorithm

Feature Sensitive Bas Relief Generation

The Display pipeline. The fast forward version. The Display Pipeline The order may vary somewhat. The Graphics Pipeline. To draw images.

SUMMARY: DISTINCTIVE IMAGE FEATURES FROM SCALE- INVARIANT KEYPOINTS

Transcription:

Perceptual Effects in Real-time Tone Mapping G. Krawczyk K. Myszkowski H.-P. Seidel Max-Planck-Institute für Informatik Saarbrücken, Germany SCCG 2005

High Dynamic Range (HDR) HDR Imaging Display of HDR content Perceptual Effects Statement luminance range [log cd/m2] 6 4 2 0 2 4 6 8 conventional display hdr camera human vision Figure: Various dynamic ranges

Sample HDR Frame Introduction HDR Imaging Display of HDR content Perceptual Effects Statement Figure: Sample frame from the HDR movie player [Mantiuk et al. 2004] [Mantiuk et al. 2004] Perception-motivated high dynamic range video encoding, Proc. of SIGGRAPH 2004

Display of HDR content (1) HDR Imaging Display of HDR content Perceptual Effects Statement Figure: Gamma corrected mapping to the displayable range

Display of HDR content (2) HDR Imaging Display of HDR content Perceptual Effects Statement Figure: Adaptive logarithmic mapping (global operator) [Drago et al. 2003] Adaptive Logarithmic Mapping For Displaying High Contrast Scenes, Proc. of Eurographics 2003

Display of HDR content (3) HDR Imaging Display of HDR content Perceptual Effects Statement Figure: Photographic tone reproduction (local operator) [Reinhard et al. 2002] Photographic Tone Reproduction for Digital Images, Proc. of Siggraph 2002

Perceptual Effects: Night Vision HDR Imaging Display of HDR content Perceptual Effects Statement Figure: Lack of color vision and loss of visual acuity in night scenes, comparing to daylight vision.

HDR Imaging Display of HDR content Perceptual Effects Statement Perceptual Effects: Veiling Luminance (Glare) Figure: Sample frame from the RNL demo [1] illustrating the veiling luminance effect (glare). [1] Debevec et al. Rendering with Natural Light Demo, www.debevec.org

Statement Introduction HDR Imaging Display of HDR content Perceptual Effects Statement Objectives for the display of HDR content: contrast reduction good local details visibility perceptual effects to convey realistic impression scotopic vision (no color perception) visual acuity veiling luminance Assumption: HDR data calibrated to cd m 2 units.

Previous Work Introduction HDR Imaging Display of HDR content Perceptual Effects Statement Majority of tone mapping algorithms neglect perceptual effects. Perceptual effects addressed solely: night vision [Ferwerda02] veiling luminance [Spencer95] Perceptual effects in offline TM [Ferwerda96, Ward97, Durand00], but each effect approached separately. Effects applied globally to increase performance. GPU implementation of TM without perceptual effects: global tone mapping [Drago03] (real-time) local tone mapping [Goodnight03] (interactive)

Contribution Introduction HDR Imaging Display of HDR content Perceptual Effects Statement Real-time implementation of local tone mapping with perceptual effects. Contribution: real-time tone mapping with perceptual effects efficient way to combine these effects effects applied in correct domain: local/global tone mapping embedded in a stand-alone module

s Overview Introduction Tone Mapping Night Vision Veiling Luminance Following methods contribute to the final result: tone mapping global mapping curve local detail preservation temporal adaptation night vision scotopic vision (lack of color discrimination) loss of visual acuity veiling luminance (glare)

Global Tone Mapping Introduction Tone Mapping Night Vision Veiling Luminance Tone mapping by [Reinhard et al. 2002] relate luminance to middle gray Y r = α Y Ȳ global mapping function L = Y r 1 + Y r α key value, Y HDR luminance, Ȳ adapting luminance, Y r relative luminance, L displayable pixel intensities [Reinhard et al. 2002] Photographic Tone Reproduction for Digital Images, Proc. of Siggraph 2002

Local Tone Mapping 1.2 1 0.8 0.6 0.4 0.2 1 2 0-30 -20-10 0 10 20 30 pixels 5 6 #1 #2 #3 #4 #5 #6 #7 #8 Introduction Tone Mapping Night Vision Veiling Luminance Preserve local details using spatially variant adaptation map V. L(x, y) = Y r (x, y) 1 + V (x, y) Adaptation map used for local tone mapping: 3 7 4 8 Gaussian Pyramid [Reinhard et al. 2002] Photographic Tone Reproduction for Digital Images, Proc. of Siggraph 2002

Temporal Luminance Adaptation Tone Mapping Night Vision Veiling Luminance Temporal adaptation compensates changes in illumination. Simulated by smoothing adapting luminance over time. Ȳ new a = Ȳ a + (Ȳ Ȳ a ) (1 e T τ ) τ rods = 0.4sec τ cones = 0.1sec Ȳ actual adapting luminance, Ȳ a filtered Ȳ according to the adaptation processes, τ speed of the adaptation, T discrete time step between frames [Durand and Dorsey 2002] Interactive Tone Mapping, Rendering Techniques 2000: 11th Eurographics Workshop on Rendering

Tone Mapping Night Vision Veiling Luminance Night Vision: Lack of Color Perception Human vision operates in three distinct adaptation conditions: scotopic mesopic photopic Vision monochromatic vision limited visual acuity good color perception good visual acuity Luminance 6 4 2 0 2 4 6 8 star light moon light office illumination sun light

Night Vision: Visual Acuity Tone Mapping Night Vision Veiling Luminance Perception of spatial details is limited with decreasing illumination level. The highest resolvable spatial frequency for adapting luminance: RF (Y ) = 17.25 arctan(1.4 log 10 Y +0.35)+25.72 Details removed by the convolution with the Gaussian kernel.

Veiling Luminance (Glare) Tone Mapping Night Vision Veiling Luminance Scattering of light in the optical system of the eye causes the decrease of contrast in the vicinity of relatively strong light sources. ( ρ OTF (ρ, d(ȳ )) = exp 20.9 2.1 d ρ spatial frequency, d pupil aperture 1.2 1 0.8 0.6 0.4 0.2 Y = 0.0001 [cd/m 2 ] Y = 0.01 [cd/m 2 ] Y = 1 [cd/m 2 ] Y = 100 [cd/m 2 ] 1.3 0.07 d ) 0-4 -2 0 2 4 pixels [Deeley at al. 1991] A simple parametric model of the human ocular modulation transfer function, Ophthalmology and Physiological Optics 1991

Requirements Similarities Hardware Details Results Real-time implementation of local tone mapping with perceptual effects. Requirements: efficient implementation of expensive spatial processing prevent redundancy of computations reuse spatially processed data a stand-alone rendering module in GPU

Similarities in Spatial Processing Similarities Hardware Details Results 1 Gaussian pyramid from local tone mapping can be reused to compute visual acuity and estimate veiling luminance. 5 2 3 6 7 scales 8 7 6 5 4 3 2 1 0 loss of visual acuity veiling luminance -4-2 0 2 4 6 8 log 10 luminance 4 8 Figure: Which scale from local tone mapping corresponds to which convolution for visual acuity and veiling luminance (glare). Gaussian Pyramid

Similarities Hardware Details Results Visual Acuity in Monochromatic Vision Lack of visual acuity is noticable in scotopic vision spatial processing of luminance is sufficient. 1 0.8 0.6 0.4 0.2 0 sensitivity of rods loss of visual acuity -4-2 0 2 4 6 8 log 10 luminance Figure: Correlation between scotopic sensitivity and visual acuity

Framework Design Introduction Similarities Hardware Details Results Rendering passes: 1 extract luminance 2 calculate perceptual data (Gaussian Pyramid) render new scale 2 pass convolution update adaptation map by comparing scales update visual acuity choosing right scale per pixel update glare map choosing right scale per image 3 tone mapping with perceptual effects

Approximate Convolution Similarities Hardware Details Results Convolving with large kernels: down-sample convolve H convolve V up-sample 1.2 1 0.8 0.6 #2 (/1) #3 (/2) #4 (/2) #5 (/4) #6 (/4) #7 (/8) #8 (/8) 0.4 0.2 0-20 -15-10 -5 0 5 10 15 20 pixels Figure: Effective Gaussian kernel due to down-sampling.

Final Tone Mapping Equations Tone mapping equation: Recovering color information: R L G L B L Similarities Hardware Details Results L(x, y) = Y acuity (x, y) + Y glare (x, y) 1 + V (x, y) = 1 Y R G B photopic L (1 σ(y )) + 1.05 0.97 1.27 scotopic L σ(y ) {R, G, B} original HDR values, {R L, G L, B L } displayable values σ rods sensitivity, V adaptation map, Y HDR luminance, L tone mapped luminance

Performance Introduction Similarities Hardware Details Results 320x240 640x480 1024x768 8 scales 8ms (58fps) 25ms (27fps) 80ms (10fps) 6 scales 7ms (62fps) 21ms (30fps) 66ms (12fps) 4 scales 6ms (62fps) 16ms (30fps) 51ms (14fps) Table: Time-slice required for the display of an HDR frame using perceptual tone mapping. Processor: Pentium4 2GHz System: CygWIN under WindowsXP Graphics card: NVIDIA GeForce 6800GT : C++ / OpenGL / Cg

Introduction Similarities Hardware Details Results Demo Real-time HDR Video playback with perceptual effects

Bottlenecks and Trade-offs Performance issues: context switching due to multi-pass rendering large or high resolution displays may require more scales Constraints: not every tone mapping method can be implemented in framework limited choice of PSF models for veiling luminance

Conclusions Introduction Increasing application of HDR images and video raises the issue of displaying them on typical display devices : real-time local tone mapping with perceptual effects efficient way to combine these effects effects applied in correct domain: local/global a plug-able stand-alone framework implementation in graphics hardware

Thank You

Local Tone Mapping Global tone mapping function may lead to the loss of fine details. Local details can be preserved using spatially variant adaptation map V. L(x, y) = Y r (x, y) 1 + V (x, y) Local adaptation map could be a low-pass filtered HDR image, but it leads to halo artifacts. [Reinhard et al. 2002] Photographic Tone Reproduction for Digital Images, Proc. of Siggraph 2002

Local Adaptation Map Finding appropriate adaptation area 1 build a Gaussian Pyramid 2 find the largest scale s, which does not cause high variation of local luminance V between scales V s (x, y) V s 1 (x, y) < ɛ [Reinhard et al. 2002] Photographic Tone Reproduction for Digital Images, Proc. of Siggraph 2002

Scotopic Vision Human vision operates in three distinct adaptation conditions: scotopic mesopic photopic Vision monochromatic vision limited visual acuity good color perception good visual acuity Luminance 6 4 2 0 2 4 6 8 star light moon light office illumination sun light Sensitivity of rods σ can be modelled after [Hunt 1995]: σ(y ) = 0.04 0.04 + Y

Visual Acuity (1) Perception of spatial details in human vision becomes limited with decreasing illumination level. The highest resolvable spatial frequency for given adapting luminance: RF (Y ) = 17.25 arctan(1.4 log 10 Y + 0.35) + 25.72 spatial frequency 50 40 30 20 10 0-4 -2 0 2 4 6 8 log 10 luminance On typical displays simulation possible for luminance below 0.5 cd m 2 [Shaler 1937] The Relation Between Visual Acuity and Illumination, Journal of General Psychology 1937 [Ward at al. 1997] A Visibility Matching Tone Reproduction Operator for High Dynamic Range Scenes, IEEE TVCG 1997

Visual Acuity (2) Details can be removed from an image by the convolution with the Gaussian kernel. Effect dependent on local illumination. s acuity (Y ) = width fov 1 1.86 RF (Y ) 1.2 1 0.8 0.6 0.4 0.2 width fov 45 0-30 -20-10 0 10 20 30 pixels Y = 0.0001 [cd/m 2 ] Y = 0.001 [cd/m 2 ] Y = 0.01 [cd/m 2 ] Y = 0.1 [cd/m 2 ] width frame width in pixels, fov horizontal field of view in visual degrees [Ward at al. 1997] A Visibility Matching Tone Reproduction Operator for High Dynamic Range Scenes, IEEE TVCG 1997