4.1 3D Scanning Hao Li http://cs599.hao-li.com 1 Administrative - - PowerPoint PPT Presentation

4 1 3d scanning
SMART_READER_LITE
LIVE PREVIEW

4.1 3D Scanning Hao Li http://cs599.hao-li.com 1 Administrative - - PowerPoint PPT Presentation

Spring 2015 CSCI 599: Digital Geometry Processing 4.1 3D Scanning Hao Li http://cs599.hao-li.com 1 Administrative Exercise 2: next tuesday after surface registration 2 2D Imaging Pipeline 2D capture 2D processing/editing 2D printing 3


slide-1
SLIDE 1

CSCI 599: Digital Geometry Processing

Hao Li

http://cs599.hao-li.com

1

Spring 2015

4.1 3D Scanning

slide-2
SLIDE 2

Administrative

2

  • Exercise 2: next tuesday after surface registration
slide-3
SLIDE 3

2D Imaging Pipeline

3

2D capture 2D processing/editing 2D printing

slide-4
SLIDE 4

3D Scanning Pipeline

4

3D scanning 3D processing/editing 3D printing

slide-5
SLIDE 5

Applications

5

entertainment digital garment fitness

slide-6
SLIDE 6

Applications

6

slide-7
SLIDE 7

Applications

7

slide-8
SLIDE 8

Applications: Personalized Games

8

slide-9
SLIDE 9

Digital Michelangelo Project

9

1G sample points → 8 M triangles 4G sample points → 8 M triangles

slide-10
SLIDE 10

Commercialization

10

slide-11
SLIDE 11

Democratization

11

slide-12
SLIDE 12

3D Self-Portraits

Omote3D Shashin Kan

slide-13
SLIDE 13

Surface Reconstruction Pipeline

13

acquired point cloud digitized model physical model

slide-14
SLIDE 14

Two Digitization Approaches

14

Single Sensor Capture Multi-View Sensor Capture physical

  • bject

Registration Reconstruction/ Fusion range map point cloud digital model (triangle mesh) aligned meshes

slide-15
SLIDE 15

3D Scanning Taxonomy

15

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-16
SLIDE 16

3D Scanning Taxonomy

16

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-17
SLIDE 17

Contact Scanners

17

[Immersion Microscribe, Magnetic Dreams]

slide-18
SLIDE 18

Contact Scanners

18

Probe object by physical touch

  • used in manufacturing control
  • highly accurate
  • reflectance independent (transparency!)
  • slow scanning, sparse set of samples
  • for rigid and non-fragile objects

[Zeiss]

slide-19
SLIDE 19

Contact Scanners

19

Probe object by physical touch

  • hand-held scanners
  • less accurate
  • slow scanning, sparse set of samples

[Immersion Microscribe]

slide-20
SLIDE 20

3D Scanning Taxonomy

20

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-21
SLIDE 21

Non-Contact

21

Advantages

  • longer and safer distance capture
  • potentially faster acquisition
  • more automated

Optical Approaches

  • most relevant and used (no special hardware requirements)
  • highly flexible
  • most accurate
  • passive and active approaches
slide-22
SLIDE 22

3D Scanning Taxonomy

22

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-23
SLIDE 23

Passive

23

  • exclusively based on sensor(s)
  • computer vision-driven (stereo, multi-view stereo, structure from

motion, scene understanding, etc.)

  • main challenges: occlusions and correspondences
  • typically assumes a 2D manifold with Lambertian reflectance

Autodesk 123D Catch

slide-24
SLIDE 24

3D Scanning Taxonomy

24

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-25
SLIDE 25

Stereo

25

surface camera camera

image rectification triangulation

slide-26
SLIDE 26

Calibration

26

extrinsics and intrisics lens distortion (pinhole model) camera calibration toolbox

slide-27
SLIDE 27

Stereo

27

input

  • utput
slide-28
SLIDE 28

Multi-View Stereo

28

multi-view photometric stereo multi-view stereo

slide-29
SLIDE 29

Multi-View Stereo

29

slide-30
SLIDE 30

Dense Structure from Motion

30

slide-31
SLIDE 31

3D Scanning Taxonomy

31

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-32
SLIDE 32

Active

32

  • based on sensor and emitter (controlled EM wave)
  • influence of surface reflectance to emitted signal
  • correspondence problem simplified (via known signal) → less

computation (realtime?)

  • examples (laser, structured light, photometric stereo)
  • high resolution and dense capture possible, even for texture

poor regions

  • more sensitive to surface reflection properties (mirrors?)
