Save RT structure segments as numpy array

22 views
Skip to first unread message

Marco Saguatti

unread,
Jan 18, 2023, 8:54:18 AM1/18/23
to pydicom
Hi,
I have a dicom rt structure file with multiple segments stored in it.
Is there a way to extract those segments one at the time and convert them into numpy arrays?

Thank you

Darcy Mason

unread,
Jan 18, 2023, 11:34:15 AM1/18/23
to pydicom
I haven't used it, but there is a library that has specific classes for dealing with RTSTRUCTs: https://github.com/qurit/rt-utils.  It will probably do what you want, or at least provide source code to adapt to your needs.
Reply all
Reply to author
Forward
0 new messages