-
Notifications
You must be signed in to change notification settings - Fork 142
Convert mrDiffusion ROIs into Nifti files
Rosemary Le edited this page Aug 12, 2016
·
3 revisions
mrDiffusion ROIs are saved as mat files. Some software (e.g. Quench) need roi files to be written in nifti (.nii.gz) format.
Here is example code that will xform mrDiffusion ROIs into nifti files. To transform mrVista functional ROIs into mrDiffusion ROIs, click [here](Convert mrVista ROIs into mrDiffusion ROIs).
% Path of the diffusion ROI .mat file
roiPath = '/pathToDiffusionData/ROIs/LV1.mat';
% Path of the acpc'd anatomy file
t1Path = '/pathToAnatomyData/t1.nii.gz';
% Name of the new nifti roi file that will be created
roiName = 'LV1';
% Whether or not to save
saveFlag = true;
%% Run it
[nii, roiName] = dtiRoiNiftiFromMat(roiPath, t1Path, roiName, saveFlag);
- Vistasoft
- Getting Started
- mrVista Overview
- Anatomy
- Functional MRI
- mrVista
- Retinotopy tutorial
- Population RF methods also prf Model, prf_tutorial, prf tutorial
- Diffusion weighted MRI
- Visualization
- Tractography
- Tutorials
- Software overview