How to compute Reho in 35 and 50 voxels each cluster ?

Submitted by daiqingshi on
Dear Pro. Yan
 
I would like to ask a question about the Rest toolbox.
 
Our purpose is to calculate the Reho value in 35 voxels and 50 voxels using the Rest toolbox, rather than in 7, 19 or 27 voxels each cluster.
 
Can we change the number of the voxel by modify Reho.m file? If can, how to do that?
 
Thank you very much.

YAN Chao-Gan

Tue, 04/14/2015 - 15:28

Hi,

You need to do is modifying:

block = Ranks_AllVolume(:,i-1:i+1,j-1:j+1,k-1:k+1);

Change the block to fit 35 voxels or 50 voxels.

Best,

Chao-Gan

zhangf123

Fri, 04/17/2015 - 11:30

We got mistakes when calculated the ReHo value after changing the number of voxels to 50.

We changed the “block = Ranks_AllVolume” to fit 50 voxels in the Reho.m, but it didn’t work. The errors are listed.

 “ error(sprintf('There are no appropriate default mask file:\n\tVolume size=79*95*69 ,Voxel size=2*2*2;\n\tVolume size=53*63*46, Voxel size=3*3*3;\n\tVolume size=91*109*91, Voxel size=2*2*2;\n\tVolume size=61*73*61, Voxel size=3*3*3;\n Please set bMask = 0.'));”

How can we solve this problem?

Look forward your reply.

Thanks.

This is a mask problem, it's unrelated to the ReHo calculation. Please give a mask which has the same resolution of your functional images.
Best,

Chao-Gan

On Fri, Apr 17, 2015 at 7:30 AM, The R-fMRI Network <rfmri.org@gmail.com> wrote:
[To post a comment, please reply to rfmri.org@gmail.com ABOVE this line]

Commented by Fen Zhang (zhangf123)

We got mistakes when calculated the ReHo value after changing the number of voxels to 50.

We changed the “block = Ranks_AllVolume” to fit 50 voxels in the Reho.m, but it didn’t work. The errors are listed.

 “ error(sprintf('There are no appropriate default mask file:\n\tVolume size=79*95*69 ,Voxel size=2*2*2;\n\tVolume size=53*63*46, Voxel size=3*3*3;\n\tVolume size=91*109*91, Voxel size=2*2*2;\n\tVolume size=61*73*61, Voxel size=3*3*3;\n Please set bMask = 0.'));”

How can we solve this problem?

Look forward your reply.

Thanks.


Online version of this post: http://rfmri.org/comment/3667#comment-3667


Many a little makes a mickle -- your kind contributions shall make our efforts not perish from the earth. Please help The R-fMRI Network at http://rfmri.org/#overlay=HelpUs
To manage subscriptions, please visit: http://rnet.co/mailman/listinfo/rfmri.org_rnet.co
Mail comment ID: http://rfmri.org/mailcomment/redirect/%3C31.2006.3667.1429270201.45a89ca13892ca5f45f4c295028600e8%40www.rfmri.org%3E