raytrix lightfield camera - nvidiadeveloper.download.nvidia.com/gtc/pdf/gtc2012/... · nvidia gtc...

35
Copyright © 2012 by Raytrix GmbH, Germany One Camera – One Lens – One Shot Raytrix Lightfield Camera www.raytrix.de 3D

Upload: others

Post on 28-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

Copyright © 2012 by Raytrix GmbH, Germany

One Camera – One Lens – One Shot

Raytrix Lightfield Camera www.raytrix.de

3D

Page 2: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

2

Content

• Introduction • Application Examples • Technology • Conclusion

Page 3: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

3

The Company

Raytrix

• Founded 2009 in Kiel, Germany

• Development of lightfield cameras and lightfield image processing software

• Lightfield cameras for industrial applications and research

Products

• Lightfield cameras available since 2010 with 4, 5, 11 and 29 megarays and framerates from 6 to 30fps

• Available interfaces: USB2, USB3, GigE and CameraLink

• CUDA based fast lightfield processing software

Innovations

• High effective resolution of up to ¼ of the sensor resolution

• Extended depth of field through patented microlens array design

• Fast 3D algorithms based on CUDA processing

Page 4: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

4

Lightfield Advantages

Robust

• One camera, one lens.

• No need to synchronize multiple cameras.

• No decalibration of camera setup.

Easy 3D calibration

• No calibration needed for non-metric 3D data

• Single image calibration for metric measurements

Advanced Post-Production

• For stereo output can vary baseline length and orientation

• Multi-View output for autostereoscopic displays

• Refocus over extended depth of field

Page 5: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

5

Basic Image Generation

Standard Camera Main lens focuses directly onto image plane.

Lightfield Camera Main lens generates intermediate image. Microlens array acts as camera array that focuses intermediate image onto image plane.

Page 6: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

6

Extended Depth of Field Comparison

Both images were taken with same 11 megapixel sensor, same lens and same aperture.

Standard Camera Raytrix Lightfield Camera

Page 7: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

7

Som

e P

len

op

tics

H

isto

ry 1903 Ives (barrier camera)

1908 Lippman (microlens camera)

1911 Sokolov

1935 Coffey

1948 Ivanov

1968 Chutjian (first digital lightfield device)

1970 Dudnikov

1991 Adelson (plenoptic camera)

1996 Levoy & Hanrahan (lightfield)

2000 Isaksen (refocusing)

2005 Ng (handheld plenoptic camera)

2006 Levoy (microscopy)

2006 Georgiev & Lumsdaine (plenoptics 2.0)

2008 Fife (plenoptic CCD sensor)

2010 Raytrix (first commercial lightfield camera)

Page 8: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

8

Content

• Introduction • Application Examples • Technology • Conclusion

Page 9: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

9

3D-Face Capture

Picture taken with Raytrix R11C camera

3D Reconstruction 3D reconstruction of face from single shot with Raytrix camera.

Re-Lighting of Image 3D information can be used to re-light image depending on depth.

Page 10: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

10

3D-Face Capture

Picture taken with Raytrix R11C camera

Re-Focus on Eye Use 3D image information to blur image parts outside the focus plane.

Re-Focus on Nose Use 3D image information to blur image parts outside the focus plane.

Page 11: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

11

3D-Face Video

Video taken at 6fps with Raytrix R11C camera and processed at 6fps with NVIDIA GTX580 graphics card.

Page 12: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

12

Quality Inspection – Bolt Head

Picture taken with Raytrix R1M camera

Page 13: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

13

Quality Inspection - Bonding Wires

Picture taken with Raytrix R11M camera

Page 14: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

14

Quality Inspection - Pinout

Picture taken with Raytrix R11M camera

Page 15: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

15

Natural Images

Picture taken with Raytrix R11C camera

Page 16: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

16

Natural Images

Picture taken with Raytrix R11C camera

Page 17: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

Natural Images - 500mm Telephoto Lens

Photo shoot location

Gorch Fock sailing ship

~1km

Yellow street barrier ~50m

All-in-focus image

Full-HD Resolution

Depth Map

Page 18: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

18

Lightfield Volumetric Velocimetry

Raytrix Camera

Laser

Watertank

• Measure 3D flow of particles in water.

• Need only one lightfield camera.

• Simple calibration with single image.

• No need to synchronize cameras.

• Robust setup.

Calculate 3D flow vectors and particle time-histories from lightfield data

Page 19: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

19

Content

• Introduction • Application Examples • Technology • Conclusion

Page 20: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

20

Example: Plenoptic Camera Raw Image

Compute “refocused“ image

Page 21: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

21

Extended Depth-of-Field

