VU Rendering SS Unit 8: Tone Reproduction

Similar documents
Color , , Computational Photography Fall 2018, Lecture 7

Multiscale model of Adaptation, Spatial Vision and Color Appearance

Realistic Image Synthesis

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

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

icam06, HDR, and Image Appearance

High dynamic range and tone mapping Advanced Graphics

Color , , Computational Photography Fall 2017, Lecture 11

Color Reproduction. Chapter 6

25/02/2017. C = L max L min. L max C 10. = log 10. = log 2 C 2. Cornell Box: need for tone-mapping in graphics. Dynamic range

Chapter 3 Part 2 Color image processing

High Dynamic Range Imaging

High dynamic range imaging and tonemapping

Brightness Calculation in Digital Image Processing

12 Color Models and Color Applications. Chapter 12. Color Models and Color Applications. Department of Computer Science and Engineering 12-1

CS 565 Computer Vision. Nazar Khan PUCIT Lecture 4: Colour

Multimedia Systems Color Space Mahdi Amiri March 2012 Sharif University of Technology

Computer and Machine Vision

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

Computer Graphics. Si Lu. Fall er_graphics.htm 10/02/2015

The Science Seeing of process Digital Media. The Science of Digital Media Introduction

HDR Images (High Dynamic Range)

Images and Displays. Lecture Steve Marschner 1

HDR formats. Imaging & Randering

DIGITAL IMAGING FOUNDATIONS

Colour. Cunliffe & Elliott, Chapter 8 Chapman & Chapman, Digital Multimedia, Chapter 5. Autumn 2016 University of Stirling

COLOR and the human response to light

Color images C1 C2 C3

Color appearance in image displays

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

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

DodgeCmd Image Dodging Algorithm A Technical White Paper

Perceptual Rendering Intent Use Case Issues

Sampling and Reconstruction. Today: Color Theory. Color Theory COMP575

High Dynamic Range Imaging: Towards the Limits of the Human Visual Perception

Color Image Processing

Color & Compression. Robin Strand Centre for Image analysis Swedish University of Agricultural Sciences Uppsala University

SilverFast. Colour Management Tutorial. LaserSoft Imaging

High Dynamic Range Images

Colour. Why/How do we perceive colours? Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!

Color Science. What light is. Measuring light. CS 4620 Lecture 15. Salient property is the spectral power distribution (SPD)

Photo Editing Workflow

Lecture 3: Grey and Color Image Processing

Histograms and Color Balancing

Color and Perception. CS535 Fall Daniel G. Aliaga Department of Computer Science Purdue University

High Dynamic Range Images : Rendering and Image Processing Alexei Efros. The Grandma Problem

ICC Votable Proposal Submission Colorimetric Intent Image State Tag Proposal

ImageEd: Technical Overview

Graphics and Image Processing Basics

Colour. Electromagnetic Spectrum (1: visible is very small part 2: not all colours are present in the rainbow!) Colour Lecture!

Compression and Image Formats

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

A Comparison of the Multiscale Retinex With Other Image Enhancement Techniques

The human visual system

Mahdi Amiri. March Sharif University of Technology

Color Computer Vision Spring 2018, Lecture 15

The Quality of Appearance

Local Adjustment Tools

Report #17-UR-049. Color Camera. Jason E. Meyer Ronald B. Gibbons Caroline A. Connell. Submitted: February 28, 2017

Image Processing for Mechatronics Engineering For senior undergraduate students Academic Year 2017/2018, Winter Semester

COLOR. and the human response to light

Reference Free Image Quality Evaluation

Understand brightness, intensity, eye characteristics, and gamma correction, halftone technology, Understand general usage of color

Raster (Bitmap) Graphic File Formats & Standards

Image and video processing (EBU723U) Colour Images. Dr. Yi-Zhe Song

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

Colour Management Workflow

On Contrast Sensitivity in an Image Difference Model

the eye Light is electromagnetic radiation. The different wavelengths of the (to humans) visible part of the spectra make up the colors.

Issues in Color Correcting Digital Images of Unknown Origin

Images and Graphics. 4. Images and Graphics - Copyright Denis Hamelin - Ryerson University

