Welcome to the forum of resting-state fMRI

Out of memory--Error message for running ReHo and FC tools

Dear REST experters:

      I am new to run REST toolbox. When running ReHO and FC, get the following error messages. I don't know what wrong I did. BTW, do you have some stand along program or easy tools for extracting the time course data. Thanks in advance.


error messages:

ReSample Mask in REST

I public a mail concerning about how to resample a mask when defining a ROI.

The script is attached at the end of this topic and should save as "rest_reSample3D.m".

It is just used to do with mask, and no warranty I could give, although Bui verified the script and it worked.

The way of using this resample script is to put it in REST's directory and

Result Mask=rest_reSample3D(Original Mask, You Desired Dimension);

Examples could be reviewed in the following mail.

Just a Quick Suggestion at Midnight!

Hi My Friends,

I am saying hi to you guys all. Long time no visiting the forum, sorry, recent life is really filled with all things. Just go through all posted messages and push a possible step for REST:

Perhaps it is a pretty good idea for adding task-data-based functional connectivity into REST, i mean functional cnnectivity and ReHo, ALFF/fALFF all these stuff can also be made bu such a way. Look the requests from users from their posts.

All In Advances


REST software manual in PDF format

Hi, there,

   Do you have the application of REST software in PDF format? If any, pls let me know where I can download since I have downloaded the document of data process using REST in videotype and REST-software in SPM extension. Thanks in advance.


Resting-state fMRI data analysis toolkit V1.3 (静息态功能磁共振数据处理工具包 V1.3)

Resting-State fMRI Data Analysis Toolkit (REST) is a convenient toolkit to calculate Functional Connectivity (FC), Regional Homogeneity (ReHo), Amplitude of Low-Frequency Fluctuation (ALFF), Fractional ALFF (fALFF). You also can use REST to view your data, perform Monte Carlo simulation similar to AlphaSim in AFNI, calculate your images, regress out covariates, extract ROI time courses, reslice images and sort DICOM files. Download a MULTIMEDIA COURSE would be helpful for knowing more about how to use this software. Add REST's directory to MATLAB's path and enter "REST" in the command window of MATLAB to enjoy it.

The latest release is REST2007V1.3_100201.


Multimedia Course: Data Processing of Resting-State fMRI

New features of REST V1.3 release 100201:
1. Modules added:
  (1) REST GCA 1.0 Beta: perform Granger Causality Analysis. Contributed by ZANG Zhen-Xiang, please see more details by clicking here
  (2) False Discovery Rate (FDR) Correction: under REST Slice Viewer / Misc Menu
2. Functions revised:
  (1) Make the outputname as 00001.img other than 1.img in REST Image Calculator.
3. Bugs Fixed:
  (1) Fixed a bug in ROI-wise functional connectivity calculation.

New features of REST V1.3 release 091215 (This release is updated by YAN Chao-Gan and DONG Zhang-Ye):
1. Modules added:
  (1) REST DICOM Sorter: sort and anonymize (optional) DICOM files.
2. Functions revised:
  (1) Adding more explanation of the correspondence between  x coordinates and Left/Right hemisphere when setting sphere ROI.
3. Bugs Fixed:
  (1) Fixed a bug in REST AlphaSim when rmm=6.
  (2) Fixed a bug in REST Image Calculator when creating output directory.
  (3) Fixed a bug that can not close the Utilities when quit REST.
  (4) Fixed a bug of displaying fALFF GUI in some Matlab versions (Missed a F, as Mr. SONG Xiao-Wei reported).

New features of REST V1.3 release 091201 (This release is updated by YAN Chao-Gan, DONG Zhang-Ye and ZHU Wei-Xuan):
1. Modules added:
  (1) REST AlphaSim: perform Monte Carlo simulation similar to AlphaSim in AFNI.
  (2) REST Image Calculator: calculate images, especially for group images.
  (3) Regress Out Covariates: regress nuisance covariates out.
  (4) Extract ROI Time Course: extract ROI time courses for multiple subjects.
  (5) Reslice Image: resclice images to a new vox size and new target space.
  (6) NIfTI nii to NIfTI pairs: convert NIfTI .nii (3D or 4D) files to NIfTI pairs (.hdr/.img) since REST only can process 3D .hdr/.img files.
2. Functions revised:
  (1) REST Slice Viewer: added P<->T, P<->F, P<->Z, P<->R conversion when threshoulding images; reading degree of freedom information from SPM statistical images; only+ and only-; save all clusters; cluster report functions; more AlphaSim thresholds (rmm=4, 5 and 6) for BrainMask_05_61x73x61.img; and make the Cluster Connectivity Criterion could be chosen among 6 voxels (surface), 18 voxels (edge) or 26 voxels (corner) according to rmm value.
  (2) ReHo: It should be noted that the previous release of REST does not calculate the ReHo value of the voxels near the border of the brain mask, i.e., any voxel of the 27 voxels in the cluster is outside the brain mask. The new release (here the closed test version) will calculate the ReHo value of the voxels near the border of the brain mask, users should be cautious when discussing the results near the border.
  (3) Functional Connectivity: Now it can process multiple subjects with different seed time courses (.txt) in batch mode. Give the seed time course configuration file as:
  (4) REST: Checking and fixing the error of reading and writing NIfTI images when REST starts
  (5) rest_to4d: If data has too huge or too many volumes, then it will be loaded into memory in 'single' format.
  (6) Templates: Added 3x3x3 AAL template and Brodmann template.
3. Bugs Fixed:
  (1) Fixed the bugs of color, montage and resize in REST Slice Viewer.
  (2) Fixed the bug of writing ANALYZE images.
  (3) Fixed the bug of writing data caused by finite in MATLAB 2009.
  (4) LastSphereMask would be stored under temp dir other than {REST_DIR} in case the users do not have write permission to {REST_DIR}.

Two extra seminars (afternoon, April 6) after the RS-fMRI symposium

From 14:00, April 6th

The meeting room, 2nd floor, Brain Imaging Center, Beijing Normal University

Rest-State fMRI: From Default Mode Network to Cognitive Network
Jen-Chuen Hsieh (謝仁俊), MD, PhD
Professor and Director, Institite of Brain Science, Yang-Ming University, and Director of Brain Center, VA Hospital, Taipei

Granger Causality: Inferring direction of neural interaction
Xue Wang (王雪), PhD,
Clinical Research Associate

bandpass filter

Hi I am curious what type of bandpass filter you are using with your GUI.

Erratum: Scanning parameters of RS-fMRI for 3T SIEMENS

I am sorry that in the following parameters, I made a type error. The thickness/gap should be 3.5/0.7 mm. If you have used 3.5/0.6, it OK.
Please note that an FOV of 200*200 is sometimes small.

The following parameters are what we are using on a SIEMENS 3T trio scanner. 33 axial slices, thickness/gap = 3.5/0.6 mm, in-plane resolution = 64 × 64, TR = 2000 ms, TE = 30 ms, flip angle = 90, FOV = 200 × 200 mm, volumes = 240 (480 s). I strongly recommend that the RS-fMRI session is placed before the task sessions.

slice viewer

 用liice viewer查看结果,发现激活区被其他颜色环绕,怎么调参数都去不掉。如图所示,显示的是组内的单样本T检验,Overlay的threshold是4.5,range也设成只看正值了。是怎么回事呢?

about the resting state fmri workshop

刚看了workshop的介绍,非常好的内容,包括了fMRI, EEG, DTI; ICA, functional connectivity; psychiatric disorder etc. 而且邀请到了biswal和kiviniemi两位专家,一位是先驱,一位是fast ICA专家 (biswal的英语口音比较难懂,大家做好心理准备 :)....



Syndicate content