• No results found

Adaptive Coded Aperture Photography

N/A
N/A
Protected

Academic year: 2021

Share "Adaptive Coded Aperture Photography"

Copied!
46
0
0

Loading.... (view fulltext now)

Full text

(1)

Institute of

Computer Graphics Institute of

Computer Graphics

Adaptive Coded Aperture

Photography

Oliver Bimber, Haroon Qureshi, Daniel Danch

Institute of Computer Graphics

Johannes Kepler University, Linz

Anselm Grundhoefer

(2)

Institute of

Computer Graphics

(3)

Institute of

Computer Graphics

(4)

Institute of

Computer Graphics

(5)

Institute of

Computer Graphics

(6)

Institute of

Computer Graphics

Motivation

(7)

Institute of

Computer Graphics

Narrow apertures

large depth of field (= high frequencies in out-of-focus regions)

in low light throughput (= low signal-to-noise ratio)

JPEG compression

attenuates high frequencies (in focused and out-of-focus

regions)

Can we optimize apertures with respect to JPEG compression?

frequencies attenuated by JPEG compression do not have to

be supported optically by the aperture

results in higher light throughput (= higher signal-to-noise ratio

(8)

Institute of Computer Graphics Veeraraghava n, et al, ,‘07 Levin, et al, ,‘07 Bando, et al, ,’08 Zhou, et al, ,’09 Liang, et al, ,’08 Nagahara, et al, ,’10 Grosse, et al, ,’08 Grosse,

et al, ,’10 this paper

binary intensity color static dynamic adapted zero crossings Fourier magnitudes noise models

Applications: post-exposure refocusing, defocus deblurring, depth

reconstruction, matting, light field acquisition, projector-defocus

compensation.

(9)

Institute of Computer Graphics Veeraraghava n, et al, ,‘07 Levin, et al, ,‘07 Bando, et al, ,’08 Zhou, et al, ,’09 Liang, et al, ,’08 Nagahara, et al, ,’10 Grosse, et al, ,’08 Grosse,

et al, ,’10 this paper

binary intensity color static dynamic adapted zero crossings Fourier magnitudes

Related Work

(10)

Institute of Computer Graphics FT FT

F*

pre-computed

threshold

frequencies apply pseudo-inverse

input image binarize

(optional) dynamic aperture pattern projected image

(Adaptive) Coded Aperture Projection, Grosse, Wetzstein, Grundhoefer,

and Bimber, ACM Transaction on Graphics, 2010

(11)

Institute of

Computer Graphics

(12)

Institute of

Computer Graphics

set aperture and capture image

(13)

Institute of

Computer Graphics

set aperture and capture image

JPEG compression and

frequency filtering

(14)

Institute of

Computer Graphics

set aperture and capture image

JPEG compression and

frequency filtering

compute and set coded aperture

(15)

Institute of

Computer Graphics

set aperture and capture image

JPEG compression and

frequency filtering

re-capture

image

compute and set code aperture

(16)

Institute of

Computer Graphics

set aperture and capture image

JPEG compression and

frequency filtering

re-capture

image

compute and set code aperture

transform bokeh and

depth of field

(17)

Institute of

Computer Graphics

set aperture and capture image

JPEG compression and

frequency filtering

re-capture

image

compute and set code aperture

(18)

Institute of

Computer Graphics

(19)

Institute of Computer Graphics

or

iginal

(a

ll

freque

nc

ies)

mask

ed

spec

trum

nc

ies

Frequency Filtering

(20)

Institute of

Computer Graphics

Construct a binary frequency mask (m) and compute intensity aperture

pattern (a) by minimizing the variance of its Fourier transform for all

important frequencies:

(21)

Institute of

Computer Graphics

M is the diagonal matrix containing the binary frequency mask values

of m, F is the discrete Fourier transform matrix (i.e., the set of

orthogonal Fourier basis functions in its columns), a is the unknown

vector of the coded aperture pattern, and e is the vector of all ones -

this can be solved quickly with the pseudo-inverse:

Construct a binary frequency mask (m) and compute intensity aperture

pattern (a) by minimizing the variance of its Fourier transform for all

important frequencies:

(22)

Institute of

Computer Graphics

q=70

masked spectrum

masked spectrum

MTF of coded intensity mask

MTF of coded intensity mask

MTF of binarized mask

MTF of binarized mask

magnitude

low

high

q=50

binarize

(23)

Institute of

Computer Graphics

(24)

Institute of

Computer Graphics

bokeh transformation

(25)

Institute of Computer Graphics regular c oded (bef ore bok eh trans fo rm a tion) rm a tio n)

