mixed reality and tangible interface click to edit master ...anab/teaching/m2r-tui/elective... ·...

85
Click to edit Master title style Interaction speciality Computer Science Master - University Paris-Saclay Mixed Reality and Tangible interface 3D scene acquisition Jean-Marc Vezien [email protected]

Upload: others

Post on 21-Jul-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

Click to edit Master title style

Interaction speciality – Computer Science Master - University Paris-Saclay

Mixed Reality and Tangible interface

3D scene acquisition

Jean-Marc Vezien

[email protected]

Page 2: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

2

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Plan of the lecture

1. Intro : 3D vision and AR

2. 3D vision: how

3. 3D vision : applications

Page 3: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

3

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D Vision for AR

Page 4: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

4

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D reconstruction(here : stereo analysis

+ 3D matching)

Augmentation needs 3D acquisition

Page 5: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

5

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

CG graphics+

Augmentation needs 3D acquisition

3D reconstruction(here : stereo analysis

+ 3D matching)

Page 6: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

6

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

CG graphics

Compositing masks

(shadows, occlusions…)

+match move

Augmentation needs 3D acquisition

3D reconstruction(here : stereo analysis

+ 3D matching)

Page 7: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

7

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

CG graphics

Compositing masks

(shadows, occlusions…)

Augmented image

+

Augmentation needs 3D acquisition

match move

3D reconstruction(here : stereo analysis

+ 3D matching)

Page 8: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

8

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D vision: How ?

Sensor and techniques for 3D imaging:

• Active sensors

• Passive sensors

Page 9: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

9

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D vision: How ?

Sensor and techniques for 3D imaging:

• Active sensors

• Passive sensors

Page 10: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

10

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Active sensors

Generate a signal to analyze 3D

environment, usually light:

o Structured in geometry

o Using a coherent source (laser)

Influence environment: application

domain limited

Page 11: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

11

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Non optical active sensors

Many sensors use waves to penetrate matter and analyze

3D content

Echography (sounds)

Radiography, tomography, scanner (X rays),

Nuclear Magnetic Resonance (alpha rays),

Etc.

Very expensive, highly specialized (medical)

Page 12: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

12

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

LIDAR

Principle (radar):

Wave: infra-red laser with low amplitude modulated

signal.

Swipping with mirror

Mhzfm 3001

2T

Page 13: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

13

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

LIDAR (Cont’d)

Ex.: LADAR from Perceptron Inc.

http://www.perceptron.com

• Laser diode @ 835 nm

• 50 mW power

• Distance: 3 to 100 m.

• Viewing angle

- horizontal: from 15 to 60 °- vertical: from 3 to 72 °

• Resolution: 1000 x 2000 pixels

Page 14: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

14

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

LIDAR (Cont’d)

Page 15: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

15

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Triangulation-based sensor

Principle:

Camera

source

Surface

Page 16: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

16

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Several methods

«natural » light , with several illuminating

patterns

coherent light: laser stripe created with

cylindrical lens

Triangulation-based sensor

Page 17: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

17

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Structured lighting: results

Page 18: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

18

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Structured lighting: Kinect

Kinect, 2010

“Augmented Reality Magic Mirror

using the Kinect “

Tobias Blum

IR structured light

Page 19: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

19

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Structures Lighting : Hololens

Hololens (2016, 3000$)

• Augmented reality « see-through » glasses

• Markerless 3D scanner with :

• Depth camera (Kinect-like) Spatial Mapping

SLAM = Simultaneous

Localization and Mapping

= markerless tracking !

Page 20: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

20

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Triangulation scanner : cyberware

Laser sweep

Cyberware (1998)

Artec (2014): 12 sec. Scan.

Page 21: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

21

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Acquisition time: a few seconds (no real-time)

Controlled environment: low ambient light, no scattering (metals), avoid blue colors.

Distance: few centimeters to few meters

Cost (100 k€)

Triangulation sensors: problems

Page 22: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

22

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Triangulation sensors: problems

As the separation between emitter and receptor

increases:

Better precision

Increasing chance of occlusions

reception

Difficult compromise

emission

Page 23: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

23

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Triangulation: results

Page 24: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

24

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Triangulation: results

Integration of multiple scans: several million

polygons

Page 25: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

25

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Moiré effect

Grid 1Grid 2

