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 DICOM Segmentation IOD #377

Open
SteEcker opened this issue Mar 8, 2024 · 3 comments
Open

Support for DICOM Segmentation IOD #377

SteEcker opened this issue Mar 8, 2024 · 3 comments

Comments

@SteEcker
Copy link

SteEcker commented Mar 8, 2024

Hi thank you for this great project!

Are there any plans to support DICOM Segmentation IODs alongside standard DICOM RT Structure Sets?

@bastula
Copy link
Member

bastula commented Mar 12, 2024

Hi there,

Not at the moment, but happy to take a PR or start a discussion if that's a feature you would like to see. What's your use case?

There are also other projects that deal with Segmentation IODs such as highdicom that may be a good starting point as well.

@SteEcker
Copy link
Author

The structures that I am working with are segmented on images with para-axial slice orientation. The points of a contour slice in the RTSS DICOM are not aligned with the patient-based coordinate system. Hence a single contour slice can have varying z-coordinates, which violates the assumption that dicompyler makes.

My use case would be that you can provide the structure(s) as volumes that contain the respective classification of pixels/voxels, which would be the case when using DICOM-SEG files (but in principle should also work by e.g. passing a sitk image). This would allow the generation of a DVH, regardless of the initial image orientation.

I setup a project in the meantime that does that. It still needs some polishing but if you are interested I can share.

Thank you for your time!

@SteEcker
Copy link
Author

Regardless, of the Segmentation IOD support, I think it would be good to add an additional check to the DVH calculation that ensures that the z-coordinates are consistent.

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

2 participants