lecture 3 (marker-based) motion capture

114
Lecture 3 (Marker-based) Motion Capture Leonid Sigal Human Motion Modeling and Analysis Fall 2012 15-869 (some slides taken and/or inspired by Vladen Koltun‘s course slides from Stanford) Friday, September 21, 12

Upload: lycong

Post on 31-Dec-2016

228 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Lecture 3 (Marker-based) Motion Capture

Lecture 3(Marker-based) Motion Capture

Leonid SigalHuman Motion Modeling and Analysis

Fall 2012

15-869

(some slides taken and/or inspired by Vladen Koltun‘s course slides from Stanford)

Friday, September 21, 12

Page 2: Lecture 3 (Marker-based) Motion Capture

Projects

- Never too early to start thinking about your project

- Look at the blog for ideas and also post your own

- Is it expected that you use data from capture project? Yes, unless you nature of the project is such that you

Capture Project

- Details to be posted most likely later today

- Responsibility of a group is to arrange for everyone in class to get captured (outside of class time) using chosen device

Final Project

Friday, September 21, 12

Page 3: Lecture 3 (Marker-based) Motion Capture

Projects

- Never too early to start thinking about your project

- Look at the blog for ideas and also post your own

- Is it expected that you use data from capture project? Yes, unless you nature of the project is such that you

Capture Project

- Details to be posted most likely later today

- Responsibility of a group is to arrange for everyone in class to get captured (outside of class time) using chosen device

Final Project

Friday, September 21, 12

Page 4: Lecture 3 (Marker-based) Motion Capture

Brief Review

Last Class: Surface capture

This Class: Motion capture more broadly

Practical systems for capturing motion- Allow (some) editing of motion- Can be used as measuring tools

Virtualizing the world (exact replay) Perceptually viable

Friday, September 21, 12

Page 5: Lecture 3 (Marker-based) Motion Capture

Plan for Today’s Class

- Brief history of motion capture

- Review of various motion capture systems and technologies

- Motion capture pipeline (mostly as it relates to marker-based optical systems)

- Surface vs. skeletal capture

- Discussion regarding the benefits and shortcomings of motion capture

Friday, September 21, 12

Page 6: Lecture 3 (Marker-based) Motion Capture

History: Remember Muybridge

Friday, September 21, 12

Page 7: Lecture 3 (Marker-based) Motion Capture

- Animators traced characters over recorded actor’s motion (typically frame-by-frame)

- Invented by Max Fleicher in (1915)

- Used for Betty Boop cartoon

- Used by Walt Disney for Human Characters in Snow White and Seven Dwarfs (1937)

History: RotoscopingHistory: Rotoscope

Trace animated character over recorded actor, frame-by-frame

Invented by Max Fleicher in 1915 and used for Betty Boop

Used by Walt Disney for human characters in Snow White and the Seven Dwarfs in 1937

Friday, September 21, 12

Page 8: Lecture 3 (Marker-based) Motion Capture

History (aside): Multiplane Camera- Moves a number of pieces of

artwork past the camera at various distances

- Creates illusion of depth and true 3D

- Background and foreground moving in opposite directions creates effect of camera rotation

- Used by Walt Disney for the scene where Queen drinks her potion in Snow White and Seven Dwarfs (1937)

Friday, September 21, 12

Page 9: Lecture 3 (Marker-based) Motion Capture

History: Jurassic Park- Dinosaurs animated using

armatures equipped with sensors that measured angles

- CG models driven with keyframes created by armatures

[ Knep, Hayes, Sayre, Williams, ILM, 1995 ]

Friday, September 21, 12

Page 10: Lecture 3 (Marker-based) Motion Capture

History: Late 90s

- Motion capture becomes mainstream in Hollywood and in Games

- Mostly used for VFX (not full featured animated films)

Friday, September 21, 12

Page 11: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

Benefits

Friday, September 21, 12

Page 12: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

Benefits

Portable

Can capture anymotion anywhere

Could be portable

Low accuracy

Not very portable

Can be very precise

Friday, September 21, 12

Page 13: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

What was the big takeaway last class?

Friday, September 21, 12

Page 14: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

What was the big takeaway last class?

Correspondences, Correspondences, Correspondences

Friday, September 21, 12

Page 15: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

Benefits

Friday, September 21, 12

Page 16: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

Benefits

Portable

Can capture anymotion anywhere

Could be portable

Low accuracy

Not very portable

Can be very precise

Friday, September 21, 12

Page 17: Lecture 3 (Marker-based) Motion Capture

- Exo-skeletons/armatures worn over the subject

- Rods connected by potentiometers

- Potentiometers: record analog voltage changes (like nobs on the radio) and convert to digital values; are only able to record change from the original orientation (calibration is critical)

Electromechanical Suites

Electromechanical motion capture

Exo-skeleton worn over subject

Rigid rods connected by potentiometers

Pros: Real-time recording, high accuracy,

affordable, self-contained,

no occlusion, unique sensor identification

Cons: Restrictive, restricted, no global position

Originally used with stop-motion animation

Companies: Animazoo

Image from Animazoo

Pro: Con:

[ Gypsy ]

Friday, September 21, 12