Sampling Rate = Resolution Quantization Level = Color Depth = Bit Depth = Number of Colors

High Dynamic Range (HDR) Photography in Photoshop CS2

Higher Visual Mechanisms. Higher Visual Mechanisms

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

Images. CS 4620 Lecture Kavita Bala w/ prior instructor Steve Marschner. Cornell CS4620 Fall 2015 Lecture 38

For a long time I limited myself to one color as a form of discipline. Pablo Picasso. Color Image Processing

What Is Color Profiling?

On Contrast Sensitivity in an Image Difference Model

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

ABSTRACT 1. PURPOSE 2. METHODS

Out of the Box vs. Professional Calibration and the Comparison of DeltaE 2000 & Delta ICtCp

Visual Perception. Overview. The Eye. Information Processing by Human Observer

Camera Image Processing Pipeline: Part II

Camera Image Processing Pipeline

Chapter 9 Image Compression Standards

IMAGE PROCESSING >COLOR SPACES UTRECHT UNIVERSITY RONALD POPPE

Soft Proofing Page: 1

Digital Image Processing Color Models &Processing

12/02/2017. From light to colour spaces. Electromagnetic spectrum. Colour. Correlated colour temperature. Black body radiation.

A BRIGHTNESS MEASURE FOR HIGH DYNAMIC RANGE TELEVISION

Frequently Asked Questions about Gamma

Lossless Image Watermarking for HDR Images Using Tone Mapping

VC 16/17 TP4 Colour and Noise

Black point compensation and its influence on image appearance

Prof. Feng Liu. Winter /09/2017

Images and Colour COSC342. Lecture 2 2 March 2015

Images and Displays. CS4620 Lecture 15

Capturing Light in man and machine

What s New in Capture NX

Transcription:

VU Rendering SS 2012 Unit 8: Tone Reproduction

Overview 1. The Problem Image Synthesis Pipeline Different Image Types Human visual system Tone mapping Chromatic Adaptation 2. Tone Reproduction Linear methods Nonlinear and perceptual methods 2

Image Synthesis Pipeline Modeling Rendering Output can be RGB, XYZ, spectral images Predictive rendering yields high dynamic range images Display Typical devices have limited range for both luminance and colour 3

4 Raytracing Camera

What is HDR? The dynamic range of a scene is the contrast ration between its brightest and darkest parts 5

Real World has High Dynamic Range 1 1500 25 000 400 000 2 000 000 000 6

In Theory... Captures of reality (or realistic rendering) leads to high dynamic range images These cannot be displayed directly on normal display hardware Special image formats are necessary A display representation which yields the same visual sensation as viewing of the real scene is also needed 7

8 In Theory...

9 In Practice...

The Problem It is usually impossible to solve the reproduction task perfectly It strongly depends on the output device Various heuristics of increasing complexity exist Full perception models difficult Animations pose additional challenges (frame to frame coherency) 10

Image Types Relative Values Measured in terms of some maximal output device capability Computer screens: two orders of magnitude Printouts: a range of roughly 10 luminance units 8 bit images: 256 steps (!) Absolute Radiometric Values Captures of reality - scene reference images This is what digital cameras ought to capture! 11

Storage: Image Formats Capture / output of rendering has to be stored for later processing Conventional formats High-dynamic range colour space formats Spectral formats (possibly including polarization information) Any format except the last category destroys information gathered during rendering / image capture! 12

Conventional Image Formats Usually RGB (TIFF, PNG, JPEG, ) TIFF: also CIE L*a*b* Normally: 8 bits per channel TIFF: 16 bit possible (JPEG 12 bit) Brightness ends at 1! device dependent No physical meaning of values Advantage: compact size, standardised Disadvantage: large amounts of information are destroyed 13

High Dynamic Range Formats Values have physical meaning Floating point components! large range Advantage: compact size, standardised, few quantization errors Disadvantage: compression can introduce artefacts (not understood by Photoshop et. al.) Radiance RGBE (*.hdr), Pixar Log and LogLuv TIFF, ART XYZ (uncompressed), OpenEXR 14

