qurit / rt-utils

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

revised get_roi_names for geometric type (#99) #100

Open mffield opened 8 months ago

mffield commented 8 months ago

Hi, here is a pull request relating to issue #99 opened to improve smoothness of using ROI names when there is a mixture of geometric types in the RTSTRUCT, some of which retrieving a 3D mask is not supported. The default value of the added optional argument ensures the function returns the same result as the original code.