Toolkits for monte carlo dose simulation and visualization

A set of Matlab functions which are designed to help clinicians and researchers use GEANT4 or TOPAS

You are now following this Submission

There are 3 sets of code here which are designed to help clinicians and researchers use GEANT4 or TOPAS (MC) in conjunction with 3D Slicer for dose visualization and comparison

The first piece of code, "STLfromDicomRN.m" takes the Dicom plan files for double scatter proton plans generated with Varian Eclipse and generates models of the apertures and compensators in the plan in ".STL" format. This file uses the "stlwrite" and "surf2solid" functions included in the zip file. These files can be imported into the MC simulation geometry.

The 2nd is a set of codes for manipulating Dicom dose files and analyzing the dose. The "NormalizeDicomDose.m" code normalizes the MC dose to the dose at isocenter of the Eclipse dose and contains instructions for how to normalize to other points or volumes. The "ProfilePlot.m" code simply generates dose profiles comparing the doses of two dose files between two points.

To be included is a matlab gui which performs gamma analysis on the dose plane you select and code which converts Geant4 dose output files into DICOM dose files which can be viewed in 3D Slicer

Cite As

Leland Muller (2026). Toolkits for monte carlo dose simulation and visualization (https://www.mathworks.com/matlabcentral/fileexchange/68660-toolkits-for-monte-carlo-dose-simulation-and-visualization), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with R2011b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.3

_

1.0.2

tests

1.0.1

test

1.0.0