  Towards the need for automated and precise AI-based analysis of medical
images, we present RT-utils, a specialized Python library tuned for the
manipulation of radiotherapy (RT) structures stored in DICOM format. RT-utils
excels in converting the polygon contours into binary masks, ensuring accuracy
and efficiency. By converting DICOM RT structures into standardized formats
such as NumPy arrays and SimpleITK Images, RT-utils optimizes inputs for
computational solutions such as AI-based automated segmentation techniques or
radiomics analysis. Since its inception in 2020, RT-utils has been used
extensively with a focus on simplifying complex data processing tasks. RT-utils
offers researchers a powerful solution to enhance workflows and drive
significant advancements in medical imaging.
