Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle •...

15
1 Motion capture Principle Harware Data fitting Principle Capture movements or postures in the real world – actor (body, hands, face) – puppet (body) Extract relevant data Use data – Map the movements to a synthetic creature – Execute commands

Transcript of Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle •...

Page 1: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

1

Motion capture

• Principle

• Harware

• Data fitting

Principle

• Capture movements or postures in the realworld– actor (body, hands, face)

– puppet (body)

• Extract relevant data

• Use data– Map the movements to a synthetic creature

– Execute commands

Page 2: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

2

Capture harware

• Magnetic sensors

• Optical capture

• Rotation encoders (puppet)

Magnetic sensors

Page 3: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

3

Data flow

• Source and sensors– emit and receive magnetic fields

• Electronic control unit– computes positions and orientations (6D)

• Server/driver– sends the data to the computer(s)

– one channel/sensor

• Tracks(one/variable)

Practice

• Wired actor– 10-20 sensors

• Data sampling– 15-120 Hz

Page 4: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

4

Advantages of magnetic motioncapture

• Position and orientation

• Minimal device calibration

• Real-time

• Cheap ($40000)

Disadvantages of magneticmotion capture

• Limited range– 10-15 m2

• Sensitivity to metal

• Encumbrance

• Sampling rate

Page 5: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

5

Optical capture

• Use retro-reflective markers– circular stickers

– small spheres

• Cameras– facial animation: 1

– body animation: 2-6

• Postprocessing of images

Recovering 3D

• Triangulation

• Tracking– image matching

– triangulation (several cameras)

Page 6: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

6

Optical body tracking: practice

• 20-30 markers

• Points of interest– hips, elbows, knees,...

– head (3 markers)

• Images are postprocessed (tracking)

• 100-250 Hz

Advantages of optical capture

• Large active area

• Unemcumbered actor

• Markers are passive

• High enough sampling rates

Page 7: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

7

Disadvantages of optical capture

• Cost ($150,00 - 250,000)

• Sensitivity to light

• Sensitivity to reflections

• Marker occlusions

• Tracking time

• Positions only

• Sensitivity to calibration

Digital Poseable MannequinsThe Monkey

• Articulated puppet with joint sensors

• Advantages– easy to use

– easy calibration

– multiple active characters

– cost ($10,000)

• Disadvantages– dynamic realism

Page 8: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

8

Datagloves

• Track the hand and fingers

Data processing

• Mapping data to an articulated body– calibration

– body model

– corrections

Page 9: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

9

Calibration of the measuring device

• Magnetic sensors– source location (position and orientation)

• Optical trackers– use known objects to compute coefficients

������

������

=���

���

��

���

�=

...2

2

1

1

v

u

v

u

z

y

x

v

u

i

i FMwi

Calibration of the tracked points

• Relative location wrt object must be estimated

– hand-made measurements

– statistical processing

– skeleton fitting

sTTT TT

0s

o =

Page 10: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

10

Skeletton fitting

• Compute the distancesfrom the trackersto thevirtual skeleton

Body model

• Two possible models– one hierarchical articulated body

use joint rotations

– several bodiesuse positions and rotations

Page 11: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

11

Hierarchical body

• The model is globally positioned using onebody sensor

• Relative rotations recursively define thepositions of the links

Relative rotations

• Measure rotations wrt the world

• Deduce relative rotations

sT

TE

E0

s0 RRRR =

j0

0i

ji RRR =

Page 12: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

12

Advantages and drawbacks ofhierarchical skeletons

• Advantages– simplicity: compute and apply relative rotations

– the body is always connected

• Drawbacks– accumulation of error

Sources of errors

• Magnetic sensors

• Calibration

• Trackers not rigidly fixed

Page 13: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

13

Several-body model

• Drive body, forearms and tibias wrt world

Difficulties• Wrong data results in constraint violation

• Inverse kinematics is sensitive tosingularities

release constraints, apply optimization

Page 14: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

14

Mapping to a different body

• Use optimization– positions

– orientations

– limit motion

2

2*01011

2*00

2*

)()(

)()(

jc

OjjOo

jjjp

w

OOwOOw

PPwF

θ

θ

+

−+−+

−=�

Summary

• Variety of techniques

• Data correction is necessary

• Remaining problems:– noisy data

– foot slippery

Page 15: Motion capture - imag · Motion capture • Principle • Harware • Data fitting Principle • Capture movements or postures in the real world – actor (body, hands, face) –

15

References

• Molet, Boulic, Thalmann,A real-time converter for humanmotion capture, Eurographics Workshop on ComputerAnimation and Simulation, Springer-Verlag, Wien, 1996

• Bodenheimer, Rose,The process of motion capture:dealing with the data, Eurographics Workshop onComputer Animation and Simulation, Springer-Verlag,Wien, 1997

• http://reality.sgi.com/jam_sb/mocap/MoCapWP_v2.0.html