qurit / rt-utils

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

add roi to existing structure set #52

Open nadKo375 opened 2 years ago

nadKo375 commented 2 years ago

Hi all,

I have two CTs and two structure sets (generated in TPS). I am trying to copy some rois from structutSet1 to structurSet2. The patient is the same, and most of the setting (same CT type, place where CT was taken, ...) just the acquisition date and time differs.

It seems that the append worked, so no error appear and a roi with "name" is added to structurSet2. But when I display the newly added roi, it is just a point and not the structure it should show. It does not matter, which roi I copy, it is always the same point at the same coordinates.

RoiInRTStruct1and2

When I copy the rois from structutSet1 to a new structure set, everything works fine.

Do you have any idea, why this is not working? I also tried to copy a roi from structurSet2 to structurSet2 with a new name. The name is added to structurSet2, but the roi is again a point at the same coordinates, as shown in the image above.

Thanks a lot for your help! Its a great tool by the way

Cheers, Nadja

asim-shrestha commented 1 year ago

Thanks for reaching out Nadja. Apologies for the late reply, are you still having issues? Unfortunately I can't say for sure without viewing the underlying DICOM files. Would you be able to provide more context as to what kind of files they are?