Top Banner
Image Sensors Lecture J Exotic Cameras 1
68

Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

May 16, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Image Sensors

Lecture JExotic Cameras

1

Page 2: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Dynamic range extension (HDR)

• A standard camera takes images that can be

• Overexposed if we want to see details in the dark areas

• Bright areas become “too bright”

• Underexposed if we want to see details in the bright areas

• Dark areas become “too dark”

2

Page 3: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Dynamic range extension (HDR)

• Several techniques can be used to produce images of higher dynamic range (HDR) than provided by the basic sensor technology

• External HDR (outside the sensor chip)

• Internal HDR (inside the sensor chip)

3

Page 4: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

External HDR

• Take two or more images, one immediately after the other, with different exposure time

• Read out each image as normal

• Produce an HDR image outside the sensor chip by, for example, at each pixel:• Combine the measured intensity values from the

different exposures, after suitable normalization (how?)

• Assumes fast exposure of all images• Works fine with CMOS

• Or static scene

4

Page 5: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Vmax

External HDR

5

Vmax

I

Exposure=T

Exposure=T/2

V0

V1

VHDR = (V0 + V1) / 2

I 2I

VHDR

Page 6: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

External HDR

6

The same scene is viewed with 6 different exposure times

Page 7: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Internal HDR

For example:

• Log-intensity

• Dual diode

• Piecewise linear response

7

Page 8: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Log-intensity cameras

• CMOS technology can be used to achieve a logarithmic dependence between the absorbed light and the resulting photo-voltage

• Enables a camera with very high dynamic range (>120 dB = 6 decades)

• Linear and logarithmic mode can be combined in the same camera

8

Page 9: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Log-intensity cameras

• Example: PhotonFocus AG Lin-log camera

9

Linear mode

Logarithmic mode

Page 10: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Dual diode

• CMOS

• Each pixel contains two photo diodes, each with different size and/or other characteristics that give them different sensitivities to light

• A high-sensitivity diode

– Operates well in dark areas

• A low-sensitivity diode

– Operates well in bright areas

10

Page 11: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Piecewise linear response

For example:

• The initial bias voltage is only applied to 50%

• Discharge the diode during an initial and longer exposure time

• Dark areas: The diode never becomes fully discharged

• Bright areas: The diode becomes fully discharged (saturated)

• Add the missing 50% bias charge

• Discharge during a second and shorter exposure time

11

Page 12: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Piecewise linear response

12

2T T

0.5 Vbias

Vbias

time

dark

brighter

discharge voltage

Page 13: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Piecewise linear response

13

discharge voltage

light intensity

Page 14: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Seeing in the dark

14

However, if it is very dark, long exposure time or

logarithmic pixels are not enough.

It is necessary to amplify the image itself.

Page 15: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Example - night goggles

15

Photo: DSA

Page 16: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Photo-emissive detectors

• Basic idea

– Each electron that has been excited by a photon is made to leave the material and is accelerated by means of an electric field

16

Page 17: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Photo-multiplier

• In a photo-multiplier, the field is strongenough to make the electron, on impact, knock out two or more electrons

• These, in turn, knock out several electrons and in the end an amplification of > 106 can be accomplished

17

Page 18: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Different types of photo-multiplier

18

+- +>300V

E

1 photon n photons

camera

Len

s

>500V Phosphor plate

Photo-cathode

Type I

Type II

Type III

Page 19: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Micro-channel plate

• A micro-channel is a photomultiplier in the form of a tube

– Can be as small as 10 m in diameter and a few mm long

– Electron gain >104

• A micro-channel plate consists of an array of such micro-channels stacked side by side

19

Page 20: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Micro-channel plate

• Applications

– Photo-multiplication of visual light

– X-ray detectors

20

Tectra GmbH, MCP

50 mm diameter

>3000 channels across

Photo-cathode

camera

MCP

Phosphor plate

Light

Page 21: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Line camera

• Can produce 2D images by– Translating the scene relative the camera

– Translating the camera relative the scene

– Rotating the camera relative the scene

• Also known as– Push-broom camera (PBC): it “paints” the 2D image by

moving the camera.• Push-broom camera normally implies that the camera is moving

relative to the scene to produce a 2D image

– Slit camera: The light enters the camera through a linear aperture

