SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production SIGGRAPH 2010 Color Enhancement and Rendering in Film and Game Production.

Slides:



Advertisements
Similar presentations
Film and Sensitometry The science of measuring an emulsions reaction (sensitivity) to light is called sensitometry The Characteristic Curve The graph that.
Advertisements

Multispectral Format from Perspective of Remote Sensing
Digital Image Processing
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
EXPOSURE TOOLS The Essential Reference Guide for Filmmakers.
Week 7 - Monday.  What did we talk about last time?  Specular shading  Aliasing and antialiasing.
Camera Film and HD Continued. Basics (review) Like an imperfect eye Lens gathers light reflected off surfaces A surface senses the pattern formed by differences.
Image Processing IB Paper 8 – Part A Ognjen Arandjelović Ognjen Arandjelović
Color Image Processing
Light, Color & Perception CMSC 435/634. Light Electromagnetic wave – E & M perpendicular to each other & direction Photon wavelength, frequency f = c/
Sep 21, Fall 2005ITCS4010/ Computer Graphics Overview Color Displays Drawing Pipeline.
Image Forgery Detection by Gamma Correction Differences.
Sep 21, Fall 2006IAT 4101 Computer Graphics Overview Color Displays Drawing Pipeline.
IAT 3551 Computer Graphics Overview Color Displays Drawing Pipeline.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
CS248 Midterm Review. CS248 Midterm Mon, November 5, 7-9 pm, Terman Aud Mon, November 5, 3-5 pm, Gates 392 Mostly “short answer” questions Covers through.
1/22/04© University of Wisconsin, CS559 Spring 2004 Last Time Course introduction Image basics.
CS559-Computer Graphics Copyright Stephen Chenney Color Recap The physical description of color is as a spectrum: the intensity of light at each wavelength.
Post-rendering Cel Shading & Bloom Effect
Dye Sublimation Color Management
Digital Photography Fundamentals Rule One - all digital cameras capture information at 72 dots per inch (DPI) regardless of their total pixel count and.
9/14/04© University of Wisconsin, CS559 Spring 2004 Last Time Intensity perception – the importance of ratios Dynamic Range – what it means and some of.
Digital Image Characteristic
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 6 This presentation © 2004, MacAvon Media Productions Colour.
Spectral contrast enhancement
09/05/02© University of Wisconsin, CS559 Spring 2002 Last Time Course introduction Assignment 1 (not graded, but necessary) –View is part of Project 1.
Abab And we continue with the hows and whys of analogue soundtracks, from conventional silver tracks over high magenta up to the final dye tracks.
Comparing Regular Film to Digital Photography
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Validation of Color Managed 3D Appearance Acquisition Michael Goesele Max-Planck-Institut für Informatik (MPI Informatik) Vortrag im Rahmen des V 3 D 2.
Interactive Time-Dependent Tone Mapping Using Programmable Graphics Hardware Nolan GoodnightGreg HumphreysCliff WoolleyRui Wang University of Virginia.
9/9/04© University of Wisconsin, CS559 Spring 2004 Last Time Course introduction Digital Images –The difference between an image and a display –Ways to.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Advanced Computer Graphics Advanced Shaders CO2409 Computer Graphics Week 16.
Tone Mapping on GPUs Cliff Woolley University of Virginia Slides courtesy Nolan Goodnight.
Game Programming 06 The Rendering Engine
CS6825: Color 2 Light and Color Light is electromagnetic radiation Light is electromagnetic radiation Visible light: nm. range Visible light:
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
How digital cameras work The Exposure The big difference between traditional film cameras and digital cameras is how they capture the image. Instead of.
SIGGRAPH 2010 Course: Physically Based Shading Models in Film and Game Production SIGGRAPH 2010 Physically Based Shading Models in Film and Game Production.
The Reason Tone Curves Are The Way They Are. Tone Curves in a common imaging chain.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
Introduction to Computer Graphics
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Surround-Adaptive Local Contrast Enhancement for Preserved Detail Perception in HDR Images Geun-Young Lee 1, Sung-Hak Lee 1, Hyuk-Ju Kwon 1, Tae-Wuk Bae.
Visual Appearance Chapter 4 Tomas Akenine-Möller Department of Computer Engineering Chalmers University of Technology.
Augmented Reality and 3D modelling Done by Stafford Joemat Supervised by Mr James Connan.
Applying Pixel Values to Digital Images
Intelligent Robotics Today: Vision & Time & Space Complexity.
Greg Ward Exponent - Failure Analysis Assoc. Elena Eydelberg-Vileshin
ECE 638: Principles of Digital Color Imaging Systems Lecture 12: Characterization of Illuminants and Nonlinear Response of Human Visual System.
2015, Autumn Visualization with 3D CG Masaki Hayashi Color theory & Digital camera.
09/10/02(c) University of Wisconsin, CS559 Fall 2002 Last Time Digital Images –Spatial and Color resolution Color –The physics of color.
Color Measurement and Reproduction Eric Dubois. How Can We Specify a Color Numerically? What measurements do we need to take of a colored light to uniquely.
Click to edit Master title style Click to edit Master text styles Second level Third level Fourth level Fifth level 1 Integrated Color Solutions A presentation.
Computer Graphics Overview
Display Issues Ed Angel
Color Image Processing
Color Image Processing
CH. 6 Photographic Transparencies
Color Image Processing
Light, Color & Perception
Color & Light CMSC 435/634.
Introduction to Computer Graphics with WebGL
© University of Wisconsin, CS559 Spring 2004
Color Image Processing
Color Image Processing
Acquisition and display of a still color image A-Z
Color Model By : Mustafa Salam.
Presentation transcript:

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production SIGGRAPH 2010 Color Enhancement and Rendering in Film and Game Production -Film Simulation for Video Games Yoshiharu Gotanda Research and Development Department tri-Ace, Inc.

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Motivation Use film characteristics as a standard for tone-mapping –Tried several tone-mapping algorithms Artistically not satisfying –Companies have designed many types of film Engineers have been trying to improve quality to reproduce –High fidelity colors –Memory colors

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Film specification Spectral Sensitivity Curves (SSC) –The relative sensitivity of a particular emulsion to specific bands of the spectrum within the films sensitivity range

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Film specification H-D curves –The graph made by plotting the density of a film sample against the log of the exposure that made that density –Also called Hurter-Driffield curves Characteristic curves D-logE curves D-logH curves

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Film specification Spectral Dye-density Curves (SDC) –A graph Of the total density of the three dye layers measured as a function of wavelengths Of the visual neutral densities of the combined layers similarly measured

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production First approach Used a simple tone mapping pipeline Input ColorPre-color matrix Non-linear conversion (with texture fetch) For each component (r,g,b ) : Post-color matrixOutput Color

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Pre-color matrix Use Spectral Sensitivity Curves –No integrals –Just pick values at 464, 549, 612nm for the matrix –Extrapolate the graph if no values at the wavelengths needed Picked values here Extrapolate

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Tone curve texture Use H-D Curves –Just apply the curves as tone curve –Apply gamma correction –Edit tone curve manually

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Post-color matrix No film data used –SDC is not used –Manual color filters Contrast / Brightness Color temperature Etc…

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Duplication process Is applied when a negative film is chosen –Orange removal –Print film spec is also multiplied Only tone curve texture No SSC is used

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Result ReinhardK-reversal

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Result F-reversalK-reversal

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Result F-reversal 2K-negative

