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

Conversion to NIfTI removes/excludes half of image volume #386

Closed
m-lyon opened this issue Mar 18, 2020 · 1 comment
Closed

Conversion to NIfTI removes/excludes half of image volume #386

m-lyon opened this issue Mar 18, 2020 · 1 comment

Comments

@m-lyon
Copy link

m-lyon commented Mar 18, 2020

Converting certain datasets into NIfTI creates a NIfTI image with only half of the image data available (see below).

This bug is present on v1.0.20190902 but not v1.0.20190410, as the April version converts the image correctly. I've tested this on both OSX 10.15 and Ubuntu 18.04.

The command used to create the image below was
dcm2niix -z y -x n -o ./ -f t1_incorrect DCM_ANON/

Screen Shot 2020-03-18 at 4 26 25 pm

I have uploaded the anonymised DICOMs, and the incorrectly converted NIfTI image to GDrive.

@neurolabusc
Copy link
Collaborator

neurolabusc commented Mar 18, 2020

Replicates issues 373, 355, 306. I would recommend acquiring future data without interpolation (ZIP2) that increases resolution at the cost of blurring, processing speed, and disk space.

This issue will be resolved in next stable release, which will be generated when issue 377 is closed. In the mean time, I would suggest using the development build:

git clone --branch development https://github.com/rordenlab/dcm2niix.git
cd dcm2niix/console
make
./dcm2niix

Windows users should be able to get a compiled version from AppVeyor.

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