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