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.
Main contributors
- Donnie Cameron
- Francesco Santini
- Jukka Hirvasniemi
- Maria Monzon Ronda
- Serena Bonaretti
- Gianluca Iori
- Francesco Chiumento
- Simone Poncioni
- Michelle Alejandra Espinoza Hernandez
- Youngjun Lee
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:
- To convert DICOM data to the ORMIR-MIDS format
- 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:
- Read the ORMIR-MIDS website for background information about the standard and the package
- Run the demo notebook either locally or on
)
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)
Metadata
Release files for ormir-mids 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ormir_mids-0.1.9.tar.gz | 35.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ormir_mids-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.4 kB
Release files / ormir_mids-0.1.9.tar.gz
| Download URL | ormir_mids-0.1.9.tar.gz |
|---|---|
| Size | 35.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2284810508dd4aabf0ab2539486bf9662a7bb216c9ef3d65c8961687641cf30
|
|
BLAKE2b-256 checksum How to use checksums |
40e73abef66331e0894cc879405365771e3da98851fa0c82bca83e5c51aba8df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency logRelease files / ormir_mids-0.1.9-py3-none-any.whl
| Download URL | ormir_mids-0.1.9-py3-none-any.whl |
|---|---|
| Size | 44.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28dd24bda2c811e81b6d0def681e02bc7494c04e3c0e8a4eecc8becc9f26a480
|
|
BLAKE2b-256 checksum How to use checksums |
6484d4d81f56b146a311ad77f65a8bd15ac4f2a500367dc64729235d3b10bfb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.
Transparency log