Open SteEcker opened 6 months ago
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.
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!
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.
Hi thank you for this great project!
Are there any plans to support DICOM Segmentation IODs alongside standard DICOM RT Structure Sets?