You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defget_slice_contour_data(series_slice: Dataset, contour_sequence: Sequence):
slice_contour_data= []
# Traverse through sequence data and get all contour data pertaining to the given sliceforcontourincontour_sequence:
forcontour_imageincontour.ContourImageSequence:
ifcontour_image.ReferencedSOPInstanceUID==get_UID(series_slice.filename): #series_slice.SOPInstanceUID:slice_contour_data.append(contour.ContourData)
returnslice_contour_data
where get_UID obtaines the UID from the file name. Not sure if this means the dataset is "broken", or if this is just a real problem that is not covered by rt-utils.
The text was updated successfully, but these errors were encountered:
Trying to get ROI masks from this dataset: https://figshare.com/s/a5e09113f5c07b3047df
I had to use following hack in
image_helper.py
:where
get_UID
obtaines the UID from the file name. Not sure if this means the dataset is "broken", or if this is just a real problem that is not covered byrt-utils
.The text was updated successfully, but these errors were encountered: