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

does not convert philips DTI dcm files #48

Closed
mrjeffs opened this issue Jan 25, 2017 · 2 comments
Closed

does not convert philips DTI dcm files #48

mrjeffs opened this issue Jan 25, 2017 · 2 comments

Comments

@mrjeffs
Copy link

mrjeffs commented Jan 25, 2017

pointed dcmstack to directory of 1 DTI scan and got confused on 4th dimention. cmd:
dcmstack -v DTI_2p5DB_SOME_NOISE
Processing source directory DTI_2p5DB_SOME_NOISE
Found 1088 source files in the directory
Found 1 groups of DICOM images
Writing out stack to path DTI_2p5DB_SOME_NOISE/301-DTI_2.5DB_SOME_NOISE_SENSE.nii.gz
Traceback (most recent call last):
File "/home/toddr/Software/anaconda2/bin/dcmstack", line 9, in
load_entry_point('dcmstack', 'console_scripts', 'dcmstack')()
File "/home/toddr/Software/dcmstack/src/dcmstack/dcmstack_cli.py", line 324, in main
nii = stack.to_nifti(args.voxel_order, gen_meta)
File "/home/toddr/Software/dcmstack/src/dcmstack/dcmstack.py", line 857, in to_nifti
data = self.get_data()
File "/home/toddr/Software/dcmstack/src/dcmstack/dcmstack.py", line 763, in get_data
stack_shape = self.get_shape()
File "/home/toddr/Software/dcmstack/src/dcmstack/dcmstack.py", line 726, in get_shape
raise InvalidStackError("Unable to guess key for sorting the "
dcmstack.dcmstack.InvalidStackError: The DICOM stack is not valid: Unable to guess key for sorting the fourth dimension

@anbai106
Copy link

I have the same erreur when converting DTI dcm of philips, dcmstack works well for Siemens and GE(all for DTI, phase and magnitude images)

Do you have any solution???

Thanks in advance

@moloney
Copy link
Owner

moloney commented Jun 2, 2017

Since I already replied to #51 I am going to close this one. Lets continue the conversation over there.

@moloney moloney closed this as completed Jun 2, 2017
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

3 participants