Skip to main content

Med-Imagetools: Transparent and Reproducible Medical Image Processing Pipelines in Python

Project description

Med-Imagetools: Transparent and Reproducible Medical Image Processing Pipelines in Python

CI/CD Status GitHub repo size GitHub contributors GitHub stars GitHub forks Documentation Status DOI Status

PyPI - Python Version GitHub Release PyPI - Version Docker Pulls Docker Size

PyPI - Format Downloads Codecov

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.

cli

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.

graph

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

Star History Chart

License

This project uses the following license: MIT License

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

med_imagetools-2.15.0.tar.gz (5.2 MB view details)

Uploaded Source

Built Distribution

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

med_imagetools-2.15.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file med_imagetools-2.15.0.tar.gz.

File metadata

  • Download URL: med_imagetools-2.15.0.tar.gz
  • Upload date:
  • Size: 5.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for med_imagetools-2.15.0.tar.gz
Algorithm Hash digest
SHA256 2f62fcbd6ed49fd700805e3dec07cf0fe0ce6c0fcb31ce81df1565593a6ba23a
MD5 1fb8f7aeb1dacbb12d258687278171ab
BLAKE2b-256 d6e7b94fd2da452a01563d3c9eef0857963680868dc25fa911c1d64ae8b0419c

See more details on using hashes here.

File details

Details for the file med_imagetools-2.15.0-py3-none-any.whl.

File metadata

File hashes

Hashes for med_imagetools-2.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 614706ad0a8ae0e8c09c1e782f1fd7df1be70e5edd6af2fa67f45614a2bc5d69
MD5 0ef5cf1f0ec931c1566d0da23f605b33
BLAKE2b-256 cbc49975cd81ba3323b53d8fed99a8ecebf20b2e2b54386f1f0d490a79328ecb

See more details on using hashes here.

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