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.13.1.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.13.1-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

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

Hashes for med_imagetools-2.13.1.tar.gz
Algorithm Hash digest
SHA256 92d63716b61e566ae74e6c8c3baf65f8e170095086ed320afa9baaf363687696
MD5 cd28f70ba415184cb0e9b587f3d3767c
BLAKE2b-256 fa89b8ced32ceadabb8964067e6f1b6c46ab9c57b971bb404072afc410aeefab

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for med_imagetools-2.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4ef87bd8888cd4c3bb112aa1501a99a6b9d625106fd37788fdbef5639d25642
MD5 91799688a27d5d496841e10b11833e11
BLAKE2b-256 969fbd9ed3bc3b7a59ce12ac7bc6630e72b342602f7ba6daadffff3ad205a0dc

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