简体   繁体   English

如何从MATLAB中从kinect传感器获取的点云结构数据中获取(x,y,z)数据?

[英]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.

相关问题 如何使用Matlab在3D大数据散点图中用不同的颜色标记一个点(我有x,y,z)? - How to mark a point (I have x,y,z for it) in a 3D big data scatter plot with different color using matlab? 如何从 matlab 中具有 x、y 和 z 坐标的一组点生成体素网格 - How I can generate a voxel mesh from a set of points with x, y, and z coordinates in matlab 在MATLAB中如何从具有中心点和X,Y,Z长度的3D体积中提取立方体? - how to extract a cube from a 3D volume having a centre point and lengths of X, Y, Z in MATLAB? 如何从x,y,z,v数据获取切片图? - How to obtain slice plots from x,y,z,v data? 如何在Matlab中将数据显示为XZ而不是XY - How do I display data as X-Z rather than X-Y in Matlab Matlab:用于存储的数据结构{Key(double x,double y):Value(z)} - Matlab: data structure for storing { Key( double x, double y) : Value (z)} 在matlab中处理来自kinect的原始数据 - Processing Raw data from kinect in matlab 如何使用Matlab数据结构中的多维数组从Python创建Matlab文件? - How can I create a Matlab file from Python with multi-dimensional arrays in a Matlab data structure? 基于x,y,z数据的matlab 3d图形 - matlab 3d graph based on x,y,z data 在MATLAB(累积分布函数)中,如何找到任何选定累积概率的相应数据点(Y)? - In MATLAB (cumulative distribution function), how can I find the corresponding data point (Y) for any chosen cumulative probability?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM