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

Error when using platipy.dicom.io.nifti_to_rtruct function to convert nii to rtstruct: the Mask must have the number of layers saved (in dimension 3) as an input sequence. Expected 65, result 13 #109

Open
1413194910 opened this issue Mar 20, 2024 · 0 comments

Comments

@1413194910
Copy link

I have a problem: rt_utils.rtstruct.RTStruct.ROIException: Mask must have the same number of layers (In the 3rd dimension) as input series. expected 65, got 13. I understand that this is because the slices in the NIfTI file need to correspond to the DICOM file.
Now that I only have a mask.nii file and a complete DICOM folder, how do I determine the DICOM file that corresponds to this mask? Is there a tool that can help me with this task?

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