OpenEXR HDR Image Format Developed by ILM for production use (2002) Harry Potter, MIB 2,... High dynamic range image format Tailored to the needs of the movie industry Open source, freely available www.openexr.net BSD style license 15

OpenEXR Motivation Formats with 8 bits per channel are fundamentally unsuitable for movie work 16 bit per channel formats have limitations with respect to post-processing 32-bit LogLuv TIFF is overkill for production use Sufficient precision, but large size With 3k x 2k pixel images size does matter Additional features (annotations) desirable 16

OpenEXR Features 1 16 and 32 bit floating point colours 16 bits: 10 9 range, 30 f-stops 8-bit images: ~7-10 stops ~1000 colour steps per f-stop 8-bit: ~70 No loss in accuracy even through repeated processing Lossless compression ~ 35% - 55% for grainy images 17

OpenEXR Features 2 16 bit floating point data compatible with Nvidia CG data type HALF EXR images can be directly used in hardware Arbitrary information can be stored alongside image data Camera settings Colour timing information Arbitrary image channels R, G, B, Alpha, Y, U, V,... 18

OpenEXR Display vs. Data Data which extends beyond display is needed for post-processing (wide filter kernels) Subimages can be useful for compositing 19

Spectral Image Formats N spectral samples per pixel Floating point components " large range No widely standardized formats FITS and ARTRAW are lone examples Values have physical meaning Advantage: no quantization errors, no compression errors, no information lost from rendering pass Disadvantage: huge filesizes (up to ~400MB for 640x480!), rarely any support outside originating package 20

Image Post-Processing Two Tasks Gamut mapping: Getting all colours into the display gamut Tone mapping: Fitting the luminance range to a given device Gamut Mapping Tone Mapping Tone Reproduction 21

Gamut Mapping: Approaches Move colour values into the displayable area Local: Outlying points are individually moved Fast Highlights may be lost Global: all points are analysed, and the point cloud is shrunk so that it fits into the gamut Relation between colours is maintained De-saturation of image 22

Tone-Mapping Task Original Reproduction 23

Test Image Sequence 24

Clipping on 1 25

Tone Reproduction Operators Three different approaches Global Methods Spatially uniform Linear scale factor Non-linear scale factor Local Methods Spatially non-uniform Perceptual approaches 26

Global Methods Scaling of all luminance values by a given factor Primitive & fast Automatic determination of the factor Sufficient for many scenes Will result in very dark images if the HDR image has a wide dynamic range Linear and non-linear operators 27

Linear Solutions All luminance values are scaled by the same linear factor Mean value mapping Interactive calibration Ward s contrast based scaling factor L d = device intensity, L w = world intensity 28

Mean Value Mapping Mean value of the histogram is mapped to 0.5 Values outside the contrast interval are clipped (truncated) L d = 0.5*L w / L davg Displayable interval n L original contrast interval 29

Mean Value Mapping Example 30

Interactive Calibration Interactively define the area of the available contrast interval Interactively define the range of the available contrast interval Displayable interval n L original contrast interval 31

Interactive Calibration Interactively define the area of the available contrast interval Interactively define the range of the available contrast interval Displayable interval n L original contrast interval 32

Interactive Calibration Example 33

Ward s Contrast Based Scaling L dmax... maximum display luminance L wa... environment adaptation degree Good results: just visible differences remain But image has to be given in absolute units 34

Ward Example 35

Nonlinear Methods Scaling factor nonlinear Exponential Mapping Schlick s Method Mapping by Tumblin and Rushmeier Visual Adaptation Model (Ferwerda et al)... 36

Exponential Mapping Exponential function corresponds to human perception Reduces the overproportional influence of a few very bright pixels L d =1" e "L w L wavg displayable contrast interval n L original contrast interval 37

Exponential Mapping Example 38

Schlick s Method L d = p " L w (p #1) " L w + L w max p = M " L w max N " L w min M... darkest grey N... # of available color steps Exhibits behaviour similar to exponential mapping Well suited for images with high contrast Can fail completely! 39

Schlick Example 40

Local Methods Differences between various parts of the image are taken into account Similar to techniques from photography, the image is separated into zones to determine brightness targets A local kernel of variable size is used for the final tone reproduction step Can look artificial 41

