Skip to content

A novel method for sampling the active and noisy areas is proposed by using the purification of gray and non-gray matter areas of fMRI data. Also, a data-driven network is proposed in a parallel, multi-step and integrated manner for optimal noise reduction of t-fMRI data.

Notifications You must be signed in to change notification settings

SinaGhaffarzadeh/Functional-MRI-denoising-using-data-driven-multi-step-deep-neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Functional MRI denoising Using Data-Driven Multi-Step Deep Neural Network

MSDNN

Here is an implementation of the MSDNN model for de-noising task-based functional MRI data. For more details about the project please use this link to access the paper. These codes are implemented on Google Colab and for Neural Networks models we use Tensorflow to develop objective function and Keras to develop representational space. Any library you need for this project is provided inside the codes.

MSDNN flow chart

Data

In this implementation, we focused on Working-Memory fMRI data that you can download them from Human connectome project (HCP) that each data consist of Structural, Rest and Task functional MRI data. Although you can download these data from there, we upload some data in our Google Drive to download and use in denoising process. These data are including Simulated and preprocessed fMRI data (rest_fMRI_Gaussian.mat), Raw Structural MRI (T1w.nii), Real task-fMRI data (tfMRI_WM_LR.nii), and Regions (rest_fMRI_regions.mat).

How to train the model

Step One

Before starting the training process, first of all, extract all .rar files in their path. after that, please download existing data from Google Drive and put T1w.nii in Structural folder , tfMRI_WM_LR.nii in tfMRI folder, and rest_fMRI_Gaussian.mat & rest_fMRI_regions.mat in Data floder where the our data should be in there.

Step Two

In this framework we have two training parts (Denoising Simulated and Real tfMRI data).

.Simulate tFMRI

If you want to simulate tfMRI data you should download rest-fMRI data from HCP and add it up to fMRI foldor. After that, you'll able to run Codes/Preprocessing/HCP_Simulation_tfMRI.m to construct the simulated tfMRI. Although you are able to do this processing yourself, there /Data/ we did carry out this process too. because the rest fMRI data was very large and we couldn't upload it to our Google Drive. So, you can use them in the next step.

.Real data

If you want to use real tfMRI data in denoising process you should just run Codes/Preprocessing/HCP_Real_tfMRI.m to extract segments of Gray matter and non-Gray matter and some other neccessery information.

Training

After carrying out one of these processes we can apply our de-noising approach (MSDNN) to that. To start de-noising process you should use Codes/Train_And_Test/TrainTest.py. This code is able to compute preprocessing, training, testing, and evaluating our input data that you got them from .mat code.

About

A novel method for sampling the active and noisy areas is proposed by using the purification of gray and non-gray matter areas of fMRI data. Also, a data-driven network is proposed in a parallel, multi-step and integrated manner for optimal noise reduction of t-fMRI data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published