qurit / rt-utils

A minimal Python library to facilitate the creation and manipulation of DICOM RTStructs.
MIT License
191 stars 56 forks source link

the possibility of changing one of ROIs volumes. #50

Open arasheb2001 opened 2 years ago

arasheb2001 commented 2 years ago

Hi guys. I am a medical researcher and working on DICOM files in my current project. I wonder to know is it possible to be able to uniformly extend or shorten one of ROIs in rt-struct DICOM file?
Uniformly extending or shortening PTV(Planning Target Volume) in rt-struct DICOM file and obtaining the overlap volume between this PTV and surrounding Organ at risks (OAR) lead us to calculate OVH (Overlap Volume Histogram) which is a useful feature feeding machine learning models.

asim-shrestha commented 2 years ago

Hi @arasheb2001, we currently have no plans for this functionality. What you can do at the moment is extract the ROI data through RT-Utils, run your own custom pipeline for your desired transformation, and update the ROI through RT-Utils. If you would like, you can also make these changes yourself and submit a pull request so that we can include this feature within the library.