Page 18: Lecture 3 (Marker-based) Motion Capture

- Exo-skeletons/armatures worn over the subject

- Rods connected by potentiometers

- Potentiometers: record analog voltage changes (like nobs on the radio) and convert to digital values; are only able to record change from the original orientation (calibration is critical)

Electromechanical Suites

Electromechanical motion capture

Exo-skeleton worn over subject

Rigid rods connected by potentiometers

Pros: Real-time recording, high accuracy,

affordable, self-contained,

no occlusion, unique sensor identification

Cons: Restrictive, restricted, no global position

Originally used with stop-motion animation

Companies: Animazoo

Image from Animazoo

- Real-time- High accuracy- Inexpensive- Self-contained- No correspondences

- Restrictive- Needs to match

body proportions- No global position

Pro: Con:

[ Gypsy ]

Friday, September 21, 12

Page 19: Lecture 3 (Marker-based) Motion Capture

History: Jurassic Park- Dinosaurs animated using

armatures equipped with sensors that measured angles

- CG models driven with keyframes created by armatures

[ Knep, Hayes, Sayre, Williams, ILM, 1995 ]

Friday, September 21, 12

Page 20: Lecture 3 (Marker-based) Motion Capture

Optical Fiber- Typically used for data gloves

- Fiber-optic sensors along the fingers

- Finger bending, bends fiber

- Bent fiber attenuates light

- Attenuated light converted to measurement

Pro: Con:

Friday, September 21, 12

Page 21: Lecture 3 (Marker-based) Motion Capture

Optical Fiber- Typically used for data gloves

- Fiber-optic sensors along the fingers

- Finger bending, bends fiber

- Bent fiber attenuates light

- Attenuated light converted to measurement

- Real-time- Inexpensive- Self-contained- No correspondences

- Low quality- Only used for

hands

Pro: Con:

Friday, September 21, 12

Page 22: Lecture 3 (Marker-based) Motion Capture

Optical Fiber- Typically used for data gloves

- Fiber-optic sensors along the fingers

- Finger bending, bends fiber

- Bent fiber attenuates light

- Attenuated light converted to measurement

- Real-time- Inexpensive- Self-contained- No correspondences

- Low quality- Only used for

hands

Pro: Con:

Why?

Friday, September 21, 12

Page 23: Lecture 3 (Marker-based) Motion Capture

Inertial SuitesInertial motion capture

Inertial gyroscopes embedded in suit

Pros: Real-time recording, high accuracy,

affordable, self-contained, portable,

no occlusion, unique sensor identification

large number of simultaneous subjects

Cons: Restricted, no global position

Hybrid systems possible

Companies: Animazoo, Xsens

Image from Xsens

[ Xsens ]

- Inertial sensors (gyros)

- Accelerometer: measures acceleration

- Gyroscope: measures orientation

- Ultrasonic: measures distance

Friday, September 21, 12

Page 24: Lecture 3 (Marker-based) Motion Capture

Inertial SuitesInertial motion capture

Inertial gyroscopes embedded in suit

Pros: Real-time recording, high accuracy,

affordable, self-contained, portable,

no occlusion, unique sensor identification

large number of simultaneous subjects

Cons: Restricted, no global position

Hybrid systems possible

Companies: Animazoo, Xsens

Image from Xsens

[ Xsens ]

- Inertial sensors (gyros)

- Accelerometer: measures acceleration

- Gyroscope: measures orientation

- Ultrasonic: measures distance

Friday, September 21, 12

Page 25: Lecture 3 (Marker-based) Motion Capture

Inertial SuitesInertial motion capture

Inertial gyroscopes embedded in suit

Pros: Real-time recording, high accuracy,

affordable, self-contained, portable,

no occlusion, unique sensor identification

large number of simultaneous subjects

Cons: Restricted, no global position

Hybrid systems possible

Companies: Animazoo, Xsens

Image from Xsens

[ Xsens ]

- Inertial sensors (gyros)

- Accelerometer: measures acceleration

- Gyroscope: measures orientation

- Ultrasonic: measures distance

Friday, September 21, 12

Page 26: Lecture 3 (Marker-based) Motion Capture

Inertial SuitesInertial motion capture

Inertial gyroscopes embedded in suit

Pros: Real-time recording, high accuracy,

affordable, self-contained, portable,

no occlusion, unique sensor identification

large number of simultaneous subjects

Cons: Restricted, no global position

Hybrid systems possible

Companies: Animazoo, Xsens

Image from Xsens

[ Xsens ]

- Inertial sensors (gyros)

- Accelerometer: measures acceleration

- Gyroscope: measures orientation

- Ultrasonic: measures distance

Pro: Con:

Friday, September 21, 12

Page 27: Lecture 3 (Marker-based) Motion Capture

Inertial SuitesInertial motion capture

Inertial gyroscopes embedded in suit

Pros: Real-time recording, high accuracy,

affordable, self-contained, portable,

no occlusion, unique sensor identification

large number of simultaneous subjects

Cons: Restricted, no global position

Hybrid systems possible

Companies: Animazoo, Xsens

Image from Xsens

[ Xsens ]

- Inertial sensors (gyros)

- Accelerometer: measures acceleration

- Gyroscope: measures orientation

- Ultrasonic: measures distance

- Real-time- Inexpensive- Self-contained- No correspondences

- Restrictive- No global position- Can drift

Pro: Con:

Friday, September 21, 12

Page 28: Lecture 3 (Marker-based) Motion Capture

Inertial SuitesInertial motion capture

Inertial gyroscopes embedded in suit

Pros: Real-time recording, high accuracy,

affordable, self-contained, portable,

no occlusion, unique sensor identification

large number of simultaneous subjects

Cons: Restricted, no global position

Hybrid systems possible

Companies: Animazoo, Xsens

Image from Xsens

[ Xsens ]

- Inertial sensors (gyros)

- Accelerometer: measures acceleration

- Gyroscope: measures orientation

- Ultrasonic: measures distance

- Real-time- Inexpensive- Self-contained- No correspondences

- Restrictive- No global position- Can drift

Pro: Con:

Friday, September 21, 12

Page 29: Lecture 3 (Marker-based) Motion Capture

Friday, September 21, 12

Page 30: Lecture 3 (Marker-based) Motion Capture

Friday, September 21, 12

Page 31: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

Benefits

Portable

Can capture anymotion anywhere

Could be portable

Low accuracy

Not very portable

Can be very precise

Friday, September 21, 12

Page 32: Lecture 3 (Marker-based) Motion Capture

Electromagnetic- External transmitters establish magnetic fields in space

- Sensors can then measure the position and orientation

- Data from sensors transmitted back wirelessly or across wire

Pro: Con:

[ JZZ Technologies ]

Friday, September 21, 12

Page 33: Lecture 3 (Marker-based) Motion Capture

Electromagnetic- External transmitters establish magnetic fields in space

- Sensors can then measure the position and orientation

- Data from sensors transmitted back wirelessly or across wire

- Real-time- No correspondences

Pro: Con:

[ JZZ Technologies ]

Friday, September 21, 12

Page 34: Lecture 3 (Marker-based) Motion Capture

Electromagnetic- External transmitters establish magnetic fields in space

- Sensors can then measure the position and orientation

- Data from sensors transmitted back wirelessly or across wire

- Real-time- No correspondences

- Limited range- Noise- Interference from

metal objects- Expensive

Pro: Con:

[ JZZ Technologies ]

Friday, September 21, 12

Page 35: Lecture 3 (Marker-based) Motion Capture

Semi-passive

- Multi-LED IR projectors in the environment emit spatially varying patterns

- Photo-sensitive marker tags decode the signals and estimate their position

Friday, September 21, 12

Page 36: Lecture 3 (Marker-based) Motion Capture

Semi-passive

- Multi-LED IR projectors in the environment emit spatially varying patterns

- Photo-sensitive marker tags decode the signals and estimate their position

Friday, September 21, 12

Page 37: Lecture 3 (Marker-based) Motion Capture

Semi-passive

- Multi-LED IR projectors in the environment emit spatially varying patterns

- Photo-sensitive marker tags decode the signals and estimate their position

Pro: Con:

Friday, September 21, 12

Page 38: Lecture 3 (Marker-based) Motion Capture

Semi-passive

- Multi-LED IR projectors in the environment emit spatially varying patterns

- Photo-sensitive marker tags decode the signals and estimate their position

- Real-time- Inexpensive- High speed- No correspondences

- Accuracy (?)- No global position

Pro: Con:

Friday, September 21, 12

Page 39: Lecture 3 (Marker-based) Motion Capture

HD Hero by GoPro

720p at 60 fps~260 dollars/camera

Optical Inside-Out System

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Friday, September 21, 12

Page 40: Lecture 3 (Marker-based) Motion Capture

Optical Inside-Out System

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Friday, September 21, 12

Page 41: Lecture 3 (Marker-based) Motion Capture

Optical Inside-Out System

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Friday, September 21, 12

Page 42: Lecture 3 (Marker-based) Motion Capture

...

...

[Tomasi and Kanade, IJCV 1991], [Hartley and Zisserman, 2004], [Snavely et al., SIGGRAPH 2006]

Optical Inside-Out SystemStructure from Motion

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Friday, September 21, 12

Page 43: Lecture 3 (Marker-based) Motion Capture

[Lowe, IJCV 2004]

...

...

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Optical Inside-Out SystemScale Invariant Features (SIFT)

Friday, September 21, 12

Page 44: Lecture 3 (Marker-based) Motion Capture

[Hartley and Zisserman, 2004]

...

...

Optical Inside-Out SystemCorrespondences with feature + geometry matching

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Friday, September 21, 12

Page 45: Lecture 3 (Marker-based) Motion Capture

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Optical Inside-Out System3D scene reconstruction

Friday, September 21, 12

Page 46: Lecture 3 (Marker-based) Motion Capture

Optical Inside-Out Systemcamera reconstruction

[ Shiratori, Park, Sigal, Sheikh, Hodgins, Siggraph 2011 ]

Friday, September 21, 12

Page 47: Lecture 3 (Marker-based) Motion Capture

Optical Inside-Out System

