Hello!(adsbygoogle = window.adsbygoogle || []).push({});

1. The problem statement, all variables and given/known data

As the title says I am attempting to calculate the mass displacement of a motion capture sequence, however I am not seeing the results I expect which is why I am posting here to make sure I have understood everything correctly. The data that is known is the transformation hierarchy of the character over time which encodes the position and orientation of each body part.

2. Relevant equations

Calculating the mass displacement for the whole sequence comes down to calculating the displacement over one frame to another by summing the displacement for each body part.

The displaced mass of body partkis given by;

[tex]E_k=\iiint_{i}\mu_i(\mathbf{p}_i-\mathbf{\bar{p}}_i)^{2}dx dy dz[/tex]

is a point in the body part andp_{i}μis its infinitesmal mass. Note that all things "bar"-ed relates to "the other frame". Furthermore,_{i}

[tex]\mathbf{p'}_i=\mathbf{R}_0\mathbf{R}_1\cdots \mathbf{R}_{j-1}\mathbf{x}_i[/tex]

wherex_{i}is a point in the local space of a body part, andR_{0}contain the global rotation and translation, but since we are interested in the relative mass displacement we define;

[tex]\mathbf{p}_i=\mathbf{R}_1\cdots \mathbf{R}_{j-1}\mathbf{x}_i=\mathbf{W}_j\mathbf{x}_i[/tex]

Ultimately E_{k}is given by;

[tex]E_k=tr(\mathbf{W}_i\mathbf{M}_i(\mathbf{W}_i-2\mathbf{\overline{W}}_i)^T)[/tex]

Here tr() is the trace operator - the sum of the diagonals of a matrice andM_{i}is the inertia tensor if the body parti.

The thing that confuses me at the moment is that sinceRcontain the global rotation and translation all the matrices_{0}R_{1...j-1}should be 4x4 matrices. However, as far as I have understood it is not possible to use anything but 3x3 matrices with inertia tensors inR, so what are these^{3}Wreally?_{i}

The paper I am getting this from is available http://www.cs.washington.edu/homes/zoran/sigg99/preprint.pdf" [Broken], and the equations are at page 6. The section they are in should be understandable out of context, so no need to read too much.

3. The attempt at a solution

My attempted solution was to defineW_{i}as the 3x3 rotation matrice that transforms a point by rotation, from its local coordinate frame to its position in a global coordinate frame,p_{i}.

Also, I should say that I use the inertia tensor to compute the angular momentum for the motion and that seems work fine.

Anyhow, I suppose my problem could be anything, but for now I'll stick to my question regarding the 4x4/3x3 matrice mixup. Any help would be beyond awesome :-)

Cheers,

- Miki

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Computing Mass Displacement for Motion Capture Sequence, fail.

Can you offer guidance or do you also need help?

**Physics Forums | Science Articles, Homework Help, Discussion**