COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging ....

19
COMPRESSIVE GHOST IMAGING Andreas Valdmann 1

Transcript of COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging ....

Page 1: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

COMPRESSIVE GHOST IMAGING Andreas Valdmann

1

Page 2: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Traditional imaging

Light source

Matrix sensor (Camera)

Object with reflectivity 𝑂 𝑥,𝑦

Signal 𝑆𝑐𝑐𝑐(𝑥,𝑦) ~ 𝑂(𝑥,𝑦)

Uniform illumination

2

Page 3: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Ghost imaging

Light source

Matrix sensor (Camera) measures 𝐼(𝑥, 𝑦)

Object 𝑂(𝑥,𝑦)

Beam splitter

𝐼(𝑥,𝑦)

𝐼(𝑥,𝑦) 𝑂(𝑥,𝑦)

Single pixel detector measures 𝑆 = ∫ 𝐼 𝑥,𝑦 𝑂 𝑥, 𝑦 𝑑𝑥𝑑𝑦

𝑂(𝑥, 𝑦) = 𝑆 − 𝑆 𝐼(𝑥, 𝑦) − 𝐼(𝑥, 𝑦) 𝑂 𝑥,𝑦 =

1𝑀�𝑆𝑖𝐼𝑖(𝑥,𝑦)

𝑀

𝐼=1

M – number of measurements

Random pattern

3

Image reconstruction

Page 4: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Computational ghost imaging

Object 𝑂(𝑥,𝑦)

𝐼(𝑥,𝑦)

𝐼(𝑥,𝑦) 𝑂(𝑥,𝑦)

Single pixel detector measures 𝑆 = ∫ 𝐼 𝑥,𝑦 𝑂 𝑥, 𝑦 𝑑𝑥𝑑𝑦

𝑂(𝑥, 𝑦) = 𝑆 − 𝑆 𝐼(𝑥, 𝑦) − 𝐼(𝑥, 𝑦) 𝑂 𝑥,𝑦 =

1𝑀�𝑆𝑖𝐼𝑖(𝑥,𝑦)

𝑀

𝐼=1

M – number of measurements

𝐼(𝑥, 𝑦) is determined by user. No camera is needed.

Digital projector

4

Image reconstruction

Page 5: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

5

Page 6: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

6

Page 7: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

7

Page 8: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Multicolor ghost imaging

Object 𝑂𝜇(𝑥,𝑦)

𝐼(𝑥,𝑦)

𝐼(𝑥,𝑦)𝑂𝜇(𝑥,𝑦)

Single pixel detector measures 𝑆𝜇 = ∫ 𝐼 𝑥,𝑦 𝑂𝜇 𝑥,𝑦 𝑑𝑥𝑑𝑦

𝑂𝜇(𝑥, 𝑦) = 𝑆𝜇 − 𝑆𝜇 𝐼(𝑥, 𝑦) − 𝐼(𝑥, 𝑦) 𝑂𝜇 𝑥,𝑦 =

1𝑀�𝑂𝜇𝑖𝐼𝑖(𝑥,𝑦)

𝑀

𝐼=1

M – number of measurements

𝐼(𝑥, 𝑦) is determined by user. No camera is needed.

Digital projector

8

Page 9: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Experimental results

S. Welsh, M. Edgar, R. Bowman, P. Jonathan, B. Sun, and M. Padgett, "Fast full-color computational imaging with single-pixel detectors," Opt. Express 21, 23068-23074 (2013).

1 million measurements!

9

Page 10: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Inversion image reconstruction

𝐈 = [𝐼1, 𝐼2, … , 𝐼𝑀] matrix of all light patterns

𝑆 = [𝑠1, 𝑠2, … , 𝑠𝑀] array of single pixel detector signals

𝐼1, 𝐼2, … , 𝐼𝑀 are flattened light pattern arrays

Pixels (N)

Mea

sure

men

ts (M

) =

𝑆 𝑂 𝐈

M measurements; N pixels

1 2 3 4 1 2 3 4

x

y

𝐈𝑂 = 𝑆

𝑂 flattened image of the object (unknown)

System of linear equations

10

Page 11: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Inversion image reconstruction

M measurements; N pixels

𝐈𝑂 = 𝑆

M = N: perfect image recovery if no noise is present (only in theory). M > N: can be solved with least squares methods. Larger M gives better signal to noise ratio, but measurements and calculations take more time. M < N: Theoretically infinite number of solutions. Additional constraints must be given. Compressive sensing

Pixels (N)

Mea

sure

men

ts (M

)

=

𝑆 𝑂 𝐈

11

Page 12: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Discrete cosine transform

12

Page 13: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

JPEG compression DCT frequencies

DCT of a natural image gives a sparse matrix.

13

Page 14: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Compressive sensing Is it necessary to make many measurements if most of the data is omitted during compression anyway? No, if the measured image is natural, i.e. it is sparse in some basis.

Idea of compressive sensing algorithm

• Solve the underdetermined system in some sparse basis.

• Additional constraint: result vector must contain as many zeros as possible: L0 norm minimization.

14

Page 15: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Lp norm

𝑥 𝑝 = �𝑥𝑖𝑝𝑛

𝑖=0

1𝑝

𝑥 0 counts non-zero elements in vector

𝑥 1 sum of absolute values of vector components (Manhattan geometry)

𝑥 2 Euclidian norm

Minimizing L0 norm is NP-hard. Minimizing L1 norm also gives a small L0 norm. Examples of implementation: • Matlab L1-MAGIC toolbox • Python CVXOPT package

15

Page 16: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Comressive ghost imaging 𝐈𝑂 = 𝑆 Initial problem

Discrete cosine transform 𝐈 → 𝐈𝑫𝑫𝑫

𝐈𝑫𝑫𝑫𝑂𝐷𝐷𝐷 = 𝑆 𝑂𝐷𝐷𝐷 is in sparse basis

Minimize 12

𝑆 − 𝐈𝑫𝑫𝑫𝑂𝐷𝐷𝐷 2 + λ� 𝑂𝐷𝐷𝐷

λ is a small regularization parameter

Inverse discrete cosine transform 𝑂𝐷𝐷𝐷 → 𝑂

16

Page 17: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Experimental results

S. Welsh, M. Edgar, R. Bowman, P. Jonathan, B. Sun, and M. Padgett, "Fast full-color computational imaging with single-pixel detectors," Opt. Express 21, 23068-23074 (2013).

17

Page 18: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Potential applications of compressive sensing • Enegry efficient miniature cameras [David Schneider

(March 2013). "New Camera Chip Captures Only What It Needs". IEEE Spectrum.]

• Magnetic resonance imaging (MRI) [Michael Lustig. Compressed sensing MRI resources. http://www.eecs.berkeley.edu/~mlustig/CS.html]

• Hyperspectral imaging [Y. August, C. Vachman, Y. Rivenson,

and A. Stern, "Compressive hyperspectral imaging by random separable projections in both the spatial and the spectral domains," Appl. Opt. 52, D46-D54 (2013).]

18

Page 19: COMPRESSIVE GHOST IMAGING - uteero/SC/Compressive_ghost_imaging.pdf · Multicolor ghost imaging . Object ... pixel detectors," Opt. Express 21, 23068-23074 (2013). 1 million measurements!

Summary Ghost imaging • Single pixel detector • Many measurements • Replaces matrix sensor

Compressive sensing • Number of measurements is

less than number of pixels • Uses sparseness of natural

images

Thank you

19