loadAmiraMesh

版本 1.4.0.0 (2.4 KB) 作者: Cengiz Gunay
Load Amira Mesh 3D ASCII data
608.0 次下载
更新时间 2012/2/6

查看许可证

Loads the mesh data from an Amira 3D manipulation program. Amira is usually used to create morphological reconstructions of neurons.

It uses Amira's mesh file format that looks like this:

---------------------------
# AmiraMesh 3D ASCII 2.0

nVertices 4651
nEdges 9302
define Origins 125
define vertexTypeList 0

Parameters { ... }

Vertices { float[3] Coordinates } @1
Vertices { int NeighbourCount } @2
Vertices { float Radii } @3
EdgeData { int NeighbourList } @4
Origins { int Origins } @5
Vertices { int vertexTypeCounter } @6
vertexTypeList { int vertexTypeList } @7

# Data section follows
@1
46.2348 45.2406 7.08964
...

@2
...
---------------------------

In Matlab, you can use it like this:

>> obj = loadAmiraMesh('test.am')

obj =

nVertices: 4651
nEdges: 9302
nOrigins: 125
vertices: [4651x3 double]
neighborCount: [4651x1 double]
radii: [4651x1 double]
neighborList: [9302x1 double]
Origins: [125x1 double]

引用格式

Cengiz Gunay (2024). loadAmiraMesh (https://www.mathworks.com/matlabcentral/fileexchange/34909-loadamiramesh), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Avizo 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.4.0.0

*

1.0.0.0