- Portable- Inexpensive- Gives global position

- Low quality- Very long processing time

Pro: Con:

Friday, September 21, 12

Page 48: Lecture 3 (Marker-based) Motion Capture

Optical Inside-Out System

- Portable- Inexpensive- Gives global position

- Low quality- Very long processing time

Pro: Con:

Friday, September 21, 12

Page 49: Lecture 3 (Marker-based) Motion Capture

Motion Capture Systems

Inside In Inside Out Outside In

Electromechanical Suites

Optical Fiber

Accelerometer Based

Electromagnetic

Semi-passive

Optical

Marker-based Optical(active, passive markers)

Marker-less Optical

Benefits

Portable

Can capture anymotion anywhere

Could be portable

Low accuracy

Not very portable

Can be very precise

Friday, September 21, 12

Page 50: Lecture 3 (Marker-based) Motion Capture

Optical Systems

- Subject surrounded by cameras

- Sensing is done at the cameras (and/or connected computers)

- Cameras need to be calibrated

(most popular and practical method at the moment)

- Adaptable- Minimally intrusive- Highly accurate

- Limited in use (space need to be outfitted)

Pro: Con:

Friday, September 21, 12

Page 51: Lecture 3 (Marker-based) Motion Capture

Optical Marker-less SystemsStereoscopic 3D Reconstruction

Pros Cons

Can provide temporal correspondence Requires accurate spatial correspondence

High accuracy Sparse reconstruction

Does not provide normal informationAccuracy depends on the number of cameras

Can identify concavities

Voxel-Carving

Pros Cons

Does not require spatial correspondences Does not provide temporal correspondence

Trades off density with computation Redundant computation

Requires accurate silhouettesEasy to code

Does not provide normal informationCamera work with few cameras

Accuracy depends on the number of cameras

Convex Hull

Requires accurate spatial (and temporal) correspondence

No correspondences across time make it mainly suitable for playbackFriday, September 21, 12

Page 52: Lecture 3 (Marker-based) Motion Capture

Optical Marker-less Systems

- Non-intrusive - Should be accurate (every pixel on the body is, in a sense, a

measurement)

- Still in research phase- Many difficulties exist - Reliable spatio-temporal correspondences is key challenge

Pro:

Con:

Friday, September 21, 12

Page 53: Lecture 3 (Marker-based) Motion Capture

- Resolve correspondence by activating one LED marker at a time (very quickly)

- LEDs can be tuned to be easily picked up by cameras

Active Marker-based Systems

ILM used for “Van Helsing”

Weta used for “Rise of the Planet of the Apes”

[ PhaseSpace ]

Friday, September 21, 12

Page 54: Lecture 3 (Marker-based) Motion Capture

- Resolve correspondence by activating one LED marker at a time (very quickly)

- LEDs can be tuned to be easily picked up by cameras (How?)

Active Marker-based Systems

[ PhaseSpace ]

Friday, September 21, 12

Page 55: Lecture 3 (Marker-based) Motion Capture

- Resolve correspondence by activating one LED marker at a time (very quickly)

- LEDs can be tuned to be easily picked up by cameras (How?)

Active Marker-based Systems

Infrared LEDs

Visible light filters on cameras

[ PhaseSpace ]

Friday, September 21, 12

Page 56: Lecture 3 (Marker-based) Motion Capture

- Resolve correspondence by activating one LED marker at a time (very quickly)

- LEDs can be tuned to be easily picked up by cameras

Active Marker-based Systems

[ PhaseSpace ]

Friday, September 21, 12

Page 57: Lecture 3 (Marker-based) Motion Capture

- Resolve correspondence by activating one LED marker at a time (very quickly)

- LEDs can be tuned to be easily picked up by cameras

Active Marker-based Systems

[ PhaseSpace ]

Friday, September 21, 12

Page 58: Lecture 3 (Marker-based) Motion Capture

- Resolve correspondence by activating one LED marker at a time (very quickly)

- LEDs can be tuned to be easily picked up by cameras

Active Marker-based Systems

[ PhaseSpace ]x =

Px

x[I(x, y) > 0]Px

[I(x, y) > 0]

y =

Py

y[I(x, y) > 0]P

y

[I(x, y) > 0]

Friday, September 21, 12

Page 59: Lecture 3 (Marker-based) Motion Capture

Active Marker-based Systems

[ PhaseSpace ]

Correspondence-basedStereoscopic 3D Reconstruction

P1

P2

X

x1

x2

Nonlinear least squares

minX

kx1,P1Xkd + kx2,P2Xkd

Friday, September 21, 12

Page 60: Lecture 3 (Marker-based) Motion Capture

Passive Marker-based Systems

- Markers are retro-reflective balls (instead of LEDs)

- Markers are illuminated using IR lights mounted on the cameras

Friday, September 21, 12

Page 61: Lecture 3 (Marker-based) Motion Capture

Passive Marker-based Systems

- Markers are retro-reflective balls (instead of LEDs)

- Markers are illuminated using IR lights mounted on the cameras

Why lights need to be mounted on the cameras?

Friday, September 21, 12

Page 62: Lecture 3 (Marker-based) Motion Capture

