Med-Imagetools: Transparent and Reproducible Medical Image Processing Pipelines in Python
Project description
Med-Imagetools: Transparent and Reproducible Medical Image Processing Pipelines in Python
Installation and Usage Documentation: https://bhklab.github.io/med-imagetools
Med-ImageTools core features
Med-Imagetools, a python package offers the perfect tool to transform messy medical dataset folders to deep learning ready format in few lines of code. It not only processes DICOMs consisting of different modalities (like CT, PET, RTDOSE and RTSTRUCTS), it also transforms them into deep learning ready subject based format taking the dependencies of these modalities into consideration.
Introduction
A medical dataset, typically contains multiple different types of scans for a single patient in a single study. As seen in the figure below, the different scans containing DICOM of different modalities are interdependent on each other. For making effective machine learning models, one ought to take different modalities into account.
Fig.1 - Different network topology for different studies of different patients
Med-Imagetools is a unique tool, which focuses on subject based Machine learning. It crawls the dataset and makes a network by connecting different modalities present in the dataset. Based on the user defined modalities, med-imagetools, queries the graph and process the queried raw DICOMS. The processed DICOMS are saved as nrrds, which med-imagetools converts to torchio subject dataset and eventually torch dataloader for ML pipeline.
Installing med-imagetools
pip install med-imagetools
imgtools --help
uvx --from 'med-imagetools[all]' imgtools --help
Repository Stars
License
This project uses the following license: MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file med_imagetools-2.13.1.tar.gz.
File metadata
- Download URL: med_imagetools-2.13.1.tar.gz
- Upload date:
- Size: 5.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92d63716b61e566ae74e6c8c3baf65f8e170095086ed320afa9baaf363687696
|
|
| MD5 |
cd28f70ba415184cb0e9b587f3d3767c
|
|
| BLAKE2b-256 |
fa89b8ced32ceadabb8964067e6f1b6c46ab9c57b971bb404072afc410aeefab
|
File details
Details for the file med_imagetools-2.13.1-py3-none-any.whl.
File metadata
- Download URL: med_imagetools-2.13.1-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4ef87bd8888cd4c3bb112aa1501a99a6b9d625106fd37788fdbef5639d25642
|
|
| MD5 |
91799688a27d5d496841e10b11833e11
|
|
| BLAKE2b-256 |
969fbd9ed3bc3b7a59ce12ac7bc6630e72b342602f7ba6daadffff3ad205a0dc
|