slide-33
SLIDE 33

3D Scanning Taxonomy

33

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-34
SLIDE 34

Active Stereo

34

slide-35
SLIDE 35

Photometric Stereo

35

Lightstage 6 (USC-ICT) 8 Normal Maps / Frame

slide-36
SLIDE 36

Photometric Stereo

36

slide-37
SLIDE 37

3D Scanning Taxonomy

37

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-38
SLIDE 38

Time-of-Flight Cameras

38

Probe object by laser or infrared light

  • Emit pulse of light, measure time till reflection from surface

is seen by a detector

  • Known speed of light & round-trip time allows to compute

distance to surface [Leica]

Laser LIDAR

  • Light Dectection and Ranging
  • Good for long distance scans
  • 6mm accuracy at 50 m distance
slide-39
SLIDE 39

Time-of-Flight Cameras

39

Probe object by laser or infrared light

  • Emit pulse of light, measure time till reflection from surface

is seen by a detector

  • Known speed of light & round-trip time allows to compute

distance to surface [Mesa Imaging]

Infrared light

  • 176x144 pixels, up to 50 fps
  • 30 cm to 5 m distance
  • 1 cm accuracy
  • technology is improving drastically
slide-40
SLIDE 40

Kinect One

40

Kinect One (= second gen Kinect)

  • Time-of-Flight Technology
  • 30 fps
  • Depth map x/y resolution: 512 x 424
  • z-resolution 1 mm & accuracy:
  • <1.5 mm (depth < 50 cm)
  • < 3.9 mm (depth < 180 cm)
  • < 17.6 mm (depth < 450 cm)
  • 1080 HD for RGB input
  • uses Kinect2 SDK
slide-41
SLIDE 41

3D Scanning Taxonomy

41

3D scanning contact non-contact non-destructive destructive robotic gantry coordinate measuring machines acoustic magnetic

  • ptical

passive active stereo shape-from-shading silhouette depth-from-focus triangulation interferometry time-of-flight active-stereo

slide-42
SLIDE 42

Optical Triangulation

42

  • bject

projector image plane camera image plane camera projector 3D sample 2D View 3D View

slide-43
SLIDE 43

Geometric Constraints

43

  • ccluded to camera
  • bject

projector camera

  • ptical axis
slide-44
SLIDE 44

Laser-Scanning

44

Digital Michelangelo Project Konica Minolta Cyberware

slide-45
SLIDE 45

Laser-Based Optical Triangulation

45

  • gained popularity for high accuracy capture (< 1mm)
  • professional solutions are still expensive
  • long range
  • very insensitive to object’s color (e.g. black) and lighting

conditions

  • may lead to laser speckle on rough surface → space time

analysis

  • slow process (plane-sweep) → no suitable for dynamic
  • bjects
slide-46
SLIDE 46

Surface Perturbs Laser Shape

46

reflectance discontinuity sensor occlusion

slide-47
SLIDE 47

Surface Perturbs Laser Shape

47

shape variation

slide-48
SLIDE 48

Single-View Structure Light Scanning

48

[Newcombe et al. ’11] KinectFusion [Rusinkiewicz et al. ‘02] Artec Group

slide-49
SLIDE 49

Structured Light Scanning

49

  • developed to increase capture speed by simultaneously

projecting multiple stripes or dots at once

  • increase accuracy using edge detection
  • due to cost and flexibility, based on a video projector
  • challenge: recognize projected patterns (correspondence)
  • under occlusions
  • different surface reflection properties (furry object?)
  • less projections → faster but correspondence harder
  • typically assumes a 2D manifold with Lambertian reflectance
slide-50
SLIDE 50

Stripe Edge Detection

50

slide-51
SLIDE 51

Epipolar Geometry

51

correspondence is a 1D search

  • same for passive stereo (but with rectification)
slide-52
SLIDE 52

Time-Coded Light Patterns

52

Binary coded pattern

  • project several b/w patterns over time
  • color patterns identify row/column

Space Time

slide-53
SLIDE 53

Time-Coded Light Patterns

53

Gray Code Pattern

  • Wider stripes than naive binary coding
  • While same number of patterns, it performs better

Gray Code Binary Code

slide-54
SLIDE 54

Geometric Constraints

54

  • ccluded to camera
  • bject

projector camera

  • ptical axis

θ = 20 good

slide-55
SLIDE 55

Geometric Constraints

55

  • bject

convex hull

  • ccluded to cameras

that are outside of convex hull

  • bject

shutter penumbra umbra

slide-56
SLIDE 56

