Classes for representing various medical imaging file formats in Python classes for use in type hinting in data workflows
Project description
This is a template for an extension module to the fileformats package that adds support for commonly used medical imaging formats, such as DICOM, NIfTI, and MRtrix Image Format.
For converters to work you will also need to install the Dcm2NiiX and MRtrix 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
and MRtrix with miniconda:
$ conda install -c mrtrix3 mrtrix3
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
License
This work is licensed under a Creative Commons Attribution 4.0 International License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fileformats_medimage-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d5b0baf21a5ee6adae3118a0cb2bdcdbaa97509198a139d47db751dd8ea6f26 |
|
MD5 | ab600f4136befc6f1919a043fc54f241 |
|
BLAKE2b-256 | bdeaee471a3eefc3006413ba35a9b42234a123cc557cfc988c410ecf6a6c7eb4 |
Hashes for fileformats_medimage-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dd1330fd73454b797ec5c3d526936cd46b47c154acce5568ce00ef2e1d6dad2 |
|
MD5 | 7ef4b3570ca32452fb461d5698a5e5e2 |
|
BLAKE2b-256 | fc8473f2a4c2368d770570581643e339322a6d657fa14f37769423b979beb144 |