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

nifti to dicom rtstruct #7

Open
wanderine opened this issue Jun 5, 2020 · 1 comment
Open

nifti to dicom rtstruct #7

wanderine opened this issue Jun 5, 2020 · 1 comment

Comments

@wanderine
Copy link

Any chance that you can do a function in the opposite direction? When you have done segmentation and stored the mask as a nifti file, you often want to save the segmentation as a DICOM RTstruct file. I can get the contour from the mask using scikit-image, but to save it as a DICOM RTstruct file seems hard.

@KeremTurgutlu
Copy link
Owner

KeremTurgutlu commented Jun 6, 2020

Currently not, but it would definitely be a good addition, happy to take PRs 😄 Good part is DICOM is a very well defined data structure and it should be easy to add masks arrays to RTStruct seamlessly using the API. https://pydicom.github.io/pydicom/stable/index.html

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