home  |   research  |   people  |  
  University Logo
MATLAB Motion Capture Toolbox

MATLAB Motion Capture Toolbox

The MATLAB motion capture toolbox allows loading and playing of BVH files in MATLAB.

The MOCAP software can be downloaded here.

Release Information

Current release is 0.133.

As well as downloading the MOCAP software you need to obtain the toolboxes specified below.
Toolbox Version
NDLUTIL 0.157
Bug fix release, to deal with bugs in mocapResultsCppBvh, thanks to Cedric Vanaken for pointing out the problem.

Release 0.132

Moved tree handling code into NDLUTIL toolbox, version 0.156.

Release 0.131

This release fixes a bug where the left was displayed on the right and vice versa.

Release 0.13

New in this release is the ability to lad data in the acclaim ASF/AMC format. See the example below for details.

Examples

Once downloaded you can try loading a BVH data set from the examples directory.

>> [skel, channels, frameLength] = bvhReadFile('examples/Swagger.bvh');
>>

This motion capture data was taken from Ohio State University's ACCAD centre.

You can now play the data using the command

>> skelPlayData(skel, channels, frameLength);

You can also download and read data in the Acclaim format (asf/amc). In the example below we load a nd play data from the CMU Graphics Lab Motion Capture Database. We use the tenth example from the 86th subject. We have assumed that you have placed the files in the examples subdirectory.

>> skel = acclaimReadSkel('examples/86.asf');
>> [channels, skel] = acclaimLoadChannels('examples/86_10.amc', skel);
>> skelPlayData(skel, channels, 1/120);
>>

Where the frames per second is given on the CMU site as 120.

Page updated on Sun Mar 4 16:27:23 2007