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

Uploaded Python 3

File details

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

File metadata

  • Download URL: med_imagetools-2.14.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.14.0.tar.gz
Algorithm Hash digest
SHA256 ed699db2839e38c161339e466ad7403b76fa5334269ed6db83a24345d2b2e942
MD5 2ee6879e03b09613b8ef3573eaceb7e6
BLAKE2b-256 de79fe17ed8bfa3a1ed58acef3709e427a732c2639a2eac9cf3da25408efb8b6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for med_imagetools-2.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ca3aa3700dedf3bbc14fa76116a91fdf75e9395da9599d43b148870b0940d38
MD5 84e3451c524b3271785bfa2d9e1781c4
BLAKE2b-256 76d9643355816ea35adbc053b53ce5e0b98b0ee77a8aab5dd3ff081f86fc95dc

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