Occlusions in Concave Regions

  • Longer baseline: more shadowing
  • Shorter baseline: less precision
  • In practice:
  • Interference of Patterns
  • Challenges for multi-view capture

Take Home Message

56

θ = 20

Shake’n’Sense [MSR 2012]

slide-57
SLIDE 57

Realtime Structured Light

57

slide-58
SLIDE 58

Phase Shift Patterns

58

Realtime Depth Capture

  • Moving and Deforming Scenes
  • Subpixel accuracy
  • High resolution
slide-59
SLIDE 59

Phase Shift Patterns

59

Realtime Depth Capture

  • Moving and Deforming Scenes
  • Subpixel accuracy
  • High resolution
slide-60
SLIDE 60

Phase Shift Patterns

60

projector phase shifted patterns iprojection(x, t) = 1 2(1 + cos(θ(x) − φ(t)))

t

x ∈ R2

slide-61
SLIDE 61

Phase Shift Patterns

61

projector camera surface

iprojection(x) iacquisition(˜ x)

slide-62
SLIDE 62

Phase Shift Patterns

62

iprojection(x) n − 1 w

x1

iacquisition(˜ x) = ialbedo(˜ x) + iamplitude(˜ x)cos(2πn x1 w − φ)

iacquisition(˜ x)

slide-63
SLIDE 63

Phase Unwrapping

63

iacquisition(˜ x) = ialbedo(˜ x) + iamplitude(˜ x)cos(2πn x1 w − φ)

iacquisition(˜ x) = ialbedo(˜ x) + iamplitude(˜ x)cos(θ − φ)

θ ∈ [0, 2π]

slide-64
SLIDE 64

Phase Unwrapping

64

iacquisition(˜ x) = ialbedo(˜ x) + iamplitude(˜ x)cos(θ − φ)

θ ∈ [0, 2π] i(t) acquisition(˜ x) = ialbedo(˜ x) + iamplitude(˜ x)cos(θ − 2π t m)

ialbedo(˜ x)

iamplitude(˜ x)

Three unknowns:

slide-65
SLIDE 65

Phase Unwrapping

65

i(t) acquisition(˜ x) = ialbedo(˜ x) + iamplitude(˜ x)cos(θ − 2π t m)

ialbedo(˜ x) = 1 3

3

t=1

it acquisition(˜ x) iamplitude(˜ x) = (

(i3

acquisition − i1 acquisition)2 3

+ (2i2

acquisition − i1 acquisition − i3 acquisition)2 9

)

1 2

θ = arctan( 3

1 2 (i1

acquisition − i3 acquisition) 2i2 acquisition − i1 acquisition − i3 acquisition

)

slide-66
SLIDE 66

Phase Unwrapping

66

phase solution is unique only up to period... phase “unwrapping”

˜ θ(˜ x) = θ(˜ x) + 2πk(˜ x)

k ∈ [0, n − 1]

slide-67
SLIDE 67

Kinect for XBOX 360

67

Kinect (= 1st gen Kinect)

  • Structured Light Technology (Primesense Sensor)
  • 640 x 480 @ 30 fps
  • 1280x960 @ 12 fps
  • accuracy:
  • < a few mm (depth < 50 cm)
  • < 4 cm (depth < 500 cm)
  • VGA for RGB input
  • uses Kinect1.x SDK
slide-68
SLIDE 68

Summary

68

The Future will be more accessible

  • Real-time depth sensors (smaller, more accurate, higher

resolution, less noise, larger working volume, portable)

  • TOF, structured Light, camera Arrays
  • Multi-view stereo capture (sparser, better algorithms, real-

time, very large working volume, high speed, portable)

  • Robotic camera tracking

tracking a ping pong ball

slide-69
SLIDE 69

presented by Artec Group

http://shapify.me

slide-70
SLIDE 70

Literature

70

  • Lanman and Taubin, “Build Your Own 3D Scanner: Optical

Triangulation for Beginners”, SIGGRAPH 2009 Courses

  • Curless, “New Methods for Surface Reconstruction from Range

Images”, PhD Thesis, Stanford University 1997

  • Levoy et al., “Digital Michelangelo Project”, Stanford 1997 - 2000
  • Zhang, “www.me.iastate.edu/directory/faculty/song-zhang/“
  • Newcombe & Davison, “Live Dense Reconstruction with a Single

Moving Camera”, CVPR 2010

slide-71
SLIDE 71

Next Time

71

Surface Registration

slide-72
SLIDE 72

http://cs599.hao-li.com

Thanks!

72