How can I implement JointWorldCoordinates in matlab file for Kinect

1 回表示 (過去 30 日間)
Laila Kazemi
Laila Kazemi 2013 年 6 月 10 日
im trying to use metaDataDepth.JointWorldCoordinates(:,:,1) line from matlab kinect tutorial but it gives me the following error:
Field reference for multiple structure elements that is followed by more reference blocks is an error.
Error in skeleton_tracking (line 70) metaDataDepth.JointWorldCoordinates(:,:,1)
  1 件のコメント
Monika
Monika 2013 年 8 月 3 日
編集済み: Monika 2013 年 8 月 3 日
It is because your "metaDataDepth" matrix contains many frames. You should use metaDataDepth(i).JointWorldCoordinates(:,:,1) where i is the index of your frame.

サインインしてコメントする。

回答 (0 件)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by