Code covered by the BSD License  

Highlights from
loadAmiraMesh

4.0

4.0 | 1 rating Rate this file 10 Downloads (last 30 days) File Size: 2.39 KB File ID: #34909
image thumbnail

loadAmiraMesh

by Cengiz Gunay

 

03 Feb 2012 (Updated 06 Feb 2012)

Load Amira Mesh 3D ASCII data

| Watch this File

File Information
Description

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]

Required Products MATLAB
MATLAB release MATLAB 7.11 (2010b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
07 Feb 2012 Diane  
Please login to add a comment or rating.
Updates
06 Feb 2012

*

Tag Activity for this File
Tag Applied By Date/Time
amira Cengiz Gunay 06 Feb 2012 14:45:11
convert Cengiz Gunay 06 Feb 2012 14:45:12
data Cengiz Gunay 06 Feb 2012 14:45:12
file Cengiz Gunay 06 Feb 2012 14:45:12
mesh Cengiz Gunay 06 Feb 2012 14:45:12
load Cengiz Gunay 06 Feb 2012 14:45:12
data import Cengiz Gunay 06 Feb 2012 14:45:12
3d Cengiz Gunay 06 Feb 2012 14:45:12

Contact us at files@mathworks.com