These scripts allow you to create parametric mapping of 3D MRI data and extract the parameters:T1,T2,perfusion constant, fast apparent diffusion coefficient, diffusion constant and apparent diffusion coefficient.
You will need to download these as a supplement:
nifti libraries: https://uk.mathworks.com/matlabcentral/fileexchange/8797-tools-for-nifti-and-analyze-image
file sort: https://uk.mathworks.com/matlabcentral/fileexchange/47434-natural-order-filename-sort
matt birkbeck (2020). Parametric Mapping Scripts for MRI data (https://www.mathworks.com/matlabcentral/fileexchange/64579-parametric-mapping-scripts-for-mri-data), MATLAB Central File Exchange. Retrieved .
thank you for sharing the codes. I work with Bruker and at the beginning, its a bit different,in the t2mapSPINECHO.m code i don't succeed and find how can i save the Mask(binary Image) created by the threshold function. B=dir('*.png'); this command is not enough. i think i have missed a point.
version 1.2: updated saturation recovery script and fit expression
Updated: Inversion Recovery Script to remove error message.