Light fringes

Light source

Dark fringes

Camera

Page 26: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

26

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Problems:

Small depth of field

Controlled environment

Sophisticated image analysis (not real-

time)

No absolute Z: ambiguity.

Moiré effect (Cont’d)

Page 27: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

27

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Moiré : results

Posture analysis

Historical review and experience with the use of surface topographic

systems in children with idiopathic scoliosis

XC Liu, JG Thometz, JC Tassone, LC Paulsen (2013)

Face scan

Page 28: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

28

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D vision: How ?

Sensor and techniques for 3D imaging:

• Active sensors

• Passive sensors

Page 29: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

29

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Passive sensors

Receive natural light, no active intervention

Ex: CCD or CMOS arrays

Many techniques can extract 3D information from images

Page 30: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

30

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Passive sensors (shape from X)

X = base for feature extraction in image

X = motion

X = shading (not shadows !)

X = illumination

X = texture

X = ..., combination of previous

Page 31: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

31

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Use extrinsic constraints to compute intrinsic

properties

Intrinsic

properties

Extrinsic

properties

The aspect of an object is a function of:

• geometry (form, rugosity …)

• photometry (color, texture)

• Light sources

• Position of camera w.r.t. object

+

Passive sensors (shape from X)

Page 32: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

32

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

X = motion

• matching features: points, segments, regions, between

images.

• known camera motion reconstruction of (X, Y, Z).

Page 33: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

33

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Stereovision (special case of motion)

Generate dense 3D maps

(data redundancy)

Computing Differential Properties of 3-D Shapes from Stereoscopic Images

without 3-D Models (Devernay, 1994)

Page 34: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

34

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Z.(Xl – Xr) = F Tx = Cte.

Disparity : ΔX = .(Xl – Xr)

Disparity map = depth map !

Rectified stereo (parallel cameras)

Page 35: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

35

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Gesture capture device

• IR lighting (3 LEDS)

• Fast camera (150 fps)

• volume is 600 x 600 x 600 mm

• stated 0.01mm depth resolution

• precision < 0.2 mm static

• 1.2 mm for dynamic setups

• Real-time stereo computation for

fingers: all is in the software

• Patents pending !

Infra red stereo: Leap motion

1/10-inch High End VGA, CMOS

Camera 640H x 480V. 16-bit wide data

(2 x 8 bits interleaved images)

Tremor amplitude varies between 0.4 mm ± 0.2 mm

Page 36: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

36

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Many advantages:

• Rather simple, accessible, many existing software

solutions

• Robust w.r.t. outside conditions

• Dense 3D maps possible

• Real-time computation possible (GPU, FPGA)

Stereovision

Page 37: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

37

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Limitations, constraints:

need to match primitives (points,

segments, regions)

calibrate stereoscopic cameras…

or buy specific hardware

resulting 3D model is weakly

structured (cloud of 3D points)

Stereovision

Page 38: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

38

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

X = shading

Compute surface orientation from single image, with hypothesis on:

Surface nature (homogeneous + type)

Illumination (Ex: point source at infinity)

Approach introduced at the beginning of XXth century

Opposition Surge: moon is made of Regolith

Full moon is 12x brighter than half crescent

(should be x 2) Hapke parameters

Page 39: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

39

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

INRIAlpes, 2006

Shape from shading : results

Page 40: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

40

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Many assumptions:

One homogeneous surface

Very sensitive to illumination

Orientation only

Well adapted to platenary or aerial

observation

Shape from shading : results

Page 41: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

41

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Shape from lighting

The aspect of a surface varies a lot as a function of

illumination

Light sources

Absorbing

coating

Camera

Page 42: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

42

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Hypotheses: surface is continuous (Z=f(x,y)), with uniform material.

Each light produces one constraint I(x,y) per point of surface Z=f(x,y).

Enough constraints problem solved.

Ex: Lambertian surface:

norientatiosurface

factorreflexion = 1 <A <0

i image =

i sourcelightofposition

)cos( minimize

2

1

n

i

i

M

i

nii

I

AIE

Shape from lighting

Page 43: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

43

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Georghiades (2001)

Shape from lighting: results

Page 44: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

44

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Problems:

Too many assumptions

Contrained environment

Qualitative results

Shape from lighting

Page 45: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

45

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Statistical SFS

2010: “3D face recovery from intensities of general and unknown lighting

using partial least squares”

Ham Rara, Shireen Elhabian, Thomas Starr, Aly Farag

CVIP Laboratory, University of Louisville (USA)

Page 46: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

46

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

X = texture

Surface with regular (repetitive) patterns

pattern deformation = f (depth)

Page 47: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

47

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Two steps:

Image analysis: Compute a transform capturing

deformation. Ex: Fourier transform, 2D

momentums, etc.

Convert measure into depth with regularity

assumption

Shape from texture

Combined with stereo: stereo from texture

Page 48: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

48

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Shape from texture: results

Page 49: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

49

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Limitations:

Single surface, single homogeneous texture.

Sensitive to illumination conditions.

Use with caution

Shape from texture

Page 50: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

50

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Implicit reconstruction

It is not mandatory to compute 3D to see 3D objets (depend on

application). Ex: movie industry.

Is it possible to generate «intermediary» images between 2

reference frames ?

= Estimation of equivalent motion for all pixels in « virtual » view.

Knowing P1(x,y) et P2(x,y), can one predict P3(x,y), assuming the

position Cam3 relative to Cam1 et Cam2 is known ?

Page 51: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

51

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Implicit image interpolation

Page 52: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

52

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Ex: for a plane, projections are linked by homography :

Estimation of H : matching features between

images (points, regions…)

1

y

x

= p

...

...

...

= H andwithpHp LR

pL pR

P

Implicit 3D surface reconstruction

Page 53: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

53

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Mirror original

painting

Region map (hand drawn) Depth map

3D Interpolation : example

Global 3D Planar Reconstruction with Uncalibrated Cameras and Rectified Stereo Geometry

Jean-Philippe Tarel (1999).

Page 54: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

54

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Augmented image acquisition: result

Page 55: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

55

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Augmented image acquisition: stitching

http://www.ptgui.com/Hugin : http://hugin.sourceforge.net/

Page 56: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

56

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D Vision: applications

Page 57: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

57

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

3D VISION: applications

• Medical imaging

• Ergonomics / Biometry

• Building, CAD

• Inspection, control

• Exploration of 3D environments

• Assisted driving

• Military applications

• Satellite imagery

• Virtual Reality

• Multimedia content creation

Page 58: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

58

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Medical imaging

• Computer assisted diagnosis: indication of volumes,

shapes, etc.

• Surgery planning

• Forensic medecine

Page 59: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

59

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Techniques :

Moiré, stereovison, laser-based imaging

(shape analysis)

Application:

• Detect deformations

• Prosthetic fitting

Medical imaging

Design And Virtual Prototyping Of Rehabilitation Aids (1997)

Venkat Krovi , G. K. Ananthasuresh , Jean-marc Vezien

Page 60: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

60

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Ergonomics, anthropometric measures

• Goal: determine precise

characteristics for each individual

Jack (U.penn):

graphical system for

human simulation

• Objective: measure, adapt,

recognize

Page 61: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

61

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Techniques:

• Laser

• Stereo

• direct measurements

Application:

• Design/ergonomics

Ergonomics, anthropometric measures

Page 62: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

62

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Ergonomics, anthropometric measures

Workplace design

Page 63: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

63

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Ergonomics, anthropometric measures

3D Motion capture

and analysis

http://www.swri.org

SOUTHWEST RESEARCH INSTITUTE

Cameras

IR

markers

Page 64: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

64

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Construction, CAD

Help make computer-generated objects:

• Sensors to guide tools precisely

• Design a virtual model (design, simulations).

• Tools: laser, stereo.

Page 65: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

65

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Construction, CAD

Page 66: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

66

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Inspection, control

Check that a manufactured object is

within specifications

• Micro-electronics, microchip

production.

• cars (Ex: wheel alignement)

Structured light, excellent precision:

1/1000 mm !

http://www.cognitens.com/

http://www.cyberoptics.com/

Page 67: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

67

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Exploration

Autonomous robots:

2010 : MDARS(Mobile Detection

Assessment Response System) -

US Army

1988: K3A Navmaster

(Cybermotion, Inc.)

http://www.public.navy.mil/spawar/Pacific/Robotics/Pages/Publications.aspx

Page 68: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

68

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Binocular heads (stereovision maps)

Semi-autonomous robots

Exploration

Page 69: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

69

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Techniques: Stereo, Lidar, ultrasounds

images: fast but not precise

Laser (lidar): slower but more precise.

Problems:

fusion of geometric data coming from multiple

sources

calibration of dynamic data

Exploration

Page 70: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

70

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Partial recontruction of the environment :

(semi-) autonomous driving

Limited interventions

Applications:

Hostile environment (nuclear, chemical, explosive)

Repetitive tasks (plants)

Still costly !

Exploration

Page 71: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

71

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

«intelligent» car :

environnement sensing driver

Techniques:

• Laser, Stereo

• Ultrasound

Proximity sensorOn-board

computing

Augmented windshield

Assisted driving (smart car)

Page 72: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

72

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Navlab project (univ. de Carnegie Mellon, USA):

Several run-of-the-mill car tested.

Highway testing in real conditions

No vision (sensitivity) : lidar, magnetic beacons

Assisted driving (smart car)

DARPA Challenge : race between automated

vehicules

• Tough competition

• High reward 2 M$ high incentive

• Soon : urban driving 132-mile Mojave Desert course

7 Hours at speed = 19.1 mph

Page 73: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

73

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Assisted driving (smart car)

Tesla (2015)

Model S assistive driving

camera on top of the windshield

GPS sensor

360 °ultrasonic acoustic location sensors (close range)

forward-looking Lidar (long range)

100 000 $

Cloud-connected learning

Hands-off possible (road following, soon traffic lights…)

July 2016: Tesla driver dies in first fatal crash while using autopilot mode

The autopilot sensors on the Model S failed to distinguish a white tractor-trailer crossing the highway

against a bright sky.

Page 74: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

74

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Google car: a completely autonomous car !

Assisted driving (smart car)

Page 75: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

75

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Military applications

• Hostile/unknown environment

NAVLAB 2

Objectives:

Analyze terrain to assist driving

(wounded occupant, bad visibility,

night)

Techniques:

Lidar: obstacle avoidance, route

finding

Video + neural net = driving

Page 76: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

76

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Terrain reconstruction from a collection of

images from above.

Applications:

- climate (water set)

- ecological surveillance (rainforest, flood areas).

- military

- topography and mapping (google maps)

Aerial and satellite imagery

Page 77: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

77

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Aerial and satellite imagery

Olympus mons (Mars)

Washington area

Techniques:

• Stereoscopy

• Shape from shading

Page 78: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

78

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Limitations:

Beware of illumination assumptions !

The « face » on Mars

Aerial and satellite imagery

Page 79: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

79

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Virtual and Augmented Reality

Analyze Modify reality

Techniques:

• Stereoscopy

• Marker tracking

• Shape from motion

• Laser scan

• 3D object registration

Page 80: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

80

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Augmented reality

3D scene analysis can be

simple yet effective

Augmented content can be 3D

but not geometry-related

Page 81: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

81

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Planar AR: homography

)( dZnYnXn

dMnM

zyx

t

MHMd

nTR

d

MnTMR

TMRm

tt

.

~

Z

Y

X

hhh

hhh

hhh

s

sv

su

333231

232221

131211

8 unknowns 4 (m,M) pairs = 4 corners !

Page 82: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

82

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Homography for AR

MHm .~

Z

Y

X

hhh

hhh

hhh

s

sv

su

333231

232221

131211

X

Y

ʘZ = 0

2D 2D transform !

If we find H-1, we can remap image into the original 2D space

H

Page 83: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

83

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Homography computation

d

TnRH

t

Z

Y

X

H

s

sv

su

Points are in (X,Y) plane

Eq: Z = Z0

100

0 2322

131211

hh

hhh

H

Make 2D points on surface correspond to pixel

location (automatic or interactive)

write on any

surface

Writing with weemote

Page 84: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

84

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

Augmented reality

Many applications:

• Architecture

• Design

• Medical

• Crisis simulation

• Marketing

• Multimedia/games

• Military …

Page 85: Mixed Reality and Tangible interface Click to edit Master ...anab/teaching/M2R-TUI/elective... · 50 “Mixed Reality and tangible interfaces” Interaction speciality –Computer

85

“Mixed Reality and tangible interfaces” Interaction speciality – Computer Science Master - University Paris-Saclay

THE END !