Acquisition Basics. How can we measure material properties? Goal of this Section. Special Purpose Tools. General Purpose Tools

Similar documents
Goal of this Section. Capturing Reflectance From Theory to Practice. Acquisition Basics. How can we measure material properties? Special Purpose Tools

Image acquisition. In both cases, the digital sensing element is one of the following: Line array Area array. Single sensor

Realistic Image Synthesis

Image Processing & Projective geometry

Image Formation and Capture

High Dynamic Range Imaging

Introduction to Image Processing and Computer Vision -- Noise, Dynamic Range and Color --

Building a Photo Studio for Measurement Purposes

ME 6406 MACHINE VISION. Georgia Institute of Technology

A Kalman-Filtering Approach to High Dynamic Range Imaging for Measurement Applications

Unit 1: Image Formation

Overview. Pinhole camera model Projective geometry Vanishing points and lines Projection matrix Cameras with Lenses Color Digital image

VC 14/15 TP2 Image Formation

IMAGE FORMATION. Light source properties. Sensor characteristics Surface. Surface reflectance properties. Optics

Image Processing for feature extraction

ISO INTERNATIONAL STANDARD. Photography Electronic still-picture cameras Methods for measuring opto-electronic conversion functions (OECFs)

Acquisition. Some slides from: Yung-Yu Chuang (DigiVfx) Jan Neumann, Pat Hanrahan, Alexei Efros

High dynamic range imaging and tonemapping

Capturing Light in man and machine. Some figures from Steve Seitz, Steve Palmer, Paul Debevec, and Gonzalez et al.

Color Digital Imaging: Cameras, Scanners and Monitors

Color Image Processing

Lecture Notes 11 Introduction to Color Imaging

LENSES. INEL 6088 Computer Vision

Why learn about photography in this course?

lecture 24 image capture - photography: model of image formation - image blur - camera settings (f-number, shutter speed) - exposure - camera response

Cameras. Outline. Pinhole camera. Camera trial #1. Pinhole camera Film camera Digital camera Video camera High dynamic range imaging

VC 11/12 T2 Image Formation

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

ISO INTERNATIONAL STANDARD. Photography Electronic still-picture cameras Methods for measuring optoelectronic conversion functions (OECFs)

High Dynamic Range Images

Image Formation and Capture. Acknowledgment: some figures by B. Curless, E. Hecht, W.J. Smith, B.K.P. Horn, and A. Theuwissen

VC 16/17 TP2 Image Formation

Parameters of Image Quality

Introduction. Lighting

General Imaging System

Cameras. CSE 455, Winter 2010 January 25, 2010

High Resolution Spectral Video Capture & Computational Photography Xun Cao ( 曹汛 )

Optoliner NV. Calibration Standard for Sighting & Imaging Devices West San Bernardino Road West Covina, California 91790

TIPA Camera Test. How we test a camera for TIPA

Exercise questions for Machine vision

Lenses, exposure, and (de)focus

Practical Scanner Tests Based on OECF and SFR Measurements

A simulation tool for evaluating digital camera image quality

Digital Imaging Alliance

Image Formation: Camera Model

Sensors and Sensing Cameras and Camera Calibration

Simulation of film media in motion picture production using a digital still camera

How does prism technology help to achieve superior color image quality?

COMPUTATIONAL PHOTOGRAPHY. Chapter 10

Modeling and Synthesis of Aperture Effects in Cameras

Image Processing Lecture 4

ISO INTERNATIONAL STANDARD. Photography Electronic scanners for photographic images Dynamic range measurements

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

Digital photography , , Computational Photography Fall 2017, Lecture 2

Distributed Algorithms. Image and Video Processing

Color , , Computational Photography Fall 2018, Lecture 7

Noise Characteristics of a High Dynamic Range Camera with Four-Chip Optical System

CERTIFIED PROFESSIONAL PHOTOGRAPHER (CPP) TEST SPECIFICATIONS CAMERA, LENSES AND ATTACHMENTS (12%)

