Skip to main content

Library for standardized data input/output for musculoskeletal imaging, based on BIDS

Project description

ORMIR-MIDS

ORMIR-MIDS is both a specification and a package to standardiza Medical Image Data Structure (MIDS) for Open and Reproducible Musculoskeletal Imaging Research (ORMIR). ORMIR-MIDS is based on the BIDS data structure for brain imaging data and on muscle-bids for muscle MR imaging data.

GitHub license

Main contributors


Installation

To install ORMIR-MIDS via pip use the following command in your terminal:

pip install ormir-mids

Note: The installation of ORMIR-MIDS requires the following dependencies

Development installation

If you want to contribute to ORMIR-MIDS, start by cloning the repository:

git clone https://github.com/ormir-mids/ormir-mids.git

Then, install via conda (in a separate virtual environment):

conda env create -n ormir-mids
conda activate ormir-mids

or via pip:

cd ormir-mids
pip install .
pip install --upgrade nibabel # the default nibabel has bugs

Usage

To use ORMIR-MIDS in your code, import it as:

import ormir_mids

To run ORMIR-MIDS from terminal, the command is:

dcm2omids -anonymize <pseudo_name> -recursive <input_dir> <output_dir>

Note: ormir-mids can be used for two purposes:

  1. To convert DICOM data to the ORMIR-MIDS format
  2. As a Python module to find, load, and interrogate ORMIR-MIDS-format data. For further clarification, see the demo notebook

Documentation and tutorials

To learn how to use ORMIR-MIDS:


How to contribute

To contribute to ORMIR-MIDS:

  • Install ORMIR-MIDS for development (see above)
  • Create a branch and make your changes and/or additions. If you want to coordinate the development with the main maintainers, write to Donnie Cameron or Francesco Santini
  • Commit your changes and send a pull request
  • To write a new converter class, refer to the Example Converter Class

API documentation

You can find the API documentation of ORMIR-MIDS on Read the Docs


Citation

When using ORMIR-MIDS, please cite the following abstract (paper coming in the next months!):

S. Bonaretti, M. A. Espinosa Hernandez, F. Chiumento, Y. Founas, M. Froeling, J. Hirvasniemi, G. Iori, Y. Lee, S. Matuschik, M. Monzon, F. Santini, D. Cameron. ORMIR-MIDS:An open standard for curating and sharing musculoskeletal imaging data. 24th International Workshop on Quantitative Musculoskeletal Imaging (QMSKI) The Barossa Valley, South Australia. November 3-8, 2024.


Licence

ORMIR-MIDS is released under Apache 2.0


Legal aspects

This code is freely available only for research purposes. The software has not been certified as a medical device and, therefore, must not be used for diagnostic purposes.


Acknowledgement

The development of ORMIR-MIDS specification and package started during the 2nd ORMIR workshop Sharing and Curating Open Data in Musculoskeletal Imaging Research and is currently ongoing.

ORMIR-MIDS is an extension of muscle-BIDS, which was partly developed during the 1st ORMIR workshop Building the Jupyter Community in Musculoskeletal Imaging Research.


ReadMe file created using the template of the ORMIR community (version 1.0, 2023)

Project details


Download files

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

Source Distribution

ormir_mids-0.1.8.tar.gz (35.4 kB view details)

Uploaded Source

Built Distribution

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

ormir_mids-0.1.8-py3-none-any.whl (43.8 kB view details)

Uploaded Python 3

File details

Details for the file ormir_mids-0.1.8.tar.gz.

File metadata

  • Download URL: ormir_mids-0.1.8.tar.gz
  • Upload date:
  • Size: 35.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ormir_mids-0.1.8.tar.gz
Algorithm Hash digest
SHA256 0d95971fbd73872a90bf830f44d3a15ee7c9ddbc72e99327970f0c13c68569dd
MD5 e5e0a4e6c672815bd98fe50e5a45dbf1
BLAKE2b-256 82c46370669bd525cb3678c8ca1e2b67ecd3b6c8a78a57d5678e71ce86757e99

See more details on using hashes here.

Provenance

The following attestation bundles were made for ormir_mids-0.1.8.tar.gz:

Publisher: publish.yml on ormir-mids/ormir-mids

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ormir_mids-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: ormir_mids-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 43.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ormir_mids-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e6a899cb22cffd21f3c5dcc57263a096687ab1a339b8f0737126fc0ea041b047
MD5 ef25467ef93e27c399012bf5d09f870d
BLAKE2b-256 22c417c35b4393d1fde171eea130aca1c15ab937a73bce422fa869adc6e4b7fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for ormir_mids-0.1.8-py3-none-any.whl:

Publisher: publish.yml on ormir-mids/ormir-mids

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page