Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
fileformats-medimage
Advanced tools
Classes for representing various medical imaging file formats in Python classes for use in type hinting in data workflows
.. image:: https://github.com/ArcanaFramework/fileformats-medimage/actions/workflows/ci-cd.yml/badge.svg :target: https://github.com/ArcanaFramework/fileformats-medimage/actions/workflows/ci-cd.yml .. image:: https://codecov.io/gh/ArcanaFramework/fileformats-medimage/branch/main/graph/badge.svg?token=UIS0OGPST7 :target: https://codecov.io/gh/ArcanaFramework/fileformats-medimage .. image:: https://img.shields.io/pypi/pyversions/fileformats-medimage.svg :target: https://pypi.python.org/pypi/fileformats-medimage/ :alt: Supported Python versions .. image:: https://img.shields.io/pypi/v/fileformats-medimage.svg :target: https://pypi.python.org/pypi/fileformats-medimage/ :alt: Latest Version
This is an extension module to the fileformats <https://github.com/ArcanaFramework/fileformats>
__ package,
which that adds support for commonly used medical imaging formats, such as DICOM (sets/directories),
NIfTI, and MRtrix Image Format, etc...
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
This work is licensed under a
Creative Commons Attribution 4.0 International License <http://creativecommons.org/licenses/by/4.0/>
__
.. image:: https://i.creativecommons.org/l/by/4.0/88x31.png :target: http://creativecommons.org/licenses/by/4.0/ :alt: Creative Commons Attribution 4.0 International License
.. _Dcm2NiiX: https://github.com/rordenlab/dcm2niix .. _MRtrix: https://mrtrix.readthedocs.io/en/latest/
FAQs
Classes for representing various medical imaging file formats in Python classes for use in type hinting in data workflows
We found that fileformats-medimage demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.