# Save ultrasound images in mha format

**URL:** <https://discourse.slicer.org/t/save-ultrasound-images-in-mha-format/18449>\
**Category:** Support\
**Tags:** surgical-navigation\
**Created:** [July 1, 2021, 1:49am UTC](https://discourse.slicer.org/t/save-ultrasound-images-in-mha-format/18449 "2021-07-01T01:49:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Qianqian\_Cai](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/qianqian_cai/32/11008_2.png) [@Qianqian\_Cai](https://discourse.slicer.org/u/Qianqian_Cai)\
**Post date:** [July 1, 2021, 1:49am UTC](https://discourse.slicer.org/t/save-ultrasound-images-in-mha-format/18449/1 "2021-07-01T01:49:39Z")

</div>

I loaded my ultrasound frames with the “load data” button and tried to save them with the “save data” button but it doesn’t give the option to save as .mha file.

I checked the format of mha file or mhd file. It looks that I need to write addtional info such as the position of each frame to the text header. How did you save it in the .mha format?

---

<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:** [July 9, 2021, 4:35am UTC](https://discourse.slicer.org/t/save-ultrasound-images-in-mha-format/18449/2 "2021-07-09T04:35:34Z")

</div>

I think sequence metafile format (.mha file that contains image and and transforms) is for import only. @Sunderlandkyl can you confirm?

---

<div class="post-metadata">

**Author:** ![Sunderlandkyl](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sunderlandkyl/32/79987_2.png) [@Sunderlandkyl](https://discourse.slicer.org/u/Sunderlandkyl)\
**Post date:** [July 9, 2021, 2:13pm UTC](https://discourse.slicer.org/t/save-ultrasound-images-in-mha-format/18449/3 "2021-07-09T14:13:21Z")

</div>

Yes, sequence metafiles are currently only readable.

We could potentially add a function in SlicerIGSIO that could export sequence browser nodes in that format.

---

<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:** [July 9, 2021, 2:42pm UTC](https://discourse.slicer.org/t/save-ultrasound-images-in-mha-format/18449/4 "2021-07-09T14:42:18Z")

</div>

Why would you like to export to mha format?

You can reconstruct 3D volumes inside Slicer, without exporting the tracked image data.
