I’m working on a project where I would like to find out certain DTI metrics (FA, MD, AD) for a selected roi- in this case the cerebellum.
At the moment I have a .tck file for the cerebellum, which I created using the connectome2tck command, and have converted it into a .mif file using tckmap. I have then used this .mif file (cerebellum_tracks.mif) as the input into the dwi2tensor command:
dwi2tensor cerebellum_tracks.mif cerebellum_dt.mif
However I get the following error : "error importing diffusion gradient table for image ‘cerebellum_tracks.mif’ ". How could I go about solving this, such that I can create an output diffusion tensor image for this ROI and subsequently run the tensor2metric command
For the metric of your choice (e.g. fa.mif), obtain statistics within your ROI of choice (e.g. cerebellum_roi.mif):
mrstats fa.mif -mask cerebellum_roi.mif
Some important remarks:
The file you obtained from a tractogram using tckmap (cerebellum_tracks.mif) is a visitation count map (containing integers) and not a binary ROI (containing just true or false). In order to turn cerebellum_tracks.mif into a binary image (which you can then use in step 3. above) you can use:
Both mrstats and mrthreshold come with a lot of options, so if you want to tweak their behavior or specify outputs, please carefully read their respective manuals. You can obtain them by issuing the commands without any parameters or options, or by providing the -help option.