Passive Marker-based Systems

- Markers are retro-reflective balls (instead of LEDs)

- Markers are illuminated using IR lights mounted on the cameras

Why lights need to be mounted on the cameras?

Ensures that every marker visible from each camera is well illuminated

Friday, September 21, 12

Page 63: Lecture 3 (Marker-based) Motion Capture

Passive vs. Active Systems

- Active systems are MUCH better at finding correspondences

- Passive systems must rely on unique relative placement of markers and temporal continuity for disambiguation

- Passive systems typically rely on more manual cleanup after captures

Passive Calibration Wand

Friday, September 21, 12

Page 64: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

Friday, September 21, 12

Page 65: Lecture 3 (Marker-based) Motion Capture

SkeletalMotion

Subject Calibration

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

Friday, September 21, 12

Page 66: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

Reasons for fragmented trajectories

- Marker miss-identification

- Noise

- Occlusions3D

traj

ecto

ry3D

traj

ecto

ry3D

traj

ecto

ry3D

traj

ecto

ry

(Illustration from Park & Hodgins, Siggraph 2006)Friday, September 21, 12

Page 67: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

Cleanup steps (software)

- Merging of trajectories

- Hole filling

- (optional) De-noising 3D

traj

ecto

ry3D

traj

ecto

ry3D

traj

ecto

ry3D

traj

ecto

ry

(Illustration from Park & Hodgins, Siggraph 2006)Friday, September 21, 12

Page 68: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

Cleanup steps (software)

- Merging of trajectories

- Automatic: based on proximity

- Manual: clicking and labeling

(Illustration from Park & Hodgins, Siggraph 2006)

t

3D tr

ajec

tory

Friday, September 21, 12

Page 69: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

(Illustration from Park & Hodgins, Siggraph 2006)

t

3D tr

ajec

tory

Cleanup steps (software)

- Merging of trajectories

- Hole filling

- Interpolations (e.g., splines)

Friday, September 21, 12

Page 70: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

Cleanup steps (software)

- Merging of trajectories

- Hole filling

- (optional) De-noising

(Illustration from Park & Hodgins, Siggraph 2006)

t

3D tr

ajec

tory

Friday, September 21, 12

Page 71: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

This pipeline is much like virtualization discussed in last class, all about capturing the surface of the body

Friday, September 21, 12

Page 72: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

This pipeline is much like virtualization discussed in last class, all about capturing the surface of the body

What’s the big difference?

Friday, September 21, 12

Page 73: Lecture 3 (Marker-based) Motion Capture

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

This pipeline is much like virtualization discussed in last class, all about capturing the surface of the body

Correspondences are easier because we have fewer markers and retro-reflective markers

What’s the big difference?

Friday, September 21, 12

Page 74: Lecture 3 (Marker-based) Motion Capture

Capturing Many Markers

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

[ Park & Hodgins, Siggraph 2006 ]

Typically: 40-50

Here:300+

Friday, September 21, 12

Page 75: Lecture 3 (Marker-based) Motion Capture

Capturing Many Markers

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

[ Park & Hodgins, Siggraph 2006 ]

Typically: 40-50

Here:300+

Friday, September 21, 12

Page 76: Lecture 3 (Marker-based) Motion Capture

Capturing Many Markers

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

[ Park & Hodgins, Siggraph 2006 ]

Typically: 40-50

Here:300+

Friday, September 21, 12

Page 77: Lecture 3 (Marker-based) Motion Capture

Why skeleton motion (instead of surface)?

- Makes it easier to edit motion

- Editing marker trajectories is labor intensive and can cause artifacts

- Gives measurable quantity for motion (for analysis people care about bones and joints)

- Makes analysis independent of marker placement

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Friday, September 21, 12

Page 78: Lecture 3 (Marker-based) Motion Capture

Why skeleton motion (instead of surface)?

- Makes it easier to edit motion

- Editing marker trajectories is labor intensive and can cause artifacts

- Gives measurable quantity for motion (for analysis people care about bones and joints)

- Makes analysis independent of marker placement

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Friday, September 21, 12

Page 79: Lecture 3 (Marker-based) Motion Capture

Why skeleton motion (instead of surface)?

- Makes it easier to edit motion

- Editing marker trajectories is labor intensive and can cause artifacts

- Gives measurable quantity for motion (for analysis people care about bones and joints)

- Makes analysis independent of marker placement

Motion Capture Pipeline

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Friday, September 21, 12

Page 80: Lecture 3 (Marker-based) Motion Capture

Skeletal Motion

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Skeletal Motion - location and orientation of every bone

Friday, September 21, 12

Page 81: Lecture 3 (Marker-based) Motion Capture

- Embed skeleton in a canonical pose into a mesh

- Assign each mesh vertex to one or more bones (process is called painting skinning weights and can be either manual or automatic)

Smooth SkinningTitle of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

Skeleton

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

SkeletonEmbedding

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

Skinning Weights

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

ModifiedPose

[ Images taken from Pons-Moll and Rosenhahn, 2011 ]Friday, September 21, 12

Page 82: Lecture 3 (Marker-based) Motion Capture

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

{M1,M2, . . . ,MN}

