Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Library for standardized data input/output for musculoskeletal imaging, based on BIDS
I/O of Medical Image Data Structure (MIDS) for Open and Reproducible Musculoskeletal Imaging Research (ORMIR). Based on the BIDS data structure.
[!NOTE]
This package is a fork of muscle-bids for muscle MR imaging data.
Run the tutorial on Binder
Run the tutorial on Colab
To install ormir-mids
, run the code below, noting this list of dependencies.
It is recommended to install ormir-mids
in a separate virtual environment:
conda env create -n ormir-mids
conda activate ormir-mids
Clone the git repository:
git clone https://github.com/ormir-mids/ormir-mids.git
Now we can install the package using pip
. This will also install the required dependencies.
cd ormir-mids
pip install .
pip install --upgrade nibabel # the default nibabel has bugs
ormir-mids
can be used in two ways:
dcm2omids
as an executable to convert DICOM data to the MIDS format.ormir-mids
as a Python module to find, load, and interrogate ORMIR-MIDS-format data.The commandline script is called dcm2omids.exe
. To view the commandline script help type
dcm2omids -h
To use ormir-mids
within Python, import the following modules
from ormir_mids.utils.io import find_bids, load_bids
import nibabel as nib
For a detailed description of how to use ormir-mids
see the following notebook
ormir-mids
can be used within Python to load, manipulate, and visualize medical volume datasets, without having to convert them to the ORMIR-MIDS structure.
from ormir_mids.utils.io import load_dicom
mv = load_dicom('<Path-to-DICOM-file>')
mv_subvolume = mv[50:90, 50:90, 30:70]
mv_itk = mv.to_sitk()
Examples of how to use ormir-mids
for common data handling, image manipulation and processing tasks within Python can be found in this notebook
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.
FAQs
Library for standardized data input/output for musculoskeletal imaging, based on BIDS
We found that ormir-mids 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.