COMPUTATIONAL PHOTOGRAPHY. Chapter 10

Similar documents
High Dynamic Range Imaging

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

HIGH DYNAMIC RANGE IMAGING Nancy Clements Beasley, March 22, 2011

High dynamic range imaging and tonemapping

Realistic Image Synthesis

HDR images acquisition

Twelve Steps to Improve Your Digital Photographs Stephen Johnson

PHOTOGRAPHY CAMERA SETUP PAGE 1 CAMERA SETUP MODE

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

Resolution test with line patterns

Burst Photography! EE367/CS448I: Computational Imaging and Display! stanford.edu/class/ee367! Lecture 7! Gordon Wetzstein! Stanford University!

PHOTOGRAPHY: MINI-SYMPOSIUM

Matting and Compositing. Digital Visual Effects, Spring 2006 Yung-Yu Chuang 2006/5/10

Low Dynamic Range Solutions to the High Dynamic Range Imaging Problem

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

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

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

Photo Editing Workflow

The Fundamental Problem

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

The ultimate camera. Computational Photography. Creating the ultimate camera. The ultimate camera. What does it do?

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

Problem Session 6. Computa(onal Imaging and Display EE 367 / CS 448I

According to the proposed AWB methods as described in Chapter 3, the following

1. Any wide view of a physical space. a. Panorama c. Landscape e. Panning b. Grayscale d. Aperture

What will be on the final exam?

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

An Introduction to. Photographic Exposure: Aperture, ISO and Shutter Speed

Chapter 4: Image Transfer Choosing a Computer

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

Film Cameras Digital SLR Cameras Point and Shoot Bridge Compact Mirror less

Computational Photography

Raster (Bitmap) Graphic File Formats & Standards

Photography PreTest Boyer Valley Mallory

! High&Dynamic!Range!Imaging! Slides!from!Marc!Pollefeys,!Gabriel! Brostow!(and!Alyosha!Efros!and! others)!!

Camera Exposure Modes

PHOTOGRAPHING THE LUNAR ECLIPSE

Portraiture Creating and Editing. Aaron Taylor Aaron Taylor Photography LLC

Dynamic Range. H. David Stein

Name: Date: Math in Special Effects: Try Other Challenges. Student Handout

Continuous Flash. October 1, Technical Report MSR-TR Microsoft Research Microsoft Corporation One Microsoft Way Redmond, WA 98052

Tonemapping and bilateral filtering

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

CS6670: Computer Vision

1. Any wide view of a physical space. a. Panorama c. Landscape e. Panning b. Grayscale d. Aperture

Photomatix Light 1.0 User Manual

PHIL MORGAN PHOTOGRAPHY

Digital Cameras The Imaging Capture Path

Using The Nik Collection Plug-ins In Lightroom And Photoshop. Dan Lenardon

ALMALENCE SUPER SENSOR. A software component with an effect of increasing the pixel size and number of pixels in the sensor

ONE OF THE MOST IMPORTANT SETTINGS ON YOUR CAMERA!

You might be asking some of these ques3ons are it relates to digital photography and controlling quality star3ng with your camera.

Camera Image Processing Pipeline: Part II

Photography Basics. Exposure

DETERMINING LENS VIGNETTING WITH HDR TECHNIQUES

The Raw Deal Raw VS. JPG

Kent Messamore 3/6/2010

Camera Image Processing Pipeline: Part II

Midterm Examination CS 534: Computational Photography

Local Adjustment Tools

A simulation tool for evaluating digital camera image quality

COLOR FILTER PATTERNS

Aperture: Circular hole in front of or within a lens that restricts the amount of light passing through the lens to the photographic material.

25 Questions. All are multiple choice questions. 4 will require an additional written response explaining your answer.

Working with your Camera

Matting & Compositing

Resolution, DPI NOTICE WE HAVE NOT YET EVEN DOUBLED LINEAR RESOLUTION, DESPITE ALMOST QUADRUPLING THE MEGAPIXELS. Don t get caught up with resolution

Megapixels and more. The basics of image processing in digital cameras. Construction of a digital camera

Lens Aperture. South Pasadena High School Final Exam Study Guide- 1 st Semester Photo ½. Study Guide Topics that will be on the Final Exam

Prof. Feng Liu. Spring /22/2017. With slides by S. Chenney, Y.Y. Chuang, F. Durand, and J. Sun.

High Dynamic Range Images

Unit 1: Image Formation

High Dynamic Range Photography

Digital photography , , Computational Photography Fall 2017, Lecture 2

FiLMiC Log - Technical White Paper. rev 1 - current as of FiLMiC Pro ios v6.0. FiLMiCInc copyright 2017, All Rights Reserved

Gray Point (A Plea to Forget About White Point)

University Of Lübeck ISNM Presented by: Omar A. Hanoun

Why learn about photography in this course?

Basic principles of photography. David Capel 346B IST

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

Digital Imaging with the Nikon D1X and D100 cameras. A tutorial with Simon Stafford

Cameras and Exposure

A Saturation-based Image Fusion Method for Static Scenes

Distributed Algorithms. Image and Video Processing

SHAW ACADEMY. Lesson 8 Course Notes. Diploma in Photography

1. This paper contains 45 multiple-choice-questions (MCQ) in 6 pages. 2. All questions carry equal marks. 3. You can take 1 hour for answering.

Camera Mechanics & camera function. Daily independent reading:pgs. 1-5 Silently read for 10 min. Note taking led by Mr. Hiller

Pacific New Media David Ulrich

Combine Black-and-White and Color

Communication Graphics Basic Vocabulary

Lecture Notes 11 Introduction to Color Imaging

Fast Bilateral Filtering for the Display of High-Dynamic-Range Images

DIGITAL IMAGING FOUNDATIONS

Computational Photography

DIGITAL IMAGING. Handbook of. Wiley VOL 1: IMAGE CAPTURE AND STORAGE. Editor-in- Chief

L I F E L O N G L E A R N I N G C O L L A B O R AT I V E - FA L L S N A P I X : P H O T O G R A P H Y

F-number sequence. a change of f-number to the next in the sequence corresponds to a factor of 2 change in light intensity,

Photographing Waterfalls

Adobe Imaging Products

IEEE P1858 CPIQ Overview

Transcription:

1 COMPUTATIONAL PHOTOGRAPHY Chapter 10

Computa;onal photography Computa;onal photography: image analysis and processing algorithms are applied to one or more photographs to create images that go beyond the capabili;es of tradi;onal imaging systems

3 Computa;onal photography Photometric calibra;on: the measurement of camera and lens responses High dynamic range imaging: capturing the full range of in a scene through the use of mul;ple exposures Image malng and composi;ng: algorithms for culng pieces of images from one photograph and pas;ng tem into others Super- resolu;on and blur removal: improving the resolu;on of images Texture analysis and synthesis: how to generate novel textures form real- world samples for applica;ons such as holes filling

Photometric calibra;on 4 Image sensing pipeline

5 Camera Irradiance * Optics Aperture Shutter Blur kern. & RD F-stop Camera & Body Vignette Exposure T Sensor (CCD/CMOS) * Gain (ISO) A / D AA CFA Noise ISO Sensor Gainchip Q1 RAW Demosaic? (Sharpen)? White Balance Gamma/curve Compress JPEG RGB Gain DSP Q2

Photometric calibra;on 6 Calibra;on Radiometric response func;on: maps arriving photons into digital values stored in the file Noise level es;ma;on

Photometric calibra;on 7 Radiometric response func;on Affect Factors: 1. Aperture and shuter speed 2. A/D converter (controlled by ISO, linear) 3. Demosaicing 4. Hard to model, easier to measure

Photometric calibra;on 8 Approaches to measure response func;on Integra;ng sphere

Photometric calibra;on Approaches to measure response func;on 9 Calibra;on chart htp://www.adorama.com/alc/0013301/ar;cle/using- the- ColorChecker- Passport- Adorama- TV

Photometric calibra;on 10 Noise level es;ma;on

Photometric calibra;on 11 Approaches to measure noise Integra;ng sphere Calibra;on chart Taking repeated exposures and compu;ng the variance Assuming pixel values should all be the same within some region

High dynamic range imaging Registered images taken at different exposures can be used to calibrate the radiometric response func;on of a camera They can create well- exposed photographs

High dynamic range imaging 13 High Dynamic Range

High dynamic range imaging 14 The Problem of Dynamic Range 1 1500 The real world is high dynamic range! 25,000 400,000 200,000,000

High dynamic range imaging 15 10-6 High dynamic range 10 6 Real world Long Exposure 10-6 Short Exposure 10 6 Picture 0 to 255 Today s Cameras: Limited Dynamic Range High Exposure Image Low Exposure Image We need about 5-10 million values to store all brightnesses around us. But, typical 8- bit cameras provide only 256 values!!

High dynamic range imaging 16 AEB mode and HDR Composite

High dynamic range imaging 17 Recovering HDR 1. Extract the radiometric response func;on from the 2. Es;mate a radiance map by blending pixels from different exposures 3. Tone- map it into a single low dynamic range image

High dynamic range imaging 18 Recover radiometric response Given mul;ple exposure pictures Goal: es;ma;ng the radiometric response func;on( radiance map )

High dynamic range imaging 19 Recover radiance map At Posi;on i

High dynamic range imaging 20 Recover radiance map can be rewrite as:, taking the natural logarithm of both sides, we have:, to simplify nota;on, let g=log f - 1 Note: recovering g only requires recovering finite number of values.( Since the domain of Z is from 0-255)

High dynamic range imaging 21 Recover radiance map

High dynamic range imaging 22 Recover radiance map Refine objecave funcaon: 1. scalar func;on: 2. an;cipa;ng the basic shape of the response func;on:

High dynamic range imaging 23 Recover radiance map Refine objecave funcaon: 3. How many samples(pixels) do we need to calculate: 1.Make sure (# of Ei)*(# of Pictures)>256 2.The pixel loca;ons should be chosen so that they have a reasonably even distribu;on of pixel values.

High dynamic range imaging Results: Color Film Kodak Gold ASA 100, PhotoCD

High dynamic range imaging Recovered Response Curves Red Green Blue RGB

High dynamic range imaging The Radiance Map

High dynamic range imaging 27 Tone- mapping Once a radiance map has been computed, it is usually necessary to display it on a lower gamut (i.e., 8- bit) screen or printer

High dynamic range imaging 28 Tone mapping 10-6 High dynamic range 10 6 Real world Picture 10-6 10 6 0 to 255 Given radiance map Goal: build a reasonable mapping func;on of radiance to pixel values

High dynamic range imaging 29 Tone mapping Methods Simple Gamma tone mapping Gamma applied to each color channel independently Input Image Gamma compression Gamma applied to each channel

High dynamic range imaging 30 Tone mapping Methods Intensity Gamma tone mapping SpliLng the image up into luminance and chrominance(l*a*b) components, and applying the mapping to the luminance channel Input Image Gamma applied to luminance

High dynamic range imaging 31 Chrominance and luminance YUV color space

High dynamic range imaging 32 Tone mapping Methods Advanced mapping method

High dynamic range imaging 33 Tone mapping Methods Advanced mapping method (using Edge- preserving filter)

Image malng and composi;ng 34 Image malng and composi;ng

Image malng and composi;ng 35 Composi;ng Equa;on B: background image F: foreground image C: composite image

Image malng and composi;ng 36 foreground color alpha matte background plate F α B C compositing equation

Image malng and composi;ng 37 MaLng F MaLng α B C

Image malng and composi;ng 38 MaLng ambiguity

Image malng and composi;ng 39 Blue screen malng F α C B

Image malng and composi;ng 40 Blue screen malng issues Color limitaaon Annoying for blue- eyed people adapt screen color (in par;cular green) Shadows How to extract shadows cast on background

Image malng and composi;ng 41 Natural image malng F α B C BG B unknown FG

Bayesian framework f(z) z y parameters observed signal ) ( max * y z P z z = ) ( ) ( ) ( max y P z P z y P z = ) ( ) ( max z L z y L z + = Example: super-resolution de-blurring de-blocking

Image malng and composi;ng Bayesian malng approach(chuang 2001) 43

Image malng and composi;ng Bayesian malng approach(chuang 2001) 44 We must try to build a probability distribu;on for the unknown regions.

Image malng and composi;ng Bayesian malng approach(chuang 2001) 45

Image malng and composi;ng Bayesian malng approach(chuang 2001) 46 SAME for B

Image malng and composi;ng Bayesian malng approach(chuang 2001) 47

Image malng and composi;ng Bayesian malng approach(chuang 2001) 48

Image malng and composi;ng Bayesian malng approach(chuang 2001) 49

Image malng and composi;ng Bayesian malng approach(chuang 2001) 50

Image malng and composi;ng 51 Bayesian malng approach(chuang 2001) Solve math problem: 1. The user specifies a trimap 2. Compute Gaussian distribu;ons for foreground and background regions 3. Iterate Keep α constant, solve for F & B (for each pixel) Keep F & B constant, solve for α (for each pixel) Note that pixels are treated independently

Image malng and composi;ng Bayesian malng approach(chuang 2001) 52 Results:

Image malng and composi;ng 53 Super- resolu;on and blur removal

Image malng and composi;ng 54 How to increase resolu;on Possible ways for increasing an image resolu;on: Reducing pixel size. Increase the chip- size. Super- resolu;on.

Image malng and composi;ng 55 How to increase resolu;on Reduce pixel size: Increase the number of pixels per unit area. Advantage: Increases spa;al resolu;on. Disadvantage: Noise introduced. As the pixel size decreases, the amount of light decreases.

Image malng and composi;ng 56 How to increase resolu;on Increase the chip size (HW): Advantage: Enhances spa;al resolu;on. Disadvantage: High cost for high precision op;cs.

Image malng and composi;ng 57 How to increase resolu;on SuperresoluAon (SR): Process of combining mul;ple low resolu;on images to form a high resolu;on image. Advantages: Cost less than comparable approaches. LR imaging systems can s;ll be u;lized.

Super resolu;on o k (x) =D{b(x) s(ĥk(x)} + n k (x) X o k (x) D{b(x) s(ĥk(x)} 2 k X o k DB K W K s 2 k

Super- resolu;on and blur removal 59 Super- resolu;on Obtaining a HR image from one or mul;ple LR images.

Super- resolu;on and blur removal 60 Super- resolu;on