필터 지우기
필터 지우기

How to create a T1 Map

조회 수: 22 (최근 30일)
Lydia Smith
Lydia Smith 2019년 6월 8일
댓글: Walter Roberson 2021년 9월 20일
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
Lydia Smith
Lydia Smith 2019년 6월 13일
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 2020년 10월 20일
Hello
Can you please share where you found the MRI image?

댓글을 달려면 로그인하십시오.

채택된 답변

Prasanth Sikakollu
Prasanth Sikakollu 2019년 6월 8일
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
Walter Roberson
Walter Roberson 2021년 9월 20일
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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by