AMIRA ascii format

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

AMIRA ascii format

Mayuresh Korgaonkar-2
Hello List,
   
  I am trying to convert a binary Analyze format image to the AMIRA ascii format. Is there a way I can do this using Image J? I came across a plugin which writes the AMIRA mesh format, but I am not sure if it can write the ascii format.
  Any tips will be helpful,
  thanks in advance,
   
  Mayuresh
   

       
---------------------------------
Got a little couch potato?
Check out fun summer activities for kids.
Reply | Threaded
Open this post in threaded view
|

Re: AMIRA ascii format

dscho
Hi,

On Mon, 27 Aug 2007, Mayuresh Korgaonkar wrote:

>   I am trying to convert a binary Analyze format image to the AMIRA
> ascii format. Is there a way I can do this using Image J? I came across
> a plugin which writes the AMIRA mesh format, but I am not sure if it can
> write the ascii format.

I do not understand. AFAIK there is only one type of Amira format.  It
starts with a textual header, possibly followed by binary data.  And as
with all proprietary formats: there is no guarantee that _any_ Open Source
program will write it in a way that the commercial program will
understand.

FWIW the plugins referenced on ImageJ's plugins should work (there are two
different sets of Amira Reader/Writers).

Ciao,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: AMIRA ascii format

Matt Crema
The easiest way to do is probably with some scripting language of your
choice where you need to write the "Data" section of the AmiraMesh file
in ASCII as described here:

http://www.amiravis.com/usersguide31/amiramesh/HxFileFormat_AmiraMesh.html

Personally, I'd save the data from ImageJ as a TIFF and then import it
into MATLAB and write the AmiraMesh file from there.  But then I don't
know JAVA or scripting in ImageJ.

Another way is with libamiramesh:

http://www.amiravis.com/resources/Ext411-01-libamiramesh/index.html

which is a C++ library that allows you to write AmiraMesh files.  Using
compiled code may be more trouble than it is worth for this small task.

-Matt