Skip to content

jonasteuwen/SimpleITK-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleITK examples in Python

In this repository you will find a couple of examples on how to use SimpleITK with Python. If you want any specific example, please open an issue. An open source viewer (and more) for medical images is Slicer 3D.

Currently we have the Python examples:

  • dcm_to_nrrd.py: reads a complete dicom series from a folder and converts this to a nrrd file. Nrrd is a very convenient format to store medical images. The script reads the window and level tags of the DICOM series, and windows the intensity range to these.
  • resample_isotropically.py: An example to read in a image file, and resample the image to a new grid.
  • resample_tests.py: Several ways to downsample an image.
  • apply_lut.py: in some DICOM files there is a tag VOILUTFunction. This is an example on how to apply this.

Jupyter notebooks:

  • ReadImage.ipynb: An example on how to read an image using SimpleITK.
  • ReadDicomBrain.ipynb: An example how to read a DICOM series using SimpleITK.

About

SimpleITK examples for python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published