# Experience with importing amira/avizo into 3D Slicer

**URL:** <https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223>\
**Category:** Support\
**Created:** [June 18, 2021, 10:49pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223 "2021-06-18T22:49:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 18, 2021, 10:49pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/1 "2021-06-18T22:49:11Z")

</div>

I am curious if anyone on the forum has experience with importing Amira/Avizo files (particularly the segmentation) into Slicer one way or another.

Amira/Avizo has been used quite a lot in the biological sciences for 3D morphology and there a quite a few labs who want to wean themselves off and switch using Slicer/SlicerMorph, but are reluctant to do so, since they got quite a few datasets.

I have no experience with these two software, and in fact don’t exactly know what the distinctions between these two. Any input will be much appreciated.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [June 19, 2021, 2:14pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/2 "2021-06-19T14:14:42Z")

</div>

I don’t have any direct experience either, but if people could post example datasets they want to work with, ideally with info about how they were generated (like a tutorial) we could investigate.

---

<div class="post-metadata">

**Author:** ![MarkusHeller](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/markusheller/32/11046_2.png) [@MarkusHeller](https://discourse.slicer.org/u/MarkusHeller)\
**Post date:** [June 24, 2021, 10:57am UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/3 "2021-06-24T10:57:18Z")

</div>

I have used both AMIRA/AVIZO since it’s beginnings and 3Dslicer more recently, and there certainly are ways to exchange data.

I am aware of and have used Fiji incl. the bio-format plugin ([Supported Formats — Bio-Formats 6.6.1 documentation](https://docs.openmicroscopy.org/bio-formats/6.6.1/supported-formats.html)) for the import of Amira data and the 3D IO plugin for export of MHD data ([ij-plugins - IJ Plugins: 3D I/O](http://ij-plugins.sourceforge.net/plugins/3d-io/)).

I have also looked into using direct export options of Avizo (a while back though) and seem to remember that e.g. the origin of a 3D image data set was ignored upon export.  
I am not 100% sure in how far interpretation of data (origin at the centre/edge of a pixel) is consistent across different software.

I very much agree that having a good understanding of how to best exchange data between systems would be most helpful and I’d be happy to explore if our experience is of any use for what you have in mind here.

Best wishes,  
Markus

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 24, 2021, 3:08pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/4 "2021-06-24T15:08:48Z")

</div>

> [@MarkusHeller](#):
>
> I am aware of and have used Fiji incl. the bio-format plugin ([Supported Formats — Bio-Formats 6.6.1 documentation](https://docs.openmicroscopy.org/bio-formats/6.6.1/supported-formats.html)) for the import of Amira data and the 3D IO plugin for export of MHD data ([ij-plugins - IJ Plugins: 3D I/O](http://ij-plugins.sourceforge.net/plugins/3d-io/)).

Thanks @MarkusHeller. I was thinking that BioFormats may support it, but not having an actual Avizo file, I wasn’t able to try.

> [@MarkusHeller](#):
>
> I have also looked into using direct export options of Avizo (a while back though) and seem to remember that e.g. the origin of a 3D image data set was ignored upon export.

So as I understand Avizo-\>BioFormats-\>Slicer route preserves fidelity of the data (in terms of origins, offsets, directional matrix etc) better than exporting directly out of Avizo?

@pieper @lassoan I know there is a fundamental license incompatibility bioformats and Slicer. But this keeps coming up, and I am wondering what are our options to support BioFormats in Slicer (e.g., as an optional download like ffmpeg?). This doesn’t have to be in core Slicer, can be in SlicerMorph etc…

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [June 24, 2021, 5:19pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/5 "2021-06-24T17:19:37Z")

</div>

If people install the GPL parts themselves it shouldn’t be a problem. We can’t distribute GPL code but we can make it easier for people to use it.

Would an interface to this package do the trick? [python-bioformats: read and write life sciences image file formats — python-bioformats 0.0.0 documentation](https://pythonhosted.org/python-bioformats/)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [June 24, 2021, 5:51pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/6 "2021-06-24T17:51:49Z")

</div>

> [@pieper](#):
>
> Would an interface to this package do the trick? [python-bioformats: read and write life sciences image file formats — python-bioformats 0.0.0 documentation](https://pythonhosted.org/python-bioformats/)

I was excited to see this thinking this might be native python, but looks like it still relies on having JRE installed on the computer. I have the feeling that default availability of JRE on a given personal computer is much less common nowadays (I sure didn’t have it until this morning until I tried the command line BFtools for the laptop I have been using for last three years).

Nevertheless, I think this might be a good start. Although I don’t know whether it might be any less work by simply asking people to install the command line tools + JRE ([https://www.openmicroscopy.org/bio-formats/downloads/](https://www.openmicroscopy.org/bio-formats/downloads/)) and calling those under the hood.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [June 24, 2021, 6:20pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/7 "2021-06-24T18:20:33Z")

</div>

Yes, I’d try not to rely on java or GPL’d code, but if that’s the easiest way for people to access their data they may be stuck with it. There may be specific file formats we can read without resorting to these packages.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 24, 2021, 7:03pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/8 "2021-06-24T19:03:42Z")

</div>

ITK has added support for many file formats that we might not have exposed yet in Slicer. There is a good chance that we can find a format that Amira/avizo can directly write and ITK/VTK/etc. can read.

Note that we only need a “temporary” solution (for a few years), as there is a strong push in the entire biomedical imaging community towards a new modern open file format, such as OME-Zarr. OME, ITK, Slicer, napari, etc. are all on board.

---

<div class="post-metadata">

**Author:** ![boud](https://avatars.discourse-cdn.com/v4/letter/b/85e7bf/32.png) [@boud](https://discourse.slicer.org/u/boud)\
**Post date:** [August 29, 2024, 7:43am UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/9 "2024-08-29T07:43:45Z")

</div>

Dear all: Collaborators have been sharing Amira files with me. Before I ask them to convert the data themselves or spend time doing something that won’t work, I would like to have confirmation that 3D Slicer can indeed open Amira/Avizo files at this time. – Thank you!

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 29, 2024, 4:59pm UTC](https://discourse.slicer.org/t/experience-with-importing-amira-avizo-into-3d-slicer/18223/10 "2024-08-29T16:59:46Z")

</div>

Not sure there has been any change since the last post. I think using bioformats in ImageJ and exporting them as nrrd for Slicer is probably your safest option.
