rordenlab / dcm2niix

dcm2nii DICOM to NIfTI converter: compiled versions available from NITRC
https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage
Other
886 stars 228 forks source link

"Collage" vertical strips artifact #595

Closed NinetLab-Redux closed 2 years ago

NinetLab-Redux commented 2 years ago

Hello, I'm not entirely sure this is related to dcm2niix but I see an artifact on all my nii images after convertion with dcm2niix that I do not see when I examine them directly as dicom (see images attached). When I visualize dicom as 3D using OsiriX I get the warning attached below.

I'm looking for guidance about the nature of this artifact and whether is related to the conversion from dcm to nii. If it was related, how could I avoid it?

Thank you,

Fidel

VerticalCollage2

VerticalCollage_artifact

Osirix3D_warning

neurolabusc commented 2 years ago

@NinetLab-Redux what software are you using to view your images? Does dcm2niix generate two images, one with the _tilt postfix? Can you share a sample dataset with me directly? Both images attached show artifacts. In the top image they are aligned with the slice plane and in the lower image they are not. While gantry tilt is common for CT scans, it is extremely unusual in MR. The NIfTI q-form is unable to store gantry tilt. Your images also show brain extraction, so they do not look like raw images. My sense is you want to check the provenance of these images and source images as acquired from the scanner.

NinetLab-Redux commented 2 years ago

Thank you for your prompt reply. I use FSLeyes to visualize the nii files. I have also visualised the whole images without brain extraction and the same artifact is there. What email address could I use to share a link to an example dataset only with you? thanks, fvr

On 4 Apr 2022, at 08:29, Chris Rorden @.**@.>> wrote:

[CAUTION: Non-UBC Email]

@NinetLab-Reduxhttps://github.com/NinetLab-Redux what software are you using to view your images? Does dcm2niix generate two images, one with the _tilt postfix? Can you share a sample dataset with me directly? Both images attached show artifacts. In the top image they are aligned with the slice plane and in the lower image they are not. While gantry tilt is common for CT scans, it is extremely unusual in MR. The NIfTI q-form is unable to store gantry tilt. Your images also show brain extraction, so they do not look like raw images. My sense is you want to check the provenance of these images and source images as acquired from the scanner.

— Reply to this email directly, view it on GitHubhttps://github.com/rordenlab/dcm2niix/issues/595#issuecomment-1087703493, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXIIT255MMNOK3ERYCWZE4TVDMDFZANCNFSM5SOMHSOQ. You are receiving this because you were mentioned.Message ID: @.***>

neurolabusc commented 2 years ago

An ideal solution would be for you to send a link to a zip-archive of the files on Google drive to my institution email.

neurolabusc commented 2 years ago

This issue has nothing to do with dcm2niix. These scans were angulated relative to the scanners world space, and therefore one will see aliasing artifacts when attempting to show them on a grid You may want to try MRIcroGL which uses the voxels native space for 2D slices.

A. Image appears aliased when Display space is World coordinates and Interpolation is None (nearest neighbor).

nearest

B. Setting Interpolation to Linear minimizes the aliasing

linear

C. Setting the Display space to the image's frame of reference eliminates the artifacts.

imageSpace

As an aside, I not that dcm2niix accurately converts the series 401 phase map. However, very different phase values are used for the inferior half of the slices relative to the superior half. I would make sure that these images are correctly unwrapped. If there are problems, you may want to reach out to the Philips Clinical Scientist responsible for your instrument.