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

have issue reading dicom files #366

Open
mingtian126 opened this issue Sep 18, 2024 · 1 comment
Open

have issue reading dicom files #366

mingtian126 opened this issue Sep 18, 2024 · 1 comment

Comments

@mingtian126
Copy link

Hello, I have some issue while using the totalsegmentator. Figured out that some of the dicom file might be corrupted. Tested using the pydicom.dcmread to read the "corrupted" file, if the force=True was set, pydicom can read the file without issue, also tested import using imageJ with no problem. But if I didn't set force=True, it gave me error (invalid dicom file). Is there a way to help the totalsegmentator to get around this issue? Thanks!

@Peaceandmaths
Copy link

@mingtian126 I think TotalSegmentator is natively built to only work with nifti files (nii.gz not dcm).
I would also need to use TS on dicom files, so if someone can give an insight on how to do it properly would be great !

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