Create new DICOM RT file
                    Versione 1.0.1 (1,47 KB) da  
                  Lars Tolbod
                
                
                  Example function for creating new DICOM RT file using the Python module rs-utils within Matlab.
                
                  
              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
Cita come
Lars Tolbod (2025). Create new DICOM RT file (https://it.mathworks.com/matlabcentral/fileexchange/125945-create-new-dicom-rt-file), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
              Creato con
              R2022b
            
            
              Compatibile con R2021a e release successive
            
          Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
