/// <summary> /// 現在のフレームでBoneから統合行列計算 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MenuCalibBoneFrame_Click(object sender, RoutedEventArgs e) { Frame frame = frameSequence.Frames[playingIndex]; List <CvMat> convs; if (this.isUserSelected.All(b => b)) { if (this.frameSequence.Segmentations == null) { ulong[] selectedUsers = frameSequence.selectedOriginalIdList; convs = KinectMerge.GetConvMatrixFromBoneFrame(frame, frameSequence.ToWorldConversions, selectedUsers); } else { int[] selectedUsers = frameSequence.selecteedIntegretedIdList; convs = KinectMerge.GetConvMatrixFromBoneFrame(frame, frameSequence.ToWorldConversions, selectedUsers); } frameSequence.ToWorldConversions = convs; } }