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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fileformats_medimage-0.13.0.tar.gz (40.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fileformats_medimage-0.13.0-py3-none-any.whl (31.7 kB view details)

Uploaded Python 3

File details

Details for the file fileformats_medimage-0.13.0.tar.gz.

File metadata

  • Download URL: fileformats_medimage-0.13.0.tar.gz
  • Upload date:
  • Size: 40.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fileformats_medimage-0.13.0.tar.gz
Algorithm Hash digest
SHA256 b4645e27b3ea37c3062d83710cfeb83a156b1ba6e038d4e4283e30de6038dd89
MD5 68fb0e5be2166c08c6688710342470d9
BLAKE2b-256 d74433254ee7b692b3111f876ff71de3f86458b7a287821b6a9cb3a4efb3ff08

See more details on using hashes here.

File details

Details for the file fileformats_medimage-0.13.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fileformats_medimage-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 279e1bdfb1573a259a8991eea3ec8e31273f371e30e6704e509396c7e206fb14
MD5 146fd0c827f23a9c72a4938c05ba4af4
BLAKE2b-256 2fc74b5d2a002d5094d3c16d891a6e4dfba21ec330dc9459eb7f54343b824e57

See more details on using hashes here.

Release history Release notifications | RSS feed

0.13.1

2 files

This release

0.13.0 This release

2 files

0.12.1

2 files

0.12.0

2 files

0.11.5

2 files

0.11.4

2 files

0.11.3

2 files

0.11.2

2 files

0.11.1

2 files

0.11.0

2 files

0.10.5

2 files

0.10.4

2 files

0.10.3

2 files

0.10.2

2 files

0.10.1

2 files

0.9.4

2 files

0.9.3

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

2 files

0.8.2

2 files

0.8.1

2 files

0.7.1

2 files

0.7.0

2 files

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

0.3

2 files

0.2.1

2 files

0.2.0

2 files

0.1.3

2 files

0.1.1

2 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