Skip to content

quick0306/radiotherapy-dose-prediction

Repository files navigation

radiotherapy-dose-prediction

In radiotherapy treatment planning, the planner usually need to try different optimization parameters to achieve the best plan with optimal dose distribution. This is an trial and error process and the planner not always find the best dose ditribution.

In this project, we developed an deep-learning model for optimal dose prediction. Using this model, the planner can use only CT and organ structure to predict the best plan dose distribution .

Requirements

Table Of Contents

Training-Data

We have obtained 30 Total marrow irradiation plan data as training data. Each plan has been optimized to the best distribution with same evaluation criteria, and it includes:

  • CT images (dicom files)
  • Structures file (dicom file)
  • Dose file (dicom files)

Data-preprocessing

The CT images, structures and dose need to be registered together to generate masks.

In preprocesing/get_plan_from_dicom.py.

class Plan(Object):
    def get_plan_mask():
        # resampled all CT, structures, dose to same grid
    def rename():
        # rename all structures to standard
    def resample():
        # resample the matrix
    def structure_range():
        # return the structure range in matrix
    def img_cut():
        # cut the whole images

Models

We have implemented 3 models

  • Unet
  • Attention gated UNet
  • GAN

alt text

Programs

├──  config
│    └──  config parameters  
├──  data  
│    └── datasets, please email dudongsu@gmail.com to request the data
    
├──  preprocessing
│   ├── generate_data.py     - this file contains the program to generate training and testing data

│   ├── get_plan_from_dicom.py   - this file contains the Plan class
│
├── model_trainig_evaluation             - this folder contains trainig models and evaluation program.
│   └── get_models.py              - includes all neuro network models
│
├── main.ipynb            - this script contains the trainig and tesing process

Future Work

I will developed a new network strucutre based on transformer

About

TMI dose prediction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published