qurit / rt-utils

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

Support adding ROIs from polygon data #79

Open zeakey opened 1 year ago

zeakey commented 1 year ago

I've implemented the functionality of adding ROIs from polygons (mentioned in #77 ). I tried to keep the modifications as less as possible and keep it backward-compatitable.

Potential bugs on existing codes:

Since I changed the init function of ROIData, existing code with positional args may cause errors.