Lens Type 1 Lens Type 2 Lens Type 3

Patent pending

Raytrix cameras use micro lens arrays

with different micro lens types which

differ in their focal length. This extends the depth-of-field of

the camera.

Page 22: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

22

Lightfield Camera F-Matching

Main lens aperture more

open than micro lens aperture

Main lens aperture matches

micro lens aperture

Main lens aperture more

closed than micro lens aperture

Page 23: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

23

Light Field Camera F-Matching

Main lens Image plane

Microlens array

Aperture

Central projection rays of microlenses

BL

DL

B

D

Microlens

Main lens

Typically and

The F-numbers of the main aperture has to equal the F-numbers of the microlenses. Otherwise, either the micro images overlap or there are gaps between neighbouring micro images.

Page 24: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

24

Standard Camera Image Formation

Light rays focused onto point on image plane by main lens. All light rays inside the light projection envelope are integrated at the image point.

Light projection envelope

Main lens Image plane

Virtual image points

Sets of light rays focused to points behind the image plane. Pixel on image plane sample light rays from different directions but also from different points.

Page 25: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

25

Light Field Camera Image Formation

Light projection envelope

Main lens Image plane

Microlens array

Micro images

Light rays focused to point behind image plane by main lens.

Light rays focused to a point behind the image plane by main lens. Microlenses sample sub-sets of light rays and focus them to a set of points.

Page 26: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

26

Light Field Camera Image Formation

The light projection envelopes for virtual image points at different positions create non-overlapping sets of micro images. The original light projection envelope can be reconstructed.

Page 27: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

27

Effective Resolution

The closer an object is to the camera, the further away the virtual image is from the image plane and the more micro lenses see the same point. The effective resolution is a combination of the number of micro images a point is projected to and the micro lenses‘ depth-of-field.

Initial object position

Object further away

Object closer

Virtual image

Virtual image

Virtual image

Page 28: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

28

Refocusing

Re-Focus Surface

Microlenses

Construction of re-focused image from raw image by calculating projection rays from re-focus surface onto image image.

Raw Image

Page 29: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

29

Effective Resolution – Multi Focus

Effektives Auflösungsverhältnis für eine Bilddimension zu Abstand von Bildebene

Image plane Microlens plane

Standard plenoptic camera for comparison

Lens Type 1

Total Covering Plane

Effective resolution ratio for one image dimension per lens type with respect to virtual image position. Objects projected onto total covering plane are those furthest away that can still be refocused. As objects get closer to camera, the effective resolution is reduced.

Distance from image plane in mm Towards main lens

Effe

ctiv

e R

eso

luti

on

in 1

D

Lens Type 2

Lens Type 3

Page 30: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

30

Depth Resolution

Depth is calculated by matching corresponding image patches in neighboring micro lenses. Depending on how close an object is to the camera, micro lenses with a larger distance can be used, which improves the depth resolution.

First 10 neighbors with incresing distance Depth resolution graphs for first 11 neighbors

Page 31: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

31

,01000

,1000

1,000

10,000

145 195 245 295 345 395 445 495 545

Stan

dar

d D

evia

tio

n in

Mill

imet

ers

Distance from Camera in Millimeters

Depth Resolution - Real Data Results

100mm lens

50 mm lens

35mm lens

Page 32: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

32

Software Architecture

Lightfield Camera

Computer

CUDA Device

Raw Image

Preprocess

De-Bayering

Depth Calculation

Refocus

OpenGL Interop.

Host

Camera I/O

Raw Image

Storage I/O

Display

Fast direct raw storage

Page 33: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

33

Content

• Introduction • Application Examples • Technology • Conclusion

Page 34: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany

www.raytrix.de 3D

One Shot – Many Outputs

3D-Data All-In-Focus Image Processing

- selective per-pixel focus - Variable view point

horizontally and vertically - Variable 3D-zoom effect

3D-View - Variable base line - Variable image

orientation - Multi-View for auto-

stereoscopic displays

Depth Map - No 3D-calibration

needed - Depth can only be

calculated at structured areas

Single shot - One raw image - Video possible - Makro and Tele lenses - Arbitrary object sizes

and distances - High effective resolution

Page 35: Raytrix Lightfield Camera - Nvidiadeveloper.download.nvidia.com/GTC/PDF/GTC2012/... · NVIDIA GTC 2012 – Lightfield Video Copyright © 2012 by Raytrix GmbH, Germany 3D 29 Effective

Copyright © 2012 by Raytrix GmbH, Germany

Raytrix GmbH Schauenburgerstr. 116 24118 Kiel Germany www.raytrix.de [email protected]

Raytrix founder Lennart Wietzke & Christian Perwass

Thank you for your attention!

35