Skip to main content
Ctrl+K

OpenTPS examples

Examples:

  • Example Gallery
    • DICOM Examples
      • Create Dynamic 3D Model from DICOM Fields
      • Create 3D Sequence from DICOM
      • Create 3D Sequence from Images
      • Crop 3D Data Around ROI
      • Generate random samples from a model
      • Create Model with ROIs from DICOM Images
      • Image Resampling
      • Generate DRR and GTV Masks
    • Dose Computation
      • Simple dose computation
      • Photon Plan Creation and Dose Calculation
      • Proton Plan Creation and Dose Calculation
      • Use of Range Shifter for Proton Plan
    • Dose Delivery Simulation
      • PBS Delivery Timings
      • Plan Delivery Simulation
    • Plan Optimization
      • Beamlet Free Optimization
      • Bound Constraint Optimization
      • Evaluate Photon Plan Robustness
      • Evaluate Proton Plan Robustness
      • Simple IMPT proton plan optimization
      • Robust Proton Plan Optimization
      • Simple IMPT photon plan optimization
      • Simple ion plan optimization and DICOM study creation
      • 4D Proton Evaluation
      • 4D Proton Optimization
    • Segmentation
      • Segmentation
    • Dynamic Data
      • Midp
      • Deformable Breathing Data Augmentation
      • Deformation from Weight Maps
      • Applying Baseline Shift to a Model
      • Inter Fraction Changes
    • Image Processing
      • Dilate Binary Mask
      • Applying Baseline Shift
      • DRR with Tigre
      • Transform 3D
      • Transform 3D Image with CuPy
      • Cupy vs SitkTransforms
    • Multiple Python Environements
      • Shared Memory child
      • Shared Memory
      • Back and Forth Child
      • Back and Forth
    • Registration
      • Rigid Registration
      • Morphons Registration
  • Community Examples
    • Community Examples
      • Simple dose computation and optimization on a real CT image
    • Template
      • Template Example

Example Gallery

Contents

  • DICOM Examples
  • Dose Computation
  • Dose Delivery Simulation
  • Plan Optimization
  • Segmentation
  • Dynamic Data
  • Image Processing
  • Multiple Python Environements
  • Registration

Example Gallery#

Welcome to the OpenTPS example gallery! Here, you’ll find Python examples demonstrating the key features and use cases of OpenTPS.

Each example includes runnable code and explanations to help you get started.

DICOM Examples#

Create Dynamic 3D Model from DICOM Fields

Create Dynamic 3D Model from DICOM Fields

Create 3D Sequence from DICOM

Create 3D Sequence from DICOM

Create 3D Sequence from Images

Create 3D Sequence from Images

Crop 3D Data Around ROI

Crop 3D Data Around ROI

Generate random samples from a model

Generate random samples from a model

Create Model with ROIs from DICOM Images

Create Model with ROIs from DICOM Images

Image Resampling

Image Resampling

Generate DRR and GTV Masks

Generate DRR and GTV Masks

Dose Computation#

Simple dose computation

Simple dose computation

Photon Plan Creation and Dose Calculation

Photon Plan Creation and Dose Calculation

Proton Plan Creation and Dose Calculation

Proton Plan Creation and Dose Calculation

Use of Range Shifter for Proton Plan

Use of Range Shifter for Proton Plan

Dose Delivery Simulation#

PBS Delivery Timings

PBS Delivery Timings

Plan Delivery Simulation

Plan Delivery Simulation

Plan Optimization#

Beamlet Free Optimization

Beamlet Free Optimization

Bound Constraint Optimization

Bound Constraint Optimization

Evaluate Photon Plan Robustness

Evaluate Photon Plan Robustness

Evaluate Proton Plan Robustness

Evaluate Proton Plan Robustness

Simple IMPT proton plan optimization

Simple IMPT proton plan optimization

Robust Proton Plan Optimization

Robust Proton Plan Optimization

Simple IMPT photon plan optimization

Simple IMPT photon plan optimization

Simple ion plan optimization and DICOM study creation

Simple ion plan optimization and DICOM study creation

4D Proton Evaluation

4D Proton Evaluation

4D Proton Optimization

4D Proton Optimization

Segmentation#

Segmentation

Segmentation

Dynamic Data#

Midp

Midp

Deformable Breathing Data Augmentation

Deformable Breathing Data Augmentation

Deformation from Weight Maps

Deformation from Weight Maps

Applying Baseline Shift to a Model

Applying Baseline Shift to a Model

Inter Fraction Changes

Inter Fraction Changes

Image Processing#

Dilate Binary Mask

Dilate Binary Mask

Applying Baseline Shift

Applying Baseline Shift

DRR with Tigre

DRR with Tigre

Transform 3D

Transform 3D

Transform 3D Image with CuPy

Transform 3D Image with CuPy

Cupy vs SitkTransforms

Cupy vs SitkTransforms

Multiple Python Environements#

Shared Memory child

Shared Memory child

Shared Memory

Shared Memory

Back and Forth Child

Back and Forth Child

Back and Forth

Back and Forth

Registration#

Rigid Registration

Rigid Registration

Morphons Registration

Morphons Registration

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

OpenTPS examples

next

DICOM Examples

Contents
  • DICOM Examples
  • Dose Computation
  • Dose Delivery Simulation
  • Plan Optimization
  • Segmentation
  • Dynamic Data
  • Image Processing
  • Multiple Python Environements
  • Registration

By OpenTPS team

© Copyright 2024, OpenTPS team.