vt =NX

i

wiMivNX

i

wi = 1

v vt

wi

N

Mi

where

Smooth Skinning

- number of bones

- 4x4 transformation from binding pose to current pose for a given bone i

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

[ Images taken from Pons-Moll and Rosenhahn, 2011 ]Friday, September 21, 12

Page 83: Lecture 3 (Marker-based) Motion Capture

Smooth SkinningTitle of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

Skeleton

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

SkeletonEmbedding

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

Skinning Weights

Title of the chapter Model Rigging

Skinning Animate

Skeletton

Non-rigid registration

ModifiedPose

[ Images taken from Pons-Moll and Rosenhahn, 2011 ]

Not a good method for doing this actually (causes artifacts), we’ll study much better methods later in the semester

Friday, September 21, 12

Page 84: Lecture 3 (Marker-based) Motion Capture

Skeletal Motion

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Skeletal Motion - location and orientation of every bone

Issue: What we observe is only surface motion (location of markers)

Friday, September 21, 12

Page 85: Lecture 3 (Marker-based) Motion Capture

Radiostereometric Analysis

- Multiple simultaneous X-ray scans

- Image surgically inserted titanium beads into the bone

- Accuracy of bone motion < 2/10 millimeter

- Only used for corrective surgery monitoring (hip/knee replacement)

Friday, September 21, 12

Page 86: Lecture 3 (Marker-based) Motion Capture

Skeletal Motion

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Skeletal Motion - location and configuration of every bone

Issue: What we observe is only surface motion (location of markers)

Friday, September 21, 12

Page 87: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Subject Calibration

Friday, September 21, 12

Page 88: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Anthropometrics-based conditioned on few measurements (e.g., height, weight)

Subject Calibration

Friday, September 21, 12

Page 89: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Subject Calibration

1

AnthropometricsImportant body segment and whole body parameters (BSP)

Dimensions (e.g., length, density, and mass)Segmental center of mass locationWhole-body center of mass locationMoment of inertia (angular inertia)Radius of gyration

Assumptions

BSP data sources

AnthropometryAnthropometry

A major branch of anthropology that deals with human body measurement and dimensions, primarily for use in anthropological classification and comparisons between populations

Focus in biomechanics is on the parameters of the major segments of the body:

– head, neck, torso, pelvis

– arm, forearm, hand

– thigh, shank, foot

Body Segments

The body is frequently considered to consist of multiple segments or “links”, connected by hinge or ball-and-socket joints

We need to know the values of the parameters that describe these links or segments

Segment Dimensions

Drillis & Contini (1966)

Segment length is the most important dimension

Segment girth and breadth may also provide useful information

Segment Dimensions

The biomechanically relevant length (joint center to joint center) may differ from the anatomical length

In practice, segment lengths are often based on easily identifiable landmarks (e.g., lateral femoral condyle to lateral malleolus)

Segment Density

• Body segments are made up of various tissues (bone, muscle, fat, skin, etc) that have different densities

• Individual body segments do not all have the same density: distal segments have a higher density than proximal segments

Densities: bone 1.15 – 1.35 kg/Lmuscle 1.04 – 1.06 kg/Ladipose (fat) 0.95 – 0.99 kg/Llimb segments 1.05 ! 1.20 kg/Lwhole body 1.00 ! 1.05 kg/L

Friday, September 21, 12

Page 90: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Subject Calibration

Based on the anatomy (all humans have the same)

Friday, September 21, 12

Page 91: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Subject Calibration

Based on the anatomy (could be custom)

Friday, September 21, 12

Page 92: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Subject Calibration

Defined by protocol

Friday, September 21, 12

Page 93: Lecture 3 (Marker-based) Motion Capture

- Give identifiers to markers (typically one needs a minimum of 3 markers per body segment)

- Create a subject skeleton (facilitated by software):

- Bone lengths

- Bone connections

- Joint limits

- Marker to bone correspondence

- Define or derive a relationship between markers and the bones (typically requires recoding a subject doing the range of motion trial)

Subject Calibration

Friday, September 21, 12

Page 94: Lecture 3 (Marker-based) Motion Capture

- Placing markers at bony anatomical landmarks minimizes sliding and allows regression-based methods for localization of certain joints (e.g., hip)

- Regression models often are defined and verified by looking a cadavers

Subject Calibration: Useful NotesMARKER PLACEMENT GUIDE

The marker placement in this document is only one of many possible combinations. T his

guide will only show the standard marker placement that’s being used in the motion capture laboratory. The marker placement in this guide resembles the one that is shown and explained in the Vicon 512 manual. As such, the Vicon 512 Manual can offer

additional information. The difference with the marker set in this document from the Vicon 512 Manual is the addition of 4 m arkers, namely RARM, L ARM, RLEG, a nd LLEG.

Before starting, below are some general rules of thumb one should follow:• Have the person who’s going to be motion captured wear tight fitt ing clot hes—strap

down any areas of the clothing that is loose. The marker balls’ posit ion should move

as lit tle as poss ible and should be properly seen.• Place the marker balls as close to the bone as possible. T his follows t he rule of

having the marker balls stay stationary during movement.

Friday, September 21, 12

