Giter VIP home page Giter VIP logo

Comments (4)

neurolabusc avatar neurolabusc commented on May 27, 2024

To validate your images, look for the Word document linked at
http://people.cas.sc.edu/rorden/mricron/dcm2nii.html
The issue is that the console/DICOM files report gradients with respect to the scanner coordinates, while NIfTI DTI tools expect the coordinates to be with respect to the image. I have permission from several different groups to share the DICOM DTI datasets from different vendors I used to validate my software:
https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging

I think all the real-world DTI scans I have seen are axial acquisitions:
https://practicalfmri.blogspot.com/2011/11/understanding-fmri-artifacts-good.html

By the way, the version notes for the May 12, 2016 version of Xiangrui Li's terrific Matlab-based dicm2nii suggests he has solved this for GE scanners based on images from Paul (Morgan)
% 160512 get_dti_para: fix bvec sign for GE cor/sag slices (thx paul for data).
I will see if Paul will let me distribute his validation set. If so, should be easy to update dcm2niix for these.

The relevant bits of my code are siemensPhilipsCorrectBvecs and geCorrectBvecs. Xiangrui and I have shared a lot of each others ideas, so these should be pretty similar. The tricks are to work out the patient position (e.g. currently I only allow "head first supine"), image phase encoding (Rows or Columns), Image Orientation Patient, as well as the gradients as reported in scanner coordinates.

from dcm2niix.

neurolabusc avatar neurolabusc commented on May 27, 2024

By the way, Paul Morgan provided sample datasets axial/sagittal and coronal images for GE
https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging
these are the same ones Xiangrui used to update his dicm2nii code. If anyone want to modify dcm2niix's geCorrectBvecs function to provide the same output as Xiangrui's get_dti_para for these images I would be happy merge the code into a new release.

If no one offers I will do it when I get some downtime (which may be a while). As I noted, I have not seen these images in the wild, and my software does generate warning messages, so it is not high on my priority list.

I am labeling this issue as an "enhancement", and will keep it open.

from dcm2niix.

yarikoptic avatar yarikoptic commented on May 27, 2024

Thank you for all the details -- very much appreciated! Note that many links to zipballs on https://www.nitrc.org/plugins/mwiki/index.php/dcm2nii:MainPage#Diffusion_Tensor_Imaging leading to e.g. http://www.mccauslandcenter.sc.edu/CRNL/sw/dcm2niix/ are 404 now :-/

from dcm2niix.

neurolabusc avatar neurolabusc commented on May 27, 2024

I think I fixed all the 404 errors on the NITRC web page. Thanks for the note.

from dcm2niix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.