Variable Parameters Size of kernel determines final image sharpness and blurring of bright areas Light is automatically selectively withheld ( dodging and burning ) in areas with large adjacent illumination 42

Local Method Examples #1 43

44 Local Method Examples #2

Perceptual Methods Results from physiology and psychology are used in order to reproduce the behaviour of the human visual system Two-pronged approach: one has to determine what a person would see if the scene were real and then try to reproduce this sensation using a display device 45

Perceptually Based Models Scene Intensities Adaptation Model R Scene Appearance Model Q Display Intensities Inverse Adaptation Model R Display Inverse Appearance Model The top row computes the viewed scene appearance The lower row attempts to reproduce this perception on the display device 46

Model of Visual Adaptation Pioneering work by Ferwerda et al. [1996] Based on physiological model Takes into account Threshold sensitivity Color appearance Visual acuity Light adaptation Dark adaptation 47

Visual Acuity 48

Light Adaptation J. Ferwerda, Cornell 49

Dark Adaptation J. Ferwerda, Cornell 50

Ferwerda Example 51

Colour Constancy 52

What is Chromatic Adaptation? 53

Chromatic Adaptation: Example incandescent illumination original colour corrected image image

Colour Correction Alternative name: white balance Attempts to replicate the illuminant hue compensation of the human visual system Necessary to evoke identical viewer response for captured or synthetic scenes, and real images Problem: different viewing surrounds Real scene: immersion Captured scene (image): displayed on monitor

CC Algorithms Still challenging task Many algorithms exist Gray world White patch Neural networks... All algorithms are image based Only two exist that are scene driven 56

Colour Correction Workflow Colour Correction is a two-step process: Determining the illuminant colour Applying a transform that compensates for the illuminant Step 1 is the tricky one if you only have image data at your disposal

Gray World and White Patch Gray World Assumption: Average of all pixels is gray Average is mapped to gray Fails if assumption is violated White Patch Assumption: There is always a white object in the image (e.g. highlight) Brightest pixel is mapped to white Fails if no white object is in scene Better: Scene-based 58

CC State of the Art Practically all techniques only use image data Large research area in computer vision Very sophisticated methods available, but none are entirely robust Idea: A reliable CC method that uses additional information about an image that can be gathered during rendering (Almost) free, simple, robust End result just as good as with image-based methods

Algorithm Overview Two additional images are computed during rendering All directly viewed surfaces set to neutral All lights set to neutral on directly viewed surfaces Cheap to compute as by-product of rendering Sub-sampling possible Images processed to get illumination estimate

NWCI Image NWCI stands for Neutral World, Coloured Illuminants original image NWCI image All surfaces are set to neutral, while the illuminants retain their colours.

CWNI Image NWCI stands for Coloured World, Neutral Illuminants original image CWNI image All surfaces retain their colours, while the illuminants are set to neutral.

RCA Algorithm

1 - Chroma Image original CWNI image 1 - Chroma image 1 - Chroma: bright in those areas that have neutral surface colour, dark in those with high chroma

NWCImul Image original NWCI 1 - Chroma image image NWCImul image NWCImul: NWCI multiplied with the 1 - Chroma image

White vs. Orange World original colour corrected image image white box, orange light original colour corrected image image orange box, white light

Image Based Algorithms Gray World Retinex Local Shift

3D Mondrian, Yellow Illuminant original colour corrected image image original colour corrected image image no white object present one white block in scene

Green-Blue 3D Mondrian, Blue Light original colour corrected image image original colour corrected image image no white object present one white block in scene

Adaptation for Reference White Objects original colour corrected image image CWNI 1 NWCImul - Chroma image image

Additional Examples original colour corrected image image original colour corrected image image strong orange object colour cast, orange light strong indirect illumination colour cast

Realistic Scene, Various Illuminants incandescent daylight, green daylight illumination tinted window original colour corrected image image

Animation 73

Interactive Tone Reproduction Interactive applications Walkthroughs Games Flight/driving simulators,... Additional effects Dazzling Slow dark adaptation Other subtle effects of visual adaptation 74

The End Thank you for your attention! 75