Skip to main content

FileFormats - Medimage

CI/CD Codecov Supported Python versions Latest Version

This is an extension module to the fileformats package, which that adds support for commonly used medical imaging formats, such as DICOM (sets/directories), NIfTI, and MRtrix Image Format, etc...

Quick Installation

This extension can be installed for Python 3 using pip:

$ pip3 install fileformats-medimage

This will install the core package and any other dependencies to validate the file formats.

To use converters and metadata reading methods that depend on third-party packages, also install the associated extras package:

$ pip3 install fileformats-medimage-extras

For most of the converters to work, you will need to install the Dcm2NiiX and MRtrix software packages. There are various ways to do this, but on Ubuntu you can install Dcm2NiiX with:

$ sudo apt install libopenjp2-7
$ curl -fLO https://github.com/rordenlab/dcm2niix/releases/latest/download/dcm2niix_lnx.zip
$ unzip dcm2niix_lnx.zip
$ mv dcm2niix /usr/local/bin

(on Mac you can use Homebrew instead of apt to install libopenjp2-7). MRtrix can be installed with miniconda:

$ conda install -c mrtrix3 mrtrix3

License

This work is licensed under a Creative Commons Attribution 4.0 International License

Acknowledgements

The authors acknowledge the facilities and scientific and technical assistance of the National Imaging Facility, a National Collaborative Research Infrastructure Strategy (NCRIS) capability.

Creative Commons Attribution 4.0 International License

Metadata

Release files for fileformats-medimage 0.14.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fileformats-medimage 0.14.1
File Size Uploaded
fileformats_medimage-0.14.1.tar.gz 44.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fileformats-medimage 0.14.1
File Interpreter ABI Platform
fileformats_medimage-0.14.1-py3-none-any.whl Python 3 none any Details

Total release size: 78.0 kB

Release files / fileformats_medimage-0.14.1.tar.gz

Download URL fileformats_medimage-0.14.1.tar.gz
Size 44.2 kB
Tags Source
SHA-256 checksum
How to use checksums
12602cb0bc6061c7d2e5fbd5e138371391933a52130faa0b0d0674d5410bc2d5
BLAKE2b-256 checksum
How to use checksums
2131dd526a07fd42bbe28cf4e670ad3794ed0b30d792a331618e0e0097c47e58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / fileformats_medimage-0.14.1-py3-none-any.whl

Download URL fileformats_medimage-0.14.1-py3-none-any.whl
Size 33.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e28940fbeda3d2323a9413cbf7ac82aac949f24ea174520b33739ce3c2f75ac8
BLAKE2b-256 checksum
How to use checksums
04bf3a222d742282bd9483a52e38b6ba5ad268ef3cda0c4dbb08f44c43429bb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.15.4

2 release files

0.15.3

2 release files

This release

0.14.1 This release

2 release files

0.14.0

2 release files

0.13.3

2 release files

0.13.2

2 release files

0.12.1

2 release files

0.11.4

2 release files

0.11.3

2 release files

0.11.1

2 release files

0.10.4

2 release files

0.10.3

2 release files

0.10.2

2 release files

0.9.4

2 release files

0.9.3

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page