21

Page 22: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Push-broom camera vs.pinhole camera

• PBC samples the plenoptic function in a different way than the pinhole camera

• PBC columns are also taken at different time points(rolling shutter)

22Direction of movement

Push-broom cameraPinhole camera

The aperture is a line

The aperture is a point

Page 23: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Line camera

• Why a line camera?

– High resolution along one axis (>10 kpixels)

– High resolution in bits/pixel (>16 bits)

– High scanning rate (>10.000 scans/sec)

– Allows integration on the chip of a processing unit per pixel(smart camera)

23

Mightex 3648-pixel line camera

Page 24: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Line camera, applications

• High resolution inspection

• Photo finish

• Fax, copy machines

• Film scanners

• …

24ImageSystems GoldenEye film scanner Photo finish

This is NOT an image of a 3D sceneat some point in time.

It is an image of a LINE at differentpoints in time

Page 25: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Push-broom camera, applications

25

ground mapping from air ground mapping from space

Page 26: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Smart camera

• Integrates processing unit(s) (PU) with a camera chip. A spectrum of different solutions exists:

26

PU and sensor onseparate chips but in

the same housing

Near sensor processing(PU + sensor on same chip)

CMOS

Very simple PU fordedicated processing

General purpose PU

One PU per chip One PU per pixel

Page 27: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

M12 Smart Camera

27

Page 28: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Smart camera

• Some cameras come with a complete IDE– Processing is defined in a GUI on a standard PC

– Processing code is downloaded into the smart camera and executed

• Some cameras are integrated with illumination– IR

– visual

• Most cameras have simple interfaces– TCP/IP protocol over Ethernet

– Integrated web server

28

Cognex Checker 252

Page 29: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Smart cameras

• Applications

– Range imaging

– Bar code reading / data matrix / OCR

– Event/motion detection

– Counting objects/people passing by

– Surveillance

– Gaze measurement

– …

29

Page 30: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Computational cameras

• “Capture of optically coded images and computational decoding to produce “real” images”

• Examples

Light-field cameras, Coded aperture, Catadioptricimaging, holographic imaging, flexible depth-of-field…

30

Page 31: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Light field

Repetition from lecture A:

• At each point x in 3D space,in each direction n,there is an amount of light passing through x

• The plenoptic function I(x, n)

– A.k.a. Light field

31

Page 32: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Light field camera

• A light field camera make a denser sampling of I(x, n) than a standard camera

– Ideally all x and all n (not practically possible)

• Practical implementation:an array of pin-hole cameras

32

Page 33: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Light field camera

Even more practical implementation:

• Use a large sensor chip: lots of pixels

• Divide the chip into several small “cameras”

• Sophisticated lens system to simulate an array of pin-hole camera projections onto the chip

33

Page 34: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Light field camera

Examples

34

Lytro

Raytrix

Stanfordplenopticcamera

Page 35: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Applications

• A point in the scene is viewed from multiple directions:

– 3D reconstruction possible from “single image”

– Extended depth of field

– Adjustable object plane after exposure

35

Images: Lytro

Page 36: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Omni-directional cameras

• Omni: Latin for every, all– In theory: a camera that sees in all directions

– Often in practice: not all directions, but a much larger field of view compared to a standard camera

• There are several design approaches to omni-directional cameras– Multiple pinhole cameras

– Fish-eye lens

– Catadioptic camera

36

Page 37: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Omni-directional cameras

• The image is best represented as a sphere instead of a plane

– Can be mapped to a plane image but with severe distortion

– Ideally: all light rays intersectat a single point

• Cannot be achieved in practice!

37

Page 38: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Multiple pinhole cameras

• Set up multiple pinhole cameras to cover the desired set of directions

• Use image stitching to produce a representation of the image sphere(or parts thereof)

38

Ladybug 2 and 3 fromPoint Gray Research Inc.

Page 39: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Multiple pinhole cameras

39

From: de la Torres, et al,Learning to Track Multiple People in Omnidirectional Video

Page 40: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Fish-eye lens

• A single camera with a fish-eye lens can cover approximately a hemi-sphere

40Image: Dan Slater

Page 41: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Catadiopt(r)ic cameras

• Mirrors and/or lenses re-project the light rays into a single camera lens

