You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
Function to create a dicom RT file from binary masks using python rt-utils (github.com/qurit/rt-utils)
Inputs:
dcmIn Path for DICOM-series associated with the RT-structure
DICOM-series must have same dimensions as the binary masks
dcmOut Filename and path for the DICOM RT output file
mask Matlab Cell array of binary masks
names Matlab Cell array of ROI names
Tested with python-3.10.9 with pydicom, rs-utils and numPy in Matlab R2021a and R2022b
Cite As
Lars Tolbod (2026). Create new DICOM RT file (https://www.mathworks.com/matlabcentral/fileexchange/125945-create-new-dicom-rt-file), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.1 (1.47 KB)
MATLAB Release Compatibility
- Compatible with R2021a and later releases
Platform Compatibility
- Windows
- macOS
- Linux