Page 95: Lecture 3 (Marker-based) Motion Capture

- Placing two markers on the opposite sides of joint, allows one to easily define joint center (average) and axis.

Subject Calibration: Useful Notes

Friday, September 21, 12

Page 96: Lecture 3 (Marker-based) Motion Capture

- Placing two markers on the opposite sides of joint, allows one to easily define joint center (average) and axis.

Subject Calibration: Useful Notes

Friday, September 21, 12

Page 97: Lecture 3 (Marker-based) Motion Capture

- Placing two markers on the opposite sides of joint, allows one to easily define joint center (average) and axis.

Subject Calibration: Useful Notes

Additional marker(s) on the segment allow

measuring of twist

Friday, September 21, 12

Page 98: Lecture 3 (Marker-based) Motion Capture

- Placing two markers on the opposite sides of joint, allows one to easily define joint center (average) and axis.

Subject Calibration: Useful Notes

Additional marker(s) on the segment allow

measuring of twist

Disadvantage: In this case impedes the

movement

Friday, September 21, 12

Page 99: Lecture 3 (Marker-based) Motion Capture

- Markers on one segment can define a plane

- Joint is then estimated as an offset from joint markers in that plane

Subject Calibration: Useful Notes

MARKER PLACEMENT GUIDE

The marker placement in this document is only one of many possible combinations. T his

guide will only show the standard marker placement that’s being used in the motion capture laboratory. The marker placement in this guide resembles the one that is shown and explained in the Vicon 512 manual. As such, the Vicon 512 Manual can offer

additional information. The difference with the marker set in this document from the Vicon 512 Manual is the addition of 4 m arkers, namely RARM, L ARM, RLEG, a nd LLEG.

Before starting, below are some general rules of thumb one should follow:• Have the person who’s going to be motion captured wear tight fitt ing clot hes—strap

down any areas of the clothing that is loose. The marker balls’ posit ion should move

as lit tle as poss ible and should be properly seen.• Place the marker balls as close to the bone as possible. T his follows t he rule of

having the marker balls stay stationary during movement.

Friday, September 21, 12

Page 100: Lecture 3 (Marker-based) Motion Capture

- Markers on one segment can define a plane

- Joint is then estimated as an offset from joint markers in that plane

Subject Calibration: Useful Notes

MARKER PLACEMENT GUIDE

The marker placement in this document is only one of many possible combinations. T his

guide will only show the standard marker placement that’s being used in the motion capture laboratory. The marker placement in this guide resembles the one that is shown and explained in the Vicon 512 manual. As such, the Vicon 512 Manual can offer

additional information. The difference with the marker set in this document from the Vicon 512 Manual is the addition of 4 m arkers, namely RARM, L ARM, RLEG, a nd LLEG.

Before starting, below are some general rules of thumb one should follow:• Have the person who’s going to be motion captured wear tight fitt ing clot hes—strap

down any areas of the clothing that is loose. The marker balls’ posit ion should move

as lit tle as poss ible and should be properly seen.• Place the marker balls as close to the bone as possible. T his follows t he rule of

having the marker balls stay stationary during movement.

Friday, September 21, 12

Page 101: Lecture 3 (Marker-based) Motion Capture

- Markers on one segment can define a plane

- Joint is then estimated as an offset from joint markers in that plane

Subject Calibration: Useful Notes

MARKER PLACEMENT GUIDE

The marker placement in this document is only one of many possible combinations. T his

guide will only show the standard marker placement that’s being used in the motion capture laboratory. The marker placement in this guide resembles the one that is shown and explained in the Vicon 512 manual. As such, the Vicon 512 Manual can offer

additional information. The difference with the marker set in this document from the Vicon 512 Manual is the addition of 4 m arkers, namely RARM, L ARM, RLEG, a nd LLEG.

Before starting, below are some general rules of thumb one should follow:• Have the person who’s going to be motion captured wear tight fitt ing clot hes—strap

down any areas of the clothing that is loose. The marker balls’ posit ion should move

as lit tle as poss ible and should be properly seen.• Place the marker balls as close to the bone as possible. T his follows t he rule of

having the marker balls stay stationary during movement.

Friday, September 21, 12

Page 102: Lecture 3 (Marker-based) Motion Capture

- Markers on one segment can define a plane

- Joint is then estimated as an offset from joint markers in that plane

Subject Calibration: Useful Notes

MARKER PLACEMENT GUIDE

The marker placement in this document is only one of many possible combinations. T his

guide will only show the standard marker placement that’s being used in the motion capture laboratory. The marker placement in this guide resembles the one that is shown and explained in the Vicon 512 manual. As such, the Vicon 512 Manual can offer

additional information. The difference with the marker set in this document from the Vicon 512 Manual is the addition of 4 m arkers, namely RARM, L ARM, RLEG, a nd LLEG.

Before starting, below are some general rules of thumb one should follow:• Have the person who’s going to be motion captured wear tight fitt ing clot hes—strap

down any areas of the clothing that is loose. The marker balls’ posit ion should move

as lit tle as poss ible and should be properly seen.• Place the marker balls as close to the bone as possible. T his follows t he rule of

having the marker balls stay stationary during movement.

Additional marker(s) on the segment allow

measuring of twist

Friday, September 21, 12

Page 103: Lecture 3 (Marker-based) Motion Capture

- Markers on one segment can define a plane

- Joint is then estimated as an offset from joint markers in that plane

Subject Calibration: Useful Notes

MARKER PLACEMENT GUIDE

The marker placement in this document is only one of many possible combinations. T his

guide will only show the standard marker placement that’s being used in the motion capture laboratory. The marker placement in this guide resembles the one that is shown and explained in the Vicon 512 manual. As such, the Vicon 512 Manual can offer

additional information. The difference with the marker set in this document from the Vicon 512 Manual is the addition of 4 m arkers, namely RARM, L ARM, RLEG, a nd LLEG.

Before starting, below are some general rules of thumb one should follow:• Have the person who’s going to be motion captured wear tight fitt ing clot hes—strap

down any areas of the clothing that is loose. The marker balls’ posit ion should move

as lit tle as poss ible and should be properly seen.• Place the marker balls as close to the bone as possible. T his follows t he rule of

having the marker balls stay stationary during movement.

Additional marker(s) on the segment allow

measuring of twist

Note: A combination of all such methods is often used in practice

Friday, September 21, 12

Page 104: Lecture 3 (Marker-based) Motion Capture

More General Approach

Friday, September 21, 12

Page 105: Lecture 3 (Marker-based) Motion Capture

More General Approach

vua

oua

uua

Friday, September 21, 12

Page 106: Lecture 3 (Marker-based) Motion Capture

More General Approach

vua

oua

uua

T

ua!w =

uua||uua|| ,

vua||vua|| ,

uua||uua|| ⇥

vua||vua|| , oua

0 0 0 1

Friday, September 21, 12

Page 107: Lecture 3 (Marker-based) Motion Capture

More General Approach

vua

oua

uua

ula

vlaola

T

la!w =

ula||ula|| ,

vla||vla|| ,

ula||ula|| ⇥

vla||vla|| , ola

0 0 0 1

T

ua!w =

uua||uua|| ,

vua||vua|| ,

uua||uua|| ⇥

vua||vua|| , oua

0 0 0 1

Friday, September 21, 12

Page 108: Lecture 3 (Marker-based) Motion Capture

More General Approach

vua

oua

uua

ula

vlaola

T

la!w =

ula||ula|| ,

vla||vla|| ,

ula||ula|| ⇥

vla||vla|| , ola

0 0 0 1

T

ua!w =

uua||uua|| ,

vua||vua|| ,

uua||uua|| ⇥

vua||vua|| , oua

0 0 0 1

Friday, September 21, 12

Page 109: Lecture 3 (Marker-based) Motion Capture

More General Approach

vua

oua

uua

ula

vlaola

Tua!w · p(j)ua = T la!w · p(j)la

T

la!w =

ula||ula|| ,

vla||vla|| ,

ula||ula|| ⇥

vla||vla|| , ola

0 0 0 1

T

ua!w =

uua||uua|| ,

vua||vua|| ,

uua||uua|| ⇥

vua||vua|| , oua

0 0 0 1

Friday, September 21, 12

Page 110: Lecture 3 (Marker-based) Motion Capture

More General Approach

vua

oua

uua

ula

vlaola

Tua!wi · p(j)ua = T la!w

i · p(j)la , 8i

Least square solution for the joint offset (assuming it’s a ball joint and the full

range of motion is exercised)

T

la!w =

ula||ula|| ,

vla||vla|| ,

ula||ula|| ⇥

vla||vla|| , ola

0 0 0 1

T

ua!w =

uua||uua|| ,

vua||vua|| ,

uua||uua|| ⇥

vua||vua|| , oua

0 0 0 1

Friday, September 21, 12

Page 111: Lecture 3 (Marker-based) Motion Capture

Skeletal Motion

CameraCalibration Capture 2D Marker

Identification3D Marker

ReconstructionCleanup

SkeletalMotion

Subject Calibration

Tua!wi · p(j)ua = T la!w

i · p(j)la , 8i

Given subject calibration estimating skeletal motion is typically easy

Friday, September 21, 12

Page 112: Lecture 3 (Marker-based) Motion Capture

Discussion

Friday, September 21, 12

Page 113: Lecture 3 (Marker-based) Motion Capture

- Captures natural motion in high detail

- Relatively inexpensive (depending on the system)

- Easy to get data even for very complex motions and with subtle emotional content

- Proved very beneficial for:

- Visual FX

- Games

- Biomechanical analysis

Motion Capture Benefits

[ Lord of the Rings ]

Friday, September 21, 12

Page 114: Lecture 3 (Marker-based) Motion Capture

- Captures natural motion in high detail

- Difficult to edit

- Proved very unpopular for:

- Feature animated films (e.g., Polar Express)

- Animated characters tend to be highly stylized (because of uncanny valley), and require highly stylized motion.

- Motion capture can potentially be a reference, but needs to be exaggerated; since editing is unintuitive, animators often prefer to start from scratch

Motion Capture Pitfalls

[ Polar Express ]

Friday, September 21, 12