[英]How can I get (x,y,z) data from point cloud structure data obtained from kinect sensor in MATLAB?
I plot point cloud figure in MATLAB using Kinect-V2 camera. 我使用Kinect-V2相机在MATLAB中绘制点云图。 I determined three markers in the MATLAB figure using the Data cursor tool to get the (x,y,z) of these points. 我使用数据光标工具在MATLAB图中确定了三个标记,以获取这些点的(x,y,z)。 Then, I saved these data as a (.mat file). 然后,我将这些数据另存为(.mat文件)。 When I open it again, I found that MATLAB saves the data of each marker in structure array. 当我再次打开它时,我发现MATLAB将每个标记的数据保存在结构数组中。
How can I get again (x,y,z) of these markers from the Structure arrays? 如何从Structure数组中再次获得(x,y,z)这些标记?
Attached to the question link of the structure arrays that related to each of the markers. 附加到与每个标记相关的结构数组的问题链接。
http://www.mediafire.com/file/yxhjjxh0l312iuz/matlab.mat http://www.mediafire.com/file/yxhjjxh0l312iuz/matlab.mat
Don't really wanna download from an external link so I will have to guess how it looks. 真的不想从外部链接下载文件,所以我不得不猜测它的外观。
Is it setup like this 这样设置吗
--> mydata
--> X
value
--> Y
value
--> Z
value
If it is setup in this manner then all you have to do is write a basic code to extract out the values 如果以这种方式设置,那么您要做的就是编写一个基本代码以提取值
data = [mydata.X, mydata.Y, mydata.Z];
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.