Image Calculator

Submitted by daiqingshi on

Dear Mr. Yan:

I defined 56 ROIs and get 56 functional connectivity graphs across all subjects by REST. Now I’d like to compare every two graphs so as to find out the similarity of them, that is to get the r values between the two graph. I use the Image Calculator to finish this work, but I have to repeat the same manipulation 56*55/2 times.

 

Do you have any suggestions to help me solve this problem? Such as a function of REST I can call, combining a cycling? Look forward for your reply. Thank you!

                                                                 Ben

                                                              2014.12.29

YAN Chao-Gan

Tue, 12/30/2014 - 15:35

Hi Ben,

It's better for you to use a loop.

There is one function in REST you can call:

E.g., rest_TwoGroupCorr('T1.nii','T2.nii','spatial','OutputDir')

Best,

Chao-Gan