Skip to content

Instantly share code, notes, and snippets.

@enochkan
Last active November 7, 2019 01:59
Show Gist options
  • Save enochkan/06c73b046631669bfcb28b4a73eb6ac7 to your computer and use it in GitHub Desktop.
Save enochkan/06c73b046631669bfcb28b4a73eb6ac7 to your computer and use it in GitHub Desktop.
miptools usage demonstration
import miptools as mt
#metadata windowing
mt.preprocess('./data/test.dcm', org='brain', windowing='simple', resample=False, visualize=True)
#bsb windowing
mt.preprocess('./data/test.dcm', org='brain', windowing='bsb', resample=False, visualize=True)
#sigmoid windowing
mt.preprocess('./data/test.dcm', org='brain', windowing='sigmoid', resample=False, visualize=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment