Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2019 Nov 19.
Published in final edited form as: J Open Source Softw. 2019 Jan 11;4(33):1063. doi: 10.21105/joss.01063

3D ultrasound file reading and coordinate transformations

Pádraig T Looney 1, Gordon N Stevenson 2, Sally L Collins 1,3
PMCID: PMC6863616  NIHMSID: NIHMS1013754  PMID: 31745534

Summary

The Kretzfile format is used to store 3D ultrasound data, from GE Voluson ultrasound scanners. The geometry used in these hies is a toroidal coordinate system. Cartesian coordinates are required to allow application of advanced image libraries like ITK and scikit-image.

We present ITK transformation and utilities to convert Kretzfiles to cartesian coordinates. Previous work (SlicerHeart, 2017) has enabled the reading of kretz files and approximate coordinate transformations. This work will enable medical imaging researchers to investigate clinically 3D ultrasound.

Tests

There are four tests included. A sample KretzFile is downloaded to the test directory and is used in the first three tests. The first test runs the executable KretzFileWriter and writes the image data, out to a Nifti format where the coordinates are in toroidal format. The second test runs the executable KretzConverter to output the image data, to the cartesian coordinates with a, voxel spacing of 0.6mm. The third test runs the executable KretzFileWriter to convert the output from the second test back into the toroidal coordinate system and saves the resulting image in Nifti format. These executables will allow researchers to analyes 3D ultrasound data in uncompressed Kretzfile format. By allowing the mapping back and forth from the toroidal coordinate system analysis can be performed in either coordinate system.

The toroidal planes through the volume are shown on the top row. The cartesian planes are shown on the bottom row.

References

  1. SlicerHeart. (2017). 3D slicer extension for cardiac analysis. Retrieved February 27, 2018, from https://github.com/SlicerHeart/SlicerHeart

RESOURCES