Comparisons Reinhard K-reversal F-reversal K-negative

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production No film simulation First approach was NOT a simulation –Used film data for the existing tone mapping pipeline –No film specific characteristics at all Only color matrix and tone curve were used

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Second approach Try to reproduce film specific characteristics –Simulate each color process as best as possible from the spec sheets Spec sheet missing information Interpolate or complement missing information

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Simulation overview Input energy (HDR) (W/m 2 at R,G,B) Spectral energy (mW ・ s/m 2 /nm/ISO100) (380nm-780nm) Spectrum reconstruction Dye density (D, negative film) (3 layers) Virtual exposure Virtual duplication Dye density (D, print film) (3 layers) Spectral intensity (no physical unit) (380nm-780nm) Virtual projection sRGB color value (LDR) Spectrum to sRGB conversion Input energy (HDR) (mW ・ s/m 2 /ISO100 at R,G,B) Transmission through lens

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step Input Energy Stored in the frame buffer –We store energy (mW/m 2 ) in the frame buffer –Need the physical unit due to Spectral Sensitivity Curves e.g. erg/cm 2

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step Physical units for lights Physical units are used for intensity of lights –Basically, W/m 2 in R,G,B –Conversion Lux to W/m 2 Lumen to W/m 2 Color temperature to R,G,B –6,500K is white (sRGB)

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 2 – Precision problem & Conversion For low precision frame buffers –e.g. 8bit, 7e-3 (10bit) –Real dynamic range is too wide Banding –Unit is converted for utilizing dynamic range efficiently and SSC requirement mJ / m 2 / F / ISO100 Scale factor for conversion F-stop Shutter speed ISO sensitivity Image with banding

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 3 - Spectrum reconstruction Spec sheets require spectral information –RGB should be converted to a spectrum –Create discrete spectral data from R,G,B using a conversion matrix Input Color Reconstruction Matrix Discrete Spectral Data (Vector) To virtual exposure Frame Buffer See the course notes for details

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Difference from the matrices Standard reconstruction matrixAnother reconstruction matrix Color balance of this matrix is not adjusted properly

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 4 - Virtual exposure Get densities of 3 dyes For each R,G,B dye : Dye densities Spectral Sensitivity Curves in linear space Discrete Spectral Energy Matching Vector H-D curves From spectrum reconstruction or virtual projection (explained later) To duplication or projection

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Density Definition of density –How much light gets through (transmission) and how much light doesn’t (opacity, the reciprocal of transmittance). Light transmitted by the film Light incident on processed film

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Matching Vectors Vector to connect Spectral Sensitivity Curves and H-D Curves –Ideally 3D spectral sensitivity surfaces are required Ideal 3D spectral sensitivity surfaces

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Matching Vectors Assume that SSC is scaled by the factor from H-D curve Matching Vector

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 5 – Virtual duplication For negative films –Color is reversed –Duplication process is required to see the film with proper colors

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 5 – Virtual duplication Shoot a negative film with print (or intermediate) film –Need a light source for duplication process –Assumed use of color filters and lamp specified by spec sheets 400nm – 1,000nm

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Virtual light source Spectrum pattern of tungsten light

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Color filters for the light source Documentation recommends these color filters –KODAK WRATTEN Gelatin Filters Red No. 70 for red separation Green No. 99 for green separation Blue No. 98 for blue separation 2B filter for UV filter No for Infrared filter (not WRATTEN filter) ND filters

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Color filters and ND filters Filters that we used –Appropriately designed based on recommended filters Color Filter ND Filter Magnitude Red0.5 Green0.55 Blue0.9

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Calibration Printing calibration –Acquire the correct white balance and brightness of the print film Using negative film, shoot an 18% gray card with proper exposure and develop it Adjust spectrum of the virtual light to get the specified densities according to the spec sheet –Iteratively computed in our implementation Practically one iteration is enough, because color separation is good

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Approximation of SDC SDC of negative film for duplication is approximated Output spectrum Spectrum of projection light Spectrum of D- min in SDC Matching constant SDC Densities from virtual exposure D-min in H-D Curves Midscale density from H-D Curves D-min in H-D Curves From exposure of negative film To virtual exposure of print film

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Two calibration modes Calibrate the spectrum to get the densities specified by the print films’ spec sheet –Follow the printing method 18% gray doesn’t become perfect gray due to the balance of Spectral Dye-density Curves Calibrate the spectrum to get densities for Equivalent Neutral Density 0.7 (E.N.D. 0.7) –To get neutral gray

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Comparison of two calibration modes Based on spec sheet Based on neutral gray Same negative and print film

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Infrared The red dye peak sensitivity in the print film is closer to the infrared domain than camera film –Why? Maybe for color separation –The red dye tends to be influenced from infrared Over 800nm spectrum affects our result

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Implementation comparison With infrared domainWithout infrared domain Same negative and print film

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 6 – Virtual projection Projection to see the developed film –Spectral Dye-density Curves show how much light passes through from the light source in spectral domain when projected Ideally these curves should be provided as 3D graph Assume that real curves are proportionally scaled by density –Light source is assumed to be 6,500K ideal black-body light For sRGB For theaters, should be about 5,500K

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 6 - Virtual Projection Print and positive film don’t have D-min –Simpler expression Output spectrum Spectrum of projection light SDC Densities from virtual exposure From exposure of positive or print film To RGB conversion

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Step 7 - Final conversion Final spectral data is converted to sRGB –The discrete spectral vector is converted to an sRGB vector using the matrix The matrix is designed using Color Matching Function Table in the white paper of XYZ color space RGB primaries are based on sRGB color space –Gamma correction is applied also

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Computation These computations in steps are too expensive to do in real-time –Pre-computed and stored in a volume texture 3D LUT –32x32x32 is ideal resolution for performance However, it has insufficient precision

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Compression Compressed in log-space –ISO sensitivity is a scalar value multiplied to the input color –U,V,W coordinates for texture fetch are converted to log-space

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Result ReinhardF-Reversal

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Result K-ReversalF-Reversal

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Result K-NegativeF-Reversal 2

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Comparison K-Negative F-Reversal K-Reversal Reinhard

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Comparison New K-Reversal Old K-reversal

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Comparison New F-Reversal Old F-reversal

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Comparison New K-Negative Old K-negative

SIGGRAPH 2010 Course: Color Enhancement and Rendering in Film and Game Production Conclusion Our simulation seems to successfully reproduce film characteristics Using spec sheets as parameters is not enough Film simulation can be an attractive tone-mapping representation

SIGGRAPH 2010 Course: Physically Based Shading Models in Film and Game Production Thanks to the following people R&D programmers: –Tatsuya Shoji, Bart Sekura and Elliott Davis Artists: –Kenichi Kanekura, Kazuki Shigeta, Kenichi Kaneko and Ryo Mizukami Speakers for this course

SIGGRAPH 2010 Course: Physically Based Shading Models in Film and Game Production Thanks htttp://research.tri-ace.com