Depth Camera for Mobile Devices Instructor - Simon Lucey 16-423 - - - PowerPoint PPT Presentation

depth camera for mobile devices
SMART_READER_LITE
LIVE PREVIEW

Depth Camera for Mobile Devices Instructor - Simon Lucey 16-423 - - - PowerPoint PPT Presentation

Depth Camera for Mobile Devices Instructor - Simon Lucey 16-423 - Designing Computer Vision Apps Today Stereo Cameras Structured Light Cameras Time of Flight (ToF) Camera Inferring 3D Points Given we have prior knowledge of


slide-1
SLIDE 1

Depth Camera for Mobile Devices

Instructor - Simon Lucey

16-423 - Designing Computer Vision Apps

slide-2
SLIDE 2

Today

  • Stereo Cameras
  • Structured Light Cameras
  • Time of Flight (ToF) Camera
slide-3
SLIDE 3

Inferring 3D Points

  • Given we have prior knowledge of the,
  • Intrinsics parameters,
  • Extrinsic parameters,
  • Corresponding points,
  • Question is how to estimate the 3D point ?

{Ωj, τ j}J

j=1

{Λj}J

j=1

{xj}J

j=1

w

slide-4
SLIDE 4

Inferring 3D Points

ˆ w = min

w J

X

j=1

η{xj − pinhole[w, Λj, Ωj, τ j]}

e.g. η{x} = ||x||2

2

slide-5
SLIDE 5

Inferring 3D Points

  • Optimization problem is inherently non-linear due to the

pinhole camera function.

  • Can be made linear using homogeneous coordinates.
slide-6
SLIDE 6

Inferring 3D Points

  • Write j-th out the pinhole camera in homogenous

coordinates,

  • Pre-multiply with inverse of the intrinsics matrix,
slide-7
SLIDE 7

Inferring 3D Points

  • Last equation gives,
  • Substituting back into the other two equations,
  • Re-arranging gives the following system of equations,
slide-8
SLIDE 8

Inferring 3D Points

  • Last equation gives,
  • Substituting back into the other two equations,
  • Re-arranging gives the following system of equations,

What is the minimum number of cameras (J)?

slide-9
SLIDE 9

Stereo Camera

slide-10
SLIDE 10

Stereo Camera

slide-11
SLIDE 11

Stereo Camera

6.35 cm

slide-12
SLIDE 12

Stereo Camera

6.35 cm

What is better wide or narrow baseline?

slide-13
SLIDE 13

Stereo Camera

slide-14
SLIDE 14

Stereo Camera

slide-15
SLIDE 15

Examples in Mobile

“Amazon Fire Phone”

slide-16
SLIDE 16

Examples in Mobile

“Amazon Fire Phone”

Why 4 cameras?

slide-17
SLIDE 17

A(∆x)

5 10 15 20 25 5 10 15 20 25 5 10 15 20 25 5 10 15 20 25

Limitations - Texture

  • Approach only works if an image patch has texture!!

12

A(∆x) = X

xk∈N (x)

||I(xk) − I(xk + ∆x)||2

slide-18
SLIDE 18

A(∆x)

5 10 15 20 25 5 10 15 20 25 5 10 15 20 25 5 10 15 20 25

Limitations - Texture

  • Approach only works if an image patch has texture!!

12

A(∆x) = X

xk∈N (x)

||I(xk) − I(xk + ∆x)||2

slide-19
SLIDE 19

Today

  • Stereo Cameras
  • Structured Light Cameras
  • Time of Flight (ToF) Camera
slide-20
SLIDE 20

Projector vs.Camera

14

slide-21
SLIDE 21

Projector vs.Camera

14

“Camera”

slide-22
SLIDE 22

Projector vs. Camera

15

slide-23
SLIDE 23

Projector vs. Camera

15

“Projector”

slide-24
SLIDE 24

Depth from Structured Light

16

slide-25
SLIDE 25

Depth from Structured Light

16

How can we get away with one camera?

slide-26
SLIDE 26

Depth from Structure Light

17

slide-27
SLIDE 27

Depth from Structured Light

18

slide-28
SLIDE 28

Prime Sense - Kinect 1.0 Camera

19

(Primesensor)

m). aprox.

How pattern looks like?

  • First Region: Allows to obtain a

high accurate depth surface for near objects aprox. (0.8 – 1.2 m)

  • Second Region: Allows to obtain

medium accurate depth surface

  • aprox. (1.2 – 2.0 m).
  • Third Region: Allows to obtain a

low accurate depth surface in far

  • bjects aprox. (2.0 – 3.5 m).
slide-29
SLIDE 29

Examples in Mobile

20

slide-30
SLIDE 30

ItSeez - App

slide-31
SLIDE 31

ItSeez - App

slide-32
SLIDE 32

Limitations - Range

22

slide-33
SLIDE 33

Limitations - DeFocus

23

(a) Scene (b) Disparity Map

slide-34
SLIDE 34

Limitations - Ambient Light

  • A sunny day on Earth can reach up to 1120Wm-2
  • Tabletop projector releases on average 10W of light.

24

500 1000 1500 2000 2500 3000 3500 4000 0.5 1 1.5 2 2.5 Wavelength (in nm) Spectral Irradiance (in Wm−2nm−1) Extraterrestrial Radiation Direct + Circumsolar Irradiance

slide-35
SLIDE 35

Today

  • Stereo Cameras
  • Structured Light Cameras
  • Time of Flight (ToF) Camera
slide-36
SLIDE 36

Time of Flight Cameras

  • Light travels at approximately a constant speed c =

3x10

8 ms

  • 1.
  • Measuring the time it takes for light to travel over a

distance once can infer distance.

  • Can be categorized into two types:-
  • 1. Direct TOF - switch laser on and off rapidly.
  • 2. Indirect TOF - send out modulated light, then

measure phase difference to infer depth.

slide-37
SLIDE 37

Direct - TOF

  • Light Detection And Ranging (LiDAR)

probably best example in computer vision and robotics.

  • High-energy light pulses limit influence
  • f background illumination.
  • However, difficulty to generate short

light pulses with fast rise and fall times.

  • High-accuracy time measurement

required.

  • Prone to motion blur.
  • Expensive.
slide-38
SLIDE 38

Direct - TOF

  • Light Detection And Ranging (LiDAR)

probably best example in computer vision and robotics.

  • High-energy light pulses limit influence
  • f background illumination.
  • However, difficulty to generate short

light pulses with fast rise and fall times.

  • High-accuracy time measurement

required.

  • Prone to motion blur.
  • Expensive.
slide-39
SLIDE 39

Direct TOF - Zebedee CSIRO

slide-40
SLIDE 40

Direct TOF - Zebedee CSIRO

slide-41
SLIDE 41

Indirect - TOF

  • Continuous light waves instead of short light pulses.
  • Modulation in terms of frequency of sinusoidal waves.
  • Detected wave after reflection has shifted phase.
  • Phase shift proportional to distance from reflecting surface.

Emitter Detector

continuous wave 3D Surface

... ...

20 MHz

... ...

Phase Meter phase shift

slide-42
SLIDE 42

Indirect - TOF

slide-43
SLIDE 43

Indirect TOF

slide-44
SLIDE 44

Examples - Mobile

slide-45
SLIDE 45

REAL3

TM Image Sensor

slide-46
SLIDE 46

The Future

slide-47
SLIDE 47

The Future