Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fileformats-medimage

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fileformats-medimage

Classes for representing various medical imaging file formats in Python classes for use in type hinting in data workflows

  • 0.9.4
  • PyPI
  • Socket score

Maintainers
1

FileFormats - Medimage

.. 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...

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 <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/

Keywords

FAQs


Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc