在MATLAB中,发现3D社区

编程入门 行业动态 更新时间:2024-10-15 14:17:05
本文介绍了在MATLAB中,发现3D社区的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

予的体积(三维基质)已经经历一个分割过程。大部分的体积由NaN的(或零),除了已通过一些标准(见图片)地区。我需要知道每个剩余段在体素的数量有多大,以及如何是他们在2D平面分布(XY,XZ,YZ)。有什么在MATLAB,可以帮助我以有效的方式,而不是直接搜索做到这一点?体积可以相当大。对于前。在附加的图片中有7个体素微黄/褐色一个段和垂直方向比的xy延伸更多。 先谢谢了。

I have a volume (3D matrix) that has undergone a segmentation process. Most of the volume consist of NaNs (or zeros), except regions that have passed some criteria (see picture). I need to know how large each remaining segment is in number of voxels and how is their distribution on the 2D planes (xy, xz, yz). Is there anything in matlab that can help me do this in an efficient way rather than direct search? The volume can be rather large. For ex. in the attached picture there is one segment in yellowish/brownish colour of 7 voxels and extends more vertically than in xy. Thanks in advance.

推荐答案

最方便的解决方法是使用的 REGIONPROPS 。在您的例子:

The most convenient solution is to use REGIONPROPS. In your example:

stats = regionprops(image, 'area', 'centroid')

有关的每个特征,存在在结构统计与该区域(即#体素)和形心的一个条目。

For every feature, there is an entry in the structure stats with the area (i.e. # of voxels) and the centroid.

更多推荐

在MATLAB中,发现3D社区

本文发布于:2023-11-28 12:28:52,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1642398.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:发现   社区   MATLAB

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!