Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E....

16
Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins Presented by Jeff Stricker

Transcript of Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E....

Page 1: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Automatic Joint Parameter Estimation from Magnetic Motion Capture Data

James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins

Presented by Jeff Stricker

Page 2: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Why is Motion Capture Good?

• Human and human-like characters

• Retains subtle elements of a performer’s style

• Powerful solution when animations must be generated quickly– Immersive virtual environments

“because you squished a jellyfish and took out the magic juice”

Page 3: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Why is Motion Capture Bad?

• Optical and magnetic systems suffer from sensor noise

• Sensors require careful calibration

• Precise measurements of limb lengths– Taken by hand in a reference pose– Tedious– Prone to error– Often impractical

“this has been my life’s passion for the past day”

Page 4: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Purpose of Algorithm

• Address the problems associated with calibration by automatically computing joint locations

• Perks– No external measurement– No constraints on sensor placement– No posing in particular configurations

• Requirement– Data must exercise all DOF of joints for an

unambiguous answer

“minification is used to create a minified version”

Page 5: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method Comparison

• Some methods– Joint location determined from weighted average of points– Concerned with detailed model from data points

• Use multiple markers for redundancy

– Instantaneous joint center from single instant of motion

• This method– Does not require manual processing of data– More concerned with creating animation– Not an IK technique since dimensions of skeleton aren’t

known• Could be considered a preliminary step to IK computation

– Joints are reasonable approximation over entire sequence of motion

“unfortunately the world isn’t all rendered bunnies”

Page 6: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method Definitions

• System of m rigid bodies

• Tij is the transformation from ith body’s coordinate system to the coordinate system of the jth body (i, j [0…m-1])

• Index [0…m-1] used to indicate world coordinate such that Ti is the global transformation from the ith body’s coordinate system to the world coordinate system

“put that on a stack, and it’ll get popped off on tuesday”

Page 7: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method and Linear Algebra

• Transformation T consists of t and R where t is a translational component and R is the rotational component

• From i coordinate system to j– xj = Rij(xi)+ tij

• Compute Tji given Tij

– Rji = (Rji)-1

– tij = (Rji)-1(-tji)

• Tkij refers to value of Tij at frame k

“i am bezier!”

Page 8: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method Definitions

• P(x) gives parent of x– with P() = is root object

• Inboard means towards root• Outboard means away from root• All bodies have at most one inboard joint but

may have multiple outboard joints• ci refers to location of joint i in body i’s

coordinate system• li refers to location of joint i in body P(i)’s

coordinate system

“combing a hairy ball is like this problem”

Page 9: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method

• Re-expressxP(i) = Rk

iP(i)(xi - ci) + li = RkiP(i)xi - Rk

iP(i)ci + li

• Simplify, convert to global transformations (using Ti) and simplify again to get

Rkici + tk

iRkP(i)li + tk

P(i)

• Makes sense—location of joint in outboard coordinate system and location of the joint in the inboard coordinate system should transform to the same place in the world coordinate system

“even if we can’t do artistic things, we can write algorithms to replace them”

Page 10: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method

• Rewrite with matrices and do some magic

• Uh?– We found a linear system of equations that can be

used to solve the joint location parameters ci and li

“disney is one of the world’s most capitalist countries”

)(1

)(

)(0

)(1

)(

)(0

iPin

iPik

iPi

i

i

iPin

iPik

iPi

d

d

d

l

c

Q

Q

Q

Page 11: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Method

• Problems– Q has more rows than columns (system is over-

constrained)– Input motions do not span the space of rotations

(system is under-constrained)• Solution

– Solve for a lease squares solution

• Small problems with single-axis joints– Solution (joint center) is arbitrary point on axis– Avoid this by exercising full range of motion and all

DOF of joints

“i guess someone decided whales would be more appropriate drafting tools than ducks”

Page 12: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Determining the Body Hierarchy

• Finding optimal hierarchy = finding a minimum spanning tree– Body = node– Joint = edge– Fit error (i) = edge weight

• Select root node • Minimize i for all joints in the hierarchy• Residual errors cause joints to move apart

during playback– Use inferred join locations and create an articulated

model with kinematic joint constraints

“i just want to see jesus, i don’t need to see 3d jesus”

Page 13: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Results

• Simulated human figure– Correct hierarchy, errors less than 10-6 m

• Wooden mechanical figure with five ball-and-socket joints– 6 trials (last one markers were moved)– Maximum error was 1.1cm– Correct hierarchy in every case

• People– “Exercise” set– “Walk” set

“i want to be a cowboy, i want to be a render wrangler”

Page 14: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Results

• Male– Max error 4.1 cm– Average less than 1 cm (upper arms 1.4cm and 2.2cm for left

and right arms)

• Female– Max error 2.4 cm– Average greater than 1 cm

• Problems– Upper leg child of other upper leg instead of pelvis

• Speed on SGI O2 with 195MHz R10k– < 4 seconds for 45 seconds of motion capture when hierarchy

specified– < 14 seconds when hierarchy was not specified

“you've got to find a way to bang on it until it's square again”

Page 15: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Conclusions

• Results are good, given resolution of sensors

• Provides a fast way to accomplish calibration for magnetic motion capture systems

• Applications where explicit calibration is infeasible– “Exercise” could be a pre-show portion of

location-based entertainment experience

“did anyone catch dawson’s creek last night?”

Page 16: Automatic Joint Parameter Estimation from Magnetic Motion Capture Data James F. O’Brien, Robert E. Bodenheimer, Gabriel J. Brostow, Jessica K. Hodgins.

Questions?

“just bring it”