Skip to content
David Boersma edited this page Mar 19, 2019 · 4 revisions

Development plan

As agreed on a Skype call last week, we start collecting here the list of tools from the VV/clitk collection that we would like to pythonize, for use in a python-based Gate workflow.

  • clitkDicom2Image: convert DICOM CT images to MHD
  • clitkDicomRTPlan2Gate: convert DICOM PBS pencil beam plan to Gate text input file
  • clitkCropImage: crop image to within given bounding box
  • clitkDicomRTStruct2Image: convert ROI to a binary (or fuzzy) mask for given image
  • clitkGammaIndex: compute gamma index for 2D or 3D images (or any other dose grid)
  • clitkGateSimulation2Dicom: convert MHD dose image into DICOM dose image
  • clitkImage2DicomDose: convert DICOM dose image into MHD dose image
  • clitkExtractPatient (kinda): replace everything outside the patient with air, optionally crop image to external
  • clitkImageArithm: add, subtract, divide, multiply, scale
  • clitkImageConvert: change pixel value type and/or image storage format
  • clitkSetBackground: set a constant value to outside (unmasked) or inside (masked) voxels

Naming issue

For consistency and similar reasons, we could use the same names for classes/functions in Python, except maybe the "clitk" replaced with "py". But some names are just not so good. For instance, clitkGateSimulation2Dicom and clitkImage2DicomDose are each other's inverse, functionally speaking, it would be good to make that more clear in their names.

Clone this wiki locally