Skip to content

Medical image handling library for easy manipulation of dicom images in research

Notifications You must be signed in to change notification settings

ryanneph/PyMedImage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

**PROJECT RELOCATION**

I have moved the most popular functionality of this library (namely the image load/save, and RTStruct mask load/mask-generation functions) to a more actively maintained repository: RTTypes

For continued availability of the feature calculation framework, you may continue to use this library, though maintainence will be less frequent.


PyMedImage

This is a library written in Python 3.x and CUDA for common tasks when dealing with the DICOM medical image format in a research setting.

Overview

Key features include:

  • Easy I/O of dicom images/volumes commonly used in storage of CT, MR, and PET images.
  • Reading and conversion of Radiotherapy contours/masks from .rtstruct file to 2D/3D binary masks.
  • Patch-based (local) image feature calculation including:
    • 1st Order Statistics
    • Gray Level Co-Occurence Matrices (GLCM)
    • Gray Level Run-Length Matrices (GLRLM)
    • Wavelet Decomposition
    • Customizable Haar-Like features
  • GPU-Acceleration and Multi-process management
  • Customizable Logging Utilities
  • Image-feature-based voxel clustering

Installing

Open a terminal window and enter:

pip3 install git+git://github.com/ryanneph/PyMedImage.git#egg=PyMedImage

Updating

Open a terminal window and enter:

pip3 install --upgrade git+git://github.com/ryanneph/PyMedImage.git#egg=PyMedImage

Development

Open a terminal window and enter:

git clone https://github.com/ryanneph/PyMedImage.git
cd PyMedImage
pip3 install -e .

About

Medical image handling library for easy manipulation of dicom images in research

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published