– Special case: fish-eye lens

41

The mirror can be

• Spherical

• Hyperbolic

• Conic

• …

Curved mirror

Page 42: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Catadiopt(r)ic cameras

42Kaidan Inc. catadioptric objective

Image: Tomas Pajdla

Page 43: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Catadioptic vs. fish-eye lens

• Fish-eye lens: cheap and simple– For example, a door peep-hole: 50 SEK– Can give approx 180o field of view

• Catadioptic camera system– Exact control of how the plenoptic function is

sampled by choosing the curve of the mirror• User specified curved mirrors: expensive

– Single optic center can be accomplished– Can give > 180o FOV, with camera occlusion

43

Page 44: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Omni-directional cameras

• Applications

– Video conferences

– Surveillance

– Environment mapping

– …

44

Page 45: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Coded aperture

• Aimed at extending depth of field

• Originally developed for X-ray and gamma ray imaging.

• Simple coded aperture: pinhole camera

• More complex apertures can be used if combined with computational algorithms for reconstructing the image.

PinholeCamera

sensor

Object

plane

Page 46: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

LensCamera

sensorObject

Focal plane

Solution 1: lens with small aperture

Levin et.al. SIGGRAPH07

Point

spread

function

Image of a point

light sourceLens’ aperture

Page 47: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Lens with coded

aperture

Camera

sensor

Image of a

defocused point

light source

Aperture pattern

Object

Focal plane

Solution 2: lens with coded aperture

Levin et.al. SIGGRAPH07

Point

spread

function

Page 48: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Lens with coded

aperture

Camera

sensor

Point

spread

function

Image of a

defocused point

light source

Aperture pattern

Object

Focal plane

Solution 2: lens with coded aperture

Levin et.al. SIGGRAPH07

Page 49: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically
Page 50: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Levin et.al. SIGGRAPH07

Page 51: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Reconstruction

• Image is formed by convolution of the object with the (scaled) aperture: y = fk*x

• fk is the blurred point spread function

Page 52: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Reconstruction

• Deblur locally by minimizing |fk *x – y|2

• Search for best depths (k) in the local areas

• Reconstruct all parts of the image.

• Result depends on the particular aperture.

Sampled aperture patternsConventional

aperture

More discrimination

between scales

Score

Less discrimination

between scales

Page 53: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Levin et.al. SIGGRAPH07

Page 54: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Levin et.al. SIGGRAPH07

Page 55: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Original image

All-focus image

Close-up

Levin et.al. SIGGRAPH07

Page 56: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Levin et.al. SIGGRAPH07

Page 57: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Levin et.al. SIGGRAPH07

Page 58: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Original image All-focus image Naïve sharpening

Close-up

Levin et.al. SIGGRAPH07

Page 59: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Application: Digital refocusing from a single image

Levin et.al. SIGGRAPH07

Page 60: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Application: Digital refocusing from a single image

Levin et.al. SIGGRAPH07

Page 61: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Application: Digital refocusing from a single image

Levin et.al. SIGGRAPH07

Page 62: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Added bonus: depth estimation

Levin et.al. SIGGRAPH07

Page 63: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Flexible depth of field*

• Aimed at extending depth of field

• Based on moving the sensor during exposure

*"Flexible Depth of Field Photography,” H. Nagahara, S. Kuthirummal, C.

Zhou, and S.K. Nayar, European Conference on Computer Vision (ECCV),

Oct, 2008.

Page 64: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Flexible depth of field imaging

Page 65: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

PSF becomes independent on object distance

Thus, deblurring can be done with a fixed filter for all image parts!

Page 66: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Nagahara et al., Flexible depth of field imaging

Page 67: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Flutter shutter

Coded aperture

Lenslet array

Moving detector

Structured light

Flash/no flash

Computational camera- affected camera parts

(Inspired by W.T.Freeman, EI 2012)

Photograph by Gregor Halenda. popularmechanics.com. Dec. 2008. http://www.spd.org/images/blog/117.jpg

Page 68: Image Sensors - Linköping University · Light field camera •A light field camera make a denser sampling of I(x, n) than a standard camera –Ideally all x and all n (not practically

Computational cameras

• Plenary talk by Shre Nayar– Professor at Columbia University

• Check out the video!

68