Bokeh Transformation

(26)

Institute of

Computer Graphics

Capturing an image through an aperture with given PSF can be

considered as convolution (multiplication in frequency domain):

(27)

Institute of

Computer Graphics

Capturing an image through an aperture with given PSF can be

considered as convolution (multiplication in frequency domain):

Bokeh transformation can be carried out as follows:

(28)

Institute of

Computer Graphics

Capturing an image through an aperture with given PSF can be

considered as convolution (multiplication in frequency domain):

Bokeh transformation can be carried out as follows:

However, the scales (s´ and s´´) are entirely unknown since the scene

depth is unknown!

(29)

Institute of Computer Graphics

13

x

13

1

1x

1

1

9x

9

7x

7

5x

5

3x

3

1x

1

co

nvolut

ion

sc

ale

(s

‘‘)

simulated

measured

Bokeh Transformation

(30)

con

volu

tio

(31)

Institute of

Computer Graphics

(32)

Institute of

Computer Graphics

color and brightness matching

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

(33)

Institute of

Computer Graphics

S

S

S

S

S

S

(34)

Institute of

Computer Graphics

color and brightness matching

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

S

(35)

Institute of

Computer Graphics

S

S

S

S

S

S

(36)

Institute of Computer Graphics

con

vol

utio

n

(s‘

‘)

de

con

vol

utio

n

(s‘)

scal

e

di

ffere

nce

Bokeh Transformation

(37)

Institute of

Computer Graphics

3.2s/6.4s • + 1.6s/6.4s • + 0.8s/6.4s • + 0.4s/6.4s • + (1/5)s/6.4s • + (1/10)s/6.4s • + (1/20)s/6.4s • + (1/40)s/6.4s • =

(38)

Institute of

Computer Graphics

3.2s/6.4s • + 1.6s/6.4s • + 0.8s/6.4s • + 0.4s/6.4s • + (1/5)s/6.4s • + (1/10)s/6.4s • + (1/20)s/6.4s • + (1/40)s/6.4s • =

(39)

Institute of

Computer Graphics

3.2s/6.4s • + 1.6s/6.4s • + 0.8s/6.4s • + 0.4s/6.4s • + (1/5)s/6.4s • + (1/10)s/6.4s • + (1/20)s/6.4s • + (1/40)s/6.4s • =

3.2s 1.6s 0.8s 0.4s 1/5s 1/10s 1/20s 1/40s

(40)

Institute of Computer Graphics re g u la r coded

uncompressed (original) uncompressed (increased and matched brightness) close-up

(regular)

close-up (coded)

(41)

Institute of Computer Graphics re g u la r coded

Results

(42)

Institute of Computer Graphics 90 70 50 30 reg ula r coded compr ess ion 10% 27% regular coded

regular aperture opening (2%, 10%, 27%)

reg u lar ap er tu re o p en in g q=90 q=70 q=50 q=30

(43)

Institute of

Computer Graphics

regular

coded

front center back focus (front, center, back)

fo cu s regular n d iti o n s

Results

(44)

Institute of

Computer Graphics

Note that if we ignored other noise sources, such as dark noise and

read noise, and considered shot noise only, then the gain in SNR

would be proportional to the square root of the light throughput gain.

(45)

Institute of

Computer Graphics

LCA has low light transmittance (only 30% when completely

transparent), low contrast (7:1), and is small (limited DOF

difference)

use larger reflective DMAs or LCoS panels!

Coded aperture pattern is scaled manually to roughly match the

depth of field while remaining depth-of-field differences are

removed by the bokeh transformation

automize this scale estimation

Explore alternatives

downsampling instead of / together with compression (i.e.,

trade resolution / compression for light through put or shutter

(46)

Institute of

Computer Graphics

Thank You!

References

Related documents