WHITE PAPER. Guide to CCD-Based Imaging Colorimeters

Improved sensitivity high-definition interline CCD using the KODAK TRUESENSE Color Filter Pattern

A Spectral Database of Commonly Used Cine Lighting Andreas Karge, Jan Fröhlich, Bernd Eberhardt Stuttgart Media University

DETERMINING LENS VIGNETTING WITH HDR TECHNIQUES

The Raw Deal Raw VS. JPG

This histogram represents the +½ stop exposure from the bracket illustrated on the first page.

Midterm Examination CS 534: Computational Photography

6.098/6.882 Computational Photography 1. Problem Set 1. Assigned: Feb 9, 2006 Due: Feb 23, 2006

ECC419 IMAGE PROCESSING

Camera Requirements For Precision Agriculture

Dynamically Reparameterized Light Fields & Fourier Slice Photography. Oliver Barth, 2009 Max Planck Institute Saarbrücken

Design of Temporally Dithered Codes for Increased Depth of Field in Structured Light Systems

BROADCAST ENGINEERING 5/05 WHITE PAPER TUTORIAL. HEADLINE: HDTV Lens Design: Management of Light Transmission

ISO INTERNATIONAL STANDARD. Photography Electronic still-picture cameras Resolution measurements

Cameras. Shrinking the aperture. Camera trial #1. Pinhole camera. Digital Visual Effects Yung-Yu Chuang. Put a piece of film in front of an object.

Computational Optical Imaging - Optique Numerique

Digital cameras for digital cinematography Alfonso Parra AEC

It should also be noted that with modern cameras users can choose for either

Demosaicing and Denoising on Simulated Light Field Images

CPSC 4040/6040 Computer Graphics Images. Joshua Levine

Advanced Camera and Image Sensor Technology. Steve Kinney Imaging Professional Camera Link Chairman

Measuring Skin Reflectance and Subsurface Scattering

ICC Votable Proposal Submission Colorimetric Intent Image State Tag Proposal

Understanding and Using Dynamic Range. Eagle River Camera Club October 2, 2014

Dr F. Cuzzolin 1. September 29, 2015

Photo-Consistent Motion Blur Modeling for Realistic Image Synthesis

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

Chapters 1-3. Chapter 1: Introduction and applications of photogrammetry Chapter 2: Electro-magnetic radiation. Chapter 3: Basic optics

Camera Image Processing Pipeline: Part II

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

Colorado School of Mines. Computer Vision. Professor William Hoff Dept of Electrical Engineering &Computer Science.

OLYMPUS Digital Cameras for Materials Science Applications: Get the Best out of Your Microscope

TRUESENSE SPARSE COLOR FILTER PATTERN OVERVIEW SEPTEMBER 30, 2013 APPLICATION NOTE REVISION 1.0

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

VU Rendering SS Unit 8: Tone Reproduction

Digital photography , , Computational Photography Fall 2018, Lecture 2

Tonemapping and bilateral filtering

Camera Requirements For Precision Agriculture

Considerations of HDR Program Origination

Digital Imaging Rochester Institute of Technology

Color , , Computational Photography Fall 2017, Lecture 11

Figure 1 HDR image fusion example

Transcription:

Course 10 Realistic Materials in Computer Graphics Acquisition Basics MPI Informatik (moving to the University of Washington Goal of this Section practical, hands-on description of acquisition basics general overview, caveats, misconceptions, solutions, hints, biased to the techniques used in our lab How can we measure material properties? color texture reflection properties normals... Special Purpose Tools General Purpose Tools gloss meter, haze meter, various appearance characteristics spectrophotometer spectral reflectance of a surface setup with digital camera(s, controlled lighting, foundation of image-based techniques often used in industry where single parameters of one material are important 1

General Purpose Tools Overview Acquisition Basics digital camera as massively parallel sensor mostly tristimulus color often high quality optical system tuned to make good and/or correct pictures geometry acquisition Pinhole Camera Model (Pessimistic Digital Camera Model each pixel corresponds to one ray through the pinhole onto the obect not valid for most digital cameras!!! obect pinhole image plane digital camera as a black box take only for granted what you measured (or what is given in the manual obect black box 00101 10010 01101 110... image file (Pessimistic Digital Camera Model optical lens system instead of pinhole aperture (aberration, vignetting CCD/CMOS chip and A/D conversion normally only one color per pixel (e.g. Bayer pattern requires demosaicing camera image processing 00101 10010 01101 110... Bayer Pattern sensor records only one color per pixel higher sampling rate in green channel (luminance channel remaining two color values per pixel must be reconstructed artifacts possible Bayer pattern

Demosaicing (Pessimistic Digital Camera Model common approach combining an interpolation and a pattern matching scheme groups pixels into regions and makes some continuity assumption within the regions nice pictures, but no guarantee that two of the R,G,B values per pixel are correct Bayer pattern often globally correct image no guarantee that each pixel contains reliable color values some issues can be solved using camera 00101 10010 01101 110... Overview Acquisition Basics common problems and solutions Geometric Camera Calibration get transformation between points in space and image coordinates intrinsic camera parameters focal length, distortion coefficients, extrinsic parameters position, orientation Geometric Camera Calibration several methods commonly used, e.g., [Tsai 87, Heikkila 97, Zhang 99] Matlab toolbox by Jean-Yves Bouguet http://www.vision.caltech.edu/bouguet/calib_doc/ also included in the OpenCV Open Source Computer Vision library distributed by Intel Calibration Approach capture images of test target with known geometry cover space and angles with planar target solve for intrinsic and extrinsic parameters quality can be checked by reproection 3

Photometric Calibration (5,03,16 (141,5,4 (40,70,143 What do these RGB values (digital counts mean? Camera Response Curve (OECF relationship between digital counts and luminance is unknown (and often non-linear gamma correction image optimizations... can be described by response curve or OECF (Opto-Electronic Conversion Function Camera Response Curve (OECF direct measurement via test chart patches with known gray levels uniform illumination Camera Response Curve (OECF patches arranged in a circle to suppress lens effects (e.g. vignetting OECF can be determined for some discrete intensity levels/digital counts inversion using OECF leads to pixel values linearly related to luminance values Overview Acquisition Basics Sources of Dynamic Range common problems and solutions 4

Sources of Dynamic Range 486,000 5 500,000 0 Definition of Dynamic Range dynamic range is the ratio of brightest to darkest (non-zero intensity values in an image assuming linear intensity often given as ratio: 1:100.000 orders of magnitude: 5 orders of magnitude in decibel: 100 db Dynamic Range of Cameras example: photographic camera with standard CCD sensor dynamic range of sensor 1:1000 exposure variation 1/60 th s 1/6000 th s (handheld camera/non-static scene 1:100 varying aperture f/.0 f/.0 ~1:100 exposure bias/varying sensitivity 1:10 total (sequential 1:100,000,000 simultaneous dynamic range still only 1:1000 High Dynamic Range (HDR Imaging analog false-color film with several emulsions of different sensitivity levels by Wyckoff in the 1960s dynamic range of about 10 8 modern CMOS sensors can achieve a dynamic range of 10 6 10 8 logarithm in analog domain multiple exposure techniques High Dynamic Range Imaging extending dynamic range of ordinary camera combining multiple images with different exposure Determining the Response Curve [Madden 1993] assumes linear response correct for raw CCD data [Debevec and Malik 1997] selects a small number of pixels from the images performs an optimization of the response curve with a smoothness constraint [Robertson et al. 1999, 003] optimization over all pixels in all images 5

Principle of this approach: calculate a HDR image using the response curve find a better response curve using the HDR image (to be iterated until convergence assume initially linear response input: series of i images with exposure times t i pixel value at image position is y = f(t i x find irradiance x and response curve I(y t i x is proportional to collected charge/radiant energy f maps collected charge to intensity values f 1 ( y = t x = : I( y i additional input: a weighting function w(y (bell shaped curve an initial camera response curve I(y usually linear calculate HDR values x from images using = I( y w( y ti ti w( y t i x i i = I( y w( y ti ti w( y t i x i i optimizing the response curve I: start again with definition f 1 ( y = tix = : I( y minimization of obective function O O = w i, ( y ( I( y tix using Gauss-Seidel relaxation yields E = {( i, : y m I( m = 1 Card( = m} Card(E m = number of elements in E m t x i m i, E m E both steps are iterated calculation of a HDR image using I optimization of I using the HDR image I needs to be normalized, e.g., I(18=1.0 HDR Imaging: Algorithm of Robertson et al. stop iteration after convergence criterion: decrease of O below some threshold usually only a couple of iterations log( I( y 6

HDR Example: Capturing Environment Maps HDR Example: Capturing Environment Maps 1/000s 1/500s 1/15s 1/30s 1/8s series of input images series of input images choice of weighting function w(y for response recovery ( y 17.5 w = exp 4 17.5 for 8 bit images possible correction at both ends (over/underexposure motivated by general noise model choice of weighting function w(y for HDR reconstruction introduce certainty function c as derivative of the response curve with logarithmic exposure axis approximation of response function by cubic spline to compute derivative w = w( y = c( I y Input Images for Response Recovery White Balance my favorite: grey card, out of focus, smooth illumination gradient advantages uniform histogram of values no color processing or sharpening interfering with the result capture the spectral characteristics of the light source to assure correct color reproduction tungsten daylight flourescent flash images taken with different camera settings 7

White Balance capture white surface under target illumination scale color channels to achieve uniform intensity values often built-in function Color Calibration BRDF model of real obect long processing pipeline which image is (more correct? Color Calibration Color Calibration ICC color management system input device (e.g. camera profile connection spaces input device (e.g. camera capture the properties of all devices camera and lighting monitor settings output properties display device (e.g. monitor common interchange space monitor profile input profile profile connection space output profile output device (e.g. printer CIELAB (perceptual linear linear CIEXYZ color space can be used to create an high dynamic range image in the profile connection space allows for a color calibrated workflow input profile profile connection space output profile output device (e.g. printer Color Calibration [Goesele et al. 004] Limits of White Balance and Color Calibration fluorescence effects signal colors optical brighteners test targets color, white balancing, impossible similar with unwanted infrared signal daylight (HMI green LED 8

Overview Acquisition Basics General Measurement Approach find relation between incoming and outgoing light at a surface point??? geometry acquisition derive information from this data knowledge and control over light sources needed Lighting Requirements Lighting Requirements photometric properties uniform spatial distribution color constant over time even spectral distribution very bright and efficient emission pattern requirements depend on application, e.g., well defined light source incident angle as small as possible parallel light source (e.g. laser beam point light source lens or reflector based systems are often not ideal Point Light Source Example point light source 800 W HMI light source very efficient (equals 500 W tungsten light (almost daylight spectrum constant colors Point Light Source Example more information about lighting in the individual sections of the course 9

Overview Acquisition Basics geometry acquisition Lab Setup part of the lighting considerations often low and diffuse reflection required to minimize the influence of the environment MPI photo studio walls and ceiling covered with black felt black needle fleece carpet Lab Setup Lab Setup tuned for efficiency and flexibility enough space enough stands, supporting materials, have some lighting available in dark areas e.g., radio controlled light switch safety concerns Overview Acquisition Basics Geometry Acquisition geometry acquisition geometry of test targets often required could teach a separate course about the topic but some comments 10

Geometry Acquisition Uncooperative Materials 3D laser scanning system realistic materials are nice to look at but often difficult to scan requires some creativity, angel model: based on CT scan Uncooperative Materials Overview Acquisition Basics alabaster horse: covered with white dust geometry acquisition Schedule 10:30 Homogeneous Isotropic BRDFs (W. Matusik 11:15 Heterogeneous Isotropic BRDFs (H. Lensch 11:45 Translucent Materials (M. Goesele 1:15 Lunch 11