Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for RTSTRUCT modalities #55

Open
hosseinjafar opened this issue Oct 2, 2023 · 0 comments
Open

support for RTSTRUCT modalities #55

hosseinjafar opened this issue Oct 2, 2023 · 0 comments

Comments

@hosseinjafar
Copy link

hosseinjafar commented Oct 2, 2023

Hi,

While trying to load a DICOM structure file (dataset.Modality == RTSTRUCT), I get an error saying:
ValueError: DICOM dataset is not a DICOM-SEG storage

After digging into the code I see that in pydicom-seg/pydicom_seg/reader.py line 110, the code checks if the dataset.Modality is "SEG".
if dataset.SOPClassUID != SegmentationStorage or dataset.Modality != "SEG": raise ValueError("DICOM dataset is not a DICOM-SEG storage")

I was wondering if there is plans to add support for RTSTRUCT files? there is a slicer script that converts RTSTRUCT to SEG, but it would be nice to support these files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant