Computer graphics & visualization HDRI. computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization.

Slides:



Advertisements
Similar presentations
Grey Level Enhancement Contrast stretching Linear mapping Non-linear mapping Efficient implementation of mapping algorithms Design of classes to support.
Advertisements

Visualization and graphics research group CIPIC May 25, 2004Realistic Image Synthesis1 Tone Mapping Presented by Lok Hwa.
High Dynamic Range Imaging Samu Kemppainen VBM02S.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Computational Biology, Part 23 Biological Imaging II Robert F. Murphy Copyright  1996, 1999, All rights reserved.
Chapter 3 Image Enhancement in the Spatial Domain.
Digital Image Fundamentals Selim Aksoy Department of Computer Engineering Bilkent University
Digital Imaging and Image Analysis
Topic 4 - Image Mapping - I DIGITAL IMAGING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Enhancement in the Spatial Domain
Image (and Video) Coding and Processing Lecture 5: Point Operations Wade Trappe.
Digital Image Processing
BYST Eh-1 DIP - WS2002: Enhancement in the Spatial Domain Digital Image Processing Bundit Thipakorn, Ph.D. Computer Engineering Department Image Enhancement.
Computational Photography Prof. Feng Liu Spring /15/2015.
EEE 498/591- Real-Time DSP1 What is image processing? x(t 1,t 2 ) : ANALOG SIGNAL x : real value (t 1,t 2 ) : pair of real continuous space (time) variables.
CS443: Digital Imaging and Multimedia Point Operations on Digital Images Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
Graphics File Formats. 2 Graphics Data n Vector data –Lines –Polygons –Curves n Bitmap data –Array of pixels –Numerical values corresponding to gray-
High Dynamic Range Imaging: Spatially Varying Pixel Exposures Shree K. Nayar, Tomoo Mitsunaga CPSC 643 Presentation # 2 Brien Flewelling March 4 th, 2009.
Image Enhancement.
Display Issues Ed Angel Professor of Computer Science, Electrical and Computer Engineering, and Media Arts University of New Mexico.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Lecture 2. Intensity Transformation and Spatial Filtering
1 Basics of Digital Imaging Digital Image Capture and Display Kevin L. Lorick, Ph.D. FDA, CDRH, OIVD, DIHD.
Post-rendering Cel Shading & Bloom Effect
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.
1 DICOM Imaging Pipeline Model Cor loef Philips Medical Systems.
Spectral contrast enhancement
Perception-motivated High Dynamic Range Video Encoding
: Chapter 12: Image Compression 1 Montri Karnjanadecha ac.th/~montri Image Processing.
Spatial Tone Mapping in High Dynamic Range Imaging Zhaoshi Zheng.
Remote Sensing and Image Processing: 2 Dr. Hassan J. Eghbali.
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
Point Operations – Chapter 5. Definition Some of the things we do to an image involve performing the same operation on each and every pixel (point) –We.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing Prof. Charlene Tsai.
1 Remote Sensing and Image Processing: 2 Dr. Mathias (Mat) Disney UCL Geography Office: 301, 3rd Floor, Chandler House Tel:
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
1 Introduction to Computer Graphics with WebGL Ed Angel Professor Emeritus of Computer Science Founding Director, Arts, Research, Technology and Science.
Film Digital Image Synthesis Yung-Yu Chuang 11/5/2008 with slides by Pat Hanrahan and Matt Pharr.
1 Chapter 2: Color Basics. 2 What is light?  EM wave, radiation  Visible light has a spectrum wavelength from 400 – 780 nm.  Light can be composed.
AdeptSight Image Processing Tools Lee Haney January 21, 2010.
MULTIMEDIA TECHNOLOGY SMM 3001 MEDIA - IMAGES. Processing digital Images digital images are often processed using “digital filters” digital images are.
Digital Image Processing Part 1 Introduction. The eye.
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/10/15 “Empire of Light”, Magritte.
The Reason Tone Curves Are The Way They Are. Tone Curves in a common imaging chain.
Introduction to Computer Graphics
02-Gray Scale Control TTF. A TTF tells us how an imaging device relates the gray level of the input to the gray level of the output. P L Luminance, L.
Histograms and Color Balancing Computational Photography Derek Hoiem, University of Illinois 09/13/11 “Empire of Light”, Magritte.
Colors. Color Systems In computer graphics, we use RGB colors. But… –Can it represent all colors? –Is it linear? For example, (1.0, 1.0, 1.0) is white.
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.
Tone mapping Digital Visual Effects, Spring 2007 Yung-Yu Chuang 2007/3/13 with slides by Fredo Durand, and Alexei Efros.
Digital Image Processing Lecture 4: Image Enhancement: Point Processing January 13, 2004 Prof. Charlene Tsai.
Digital Image Processing Image Enhancement in Spatial Domain
Introduction to Digital Image Analysis Kurt Thorn NIC.
Display Issues Ed Angel
CPSC 6040 Computer Graphics Images
Introduction to Computer Graphics with WebGL
Image Enhancement.
Digital Image Processing
Histogram Histogram is a graph that shows frequency of anything. Histograms usually have bars that represent frequency of occuring of data. Histogram has.
Image Processing – Contrast Enhancement
Image Enhancement in the Spatial Domain
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Digital Image Processing
Grey Level Enhancement
Digital Image Synthesis Yung-Yu Chuang 11/8/2007
Histogram The histogram of an image is a plot of the gray _levels values versus the number of pixels at that value. A histogram appears as a graph with.
Histograms and Color Balancing
Presentation transcript:

computer graphics & visualization HDRI

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Problem The world and our visual system has a HDR… … but not our digital equipment

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Need to find ways to Record Store Process HDR Data Convert and output

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Recording Engineering versus Nature

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Lense-System

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Chromatic aberration HumanEngineer

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Chromatic aberration HumanEngineer

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Chromatic aberration

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Resolution Retina CCD - Charge-coupled Device

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Resolution Estimated overall resolution: 15 to 576 megapixels

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Resolution

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Dynamic Range From: 100:1 (single focus) to 1,000,000:1 (Purkinje effect) 16384:1

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Nature the clear looser? Not really  excessive post processing

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Post processing

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Post processing

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Post processing

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Post processing… …is executed parallel and hierarchical

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Alternatives HDR Cameras Multiple Exposures expensive dynamic scenes

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Merging multiple exposures camera exposure curve rescale and add weighted mean in overlap regions

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Storage, first a little bit about colors

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group …a little bit about colors

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Color Encoding Primary colors RGB, CMYK, XYZ with transformation formula (often a matrix) color gamut quantization

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Encoding Schemes Pixar Log Encoding (TIFF) 11 bit log/exponential encoding Radiance RGBE Encoding (HDR) 8bit RGB mantissa, 8bit shared exponent SGI LogLuv (TIFF) 16bit logarithmic luminance+ 2 * 8bit u,v coords ILM OpenEXR (EXR) 16bit floating point format (half)

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Processing 1.load data 2.convert to 3 * 32bit float / 3 * 16bit float 3.compute whatever you want 4.encode down into preferred file format and store

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Output Solution 1: Get a HDR Screen (BRIGHTSIDE)

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Output Solution 2: Tone Mapping

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Apply standard arithmetic or logical operations to images (pixel values) – Output pixel only depends on corresponding pixels in input images – Images must have the same size – Very efficient in terms of performance and memory requirements No intermediate result needed

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Operators – Addition, Subtraction Overlay, background removal, noise reduction – Multiplication (Scaling) Brighten, darken – Blending/compositing (weighted average) Multi-modality fusion – Logical bitwise operations AND/NAND (Intersection) OR/NOR (Union) – Invert/Logical NOT

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Examples Intensity scaling A & B A B Detect object that did not move !A & !B

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Example – Outline edges in the original image + Wrap around of pixel values!

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Example (cont.) – Generate mask by thresholding and AND the inverted mask with the image

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Example (cont.) – Add unthresholded mask to original image

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Image arithmetic Example – Blending X P0 + (1-X) P1 – Reduces contrast before adding X=0.5 X=0.7

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Thresholding – Cut arbitrary ranges Normalization (contrast stretching) – S out = (S in – Min) / (Max – Min) Logarithmic/exponential operators – Enhance/supress low intensity pixels Histogram equalization – monotonic, non-linear modification of the dynamic intensity range Histogram Histogram shows the distribution of pixels among intensity values

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Histogram equalization – Re-assign intensities – Output image has uniform intensity distribution Cannot be achieved in general Find transfer function that maps input values a to output values b such as to approximate a flat histogram – Relative order (in terms of intensity) of pixels will not be destroyed

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Consider probability density function p(x) and probability distribution function P(x) – P(a) is the probability that a brightness chosen from a region is less than or equal to a given brightness value a – P(a) =  x=0  a p(x) – The probability that a brightness in a region falls between a and a+  a is p(a)  a = dP(a)/da  a – Brightness probability density function is given by the histogram

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Mapping F (a  b) for histogram equalization – p a (a)da = p b (b)db  dF=db=p a (a)da/p b (b) – Because p b (b) should be constant to (1/(2 B -1)): F(a)=(2 B -1)P(a) – Digital implementation: f(a)=max(0,round(2 B -1 n a /N)-1) n a : number of pixels with intensity  a N: Number of pixels

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Before and after histogram equalization

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Before and after histogram equalization

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Before and after histogram equalization

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Point operators Before and after histogram equalization

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping Visibility is reproduced you can see an object on the display iff you can see it in the real scene Viewing the image produces the same subjective experience as viewing the real scene

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping Setting the brightest pixel to 1 scaling the rest linearly – Light sources are multiple orders of magnitude brighter  Scene is almost entirely black Setting the brightest non light-source pixel to 1-e scaling the rest linearly/logarithmic – Light sources are still mapped to 1 – Visibility is preserved – but experience is not preserved – changes in light emission have no effect on the image

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping [Ward 97] Compute Luminance Histogram

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping Compute Histogram Equalization

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping Apply Linear Ceiling

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping Apply just noticeable difference ceiling

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group Tone Mapping Apply veiling luminance effects (blooming)

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group HDR

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group HDR

computer graphics & visualization Image Synthesis – WS 07/08 Dr. Jens Krüger – Computer Graphics and Visualization Group HDR