SkillAgentSearch skills...

Miptools

Medical image processing toolbox for quick preprocessing of CTs and MRIs

Install / Use

/learn @enochkan/Miptools
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

miptools

PyPI version

This is a medical image processing toolbox for quick preprocessing of CTs and MRIs

Download the latest release pip install --upgrade miptools

Sample usage:

# import library
import miptools as mt

# preprocessing usage
mt.preprocess('./data/test', org='brain', windowing='bsb', resample=True, visualize=True)

CT Preprocessing

Currently supporting CT windowing preprocessing only. Available windows include:

  • Simple windowing (window='simple')
  • Brain, Subdural, Bone windowing (window='bs')
  • Sigmoid windowing (window='sigmoid')

Also supporting resampling of pixel spacing to [1, 1]

Versions

Python == 3.7.2

Todo

  • [ ] MRI processing
  • [ ] gradient windowing for CT
  • [X] add saving function
  • [ ] add tests
  • [ ] add normalization functions

Author

Enoch Kan/ @enochkan

View on GitHub
GitHub Stars17
CategoryHealthcare
Updated7mo ago
Forks3

Languages

Python

Security Score

67/100

Audited on Aug 30, 2025

No findings