Azzera filtri
Azzera filtri

How to create a T1 Map

18 visualizzazioni (ultimi 30 giorni)
Lydia Smith
Lydia Smith il 8 Giu 2019
Commentato: Walter Roberson il 20 Set 2021
Hello,
I am reasonably new to matlab and was wondering if anyone had any ideas on how to create a T1 map for MRI images.
I know I need to create a for loop so that it applys the T1 equation to every pixel in the image, and have a matrix of 0's to put the data into however I am not sure how to put this into action.
I have created the for loop but the equation I have used previously to create an inversion recovery curve does not seem to be compatible. woudl anyone know the equation that I can apply per pixel to create the T1 map?
Thanks
  2 Commenti
Lydia Smith
Lydia Smith il 13 Giu 2019
Having read the previous answer I have come up with the code I put underneath (256x256 matrix, 11 inversion times, 9 slices)
this is the error I have been getting :
Error using fit>iFit (line 135)
X must be a matrix with one or two columns.
Error in fit (line 116)
[fitobj, goodness, output, convmsg] = iFit( xdatain, ydatain, fittypeobj, ...
Error in T1map (line 9)
T1f=fit(TI,signal,eq);
anyone have an idea where I am going wrong?
re_im=reshape(im,256,256,11,9);
TI=[0.01 0.03 0.4 0.5 1 1.25 1.5 1.75 3 5 9]
eq=fittype('a*(1-2*exp(-x/T1))','coefficients',{'a','T1'});
x=zeros(128,128,9);
for row=[1:256]
for col=[1:256]
for im =[1:15]
signal=re_im(row,col,:,im);
T1f=fit(TI,signal,eq);
x(row,col,im)=T1f;
end
end
end
Nasrin Akter
Nasrin Akter il 20 Ott 2020
Hello
Can you please share where you found the MRI image?

Accedi per commentare.

Risposta accettata

Prasanth Sikakollu
Prasanth Sikakollu il 8 Giu 2019
Apply the equations in the article attached hereby for each pixel to create the T1 Map using inversion recovery.
For MATLAB script to create a T1 map, have a look at the following link.
Hope these resources help.
  1 Commento
Walter Roberson
Walter Roberson il 20 Set 2021
The scripts referred to are at https://github.com/rordenlab/spmScripts
The page was part of a course; the current material for the course appears to be at https://crnl.readthedocs.io/psyc589888/index.html

Accedi per commentare.

Più risposte (0)

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by