Generic batch description (last update April 12th 2010)

Size: px
Start display at page:

Download "Generic batch description (last update April 12th 2010)"

Transcription

1 Generic batch description (last update April 12th 2010) Index 1. Introduction and general goal 2. Environment 3. Structure 4. Preparation of the data before running the batch 5. Steps to run the batches 6. Parameters tuning 6.1. To do list 6.2. Parameters for the preparation of the data 6.3. Parameters for the preprocessing 6.4. Parameters for the preprocessing quality check 6.5. Parameters for the first level analysis 6.6. Parameters for the contrasts summary sheets 6.7. Parameters for the stanplot step 7. How to run the batch in 5 minutes 8. Coming improvements 9. Where to find it 1. Introduction and general goal The goal of this document is to describe how to use the general batch system, used in INSERM U562/U992, which runs a standardized processing for functional (fmri) and anatomical (T1 MRI) images. A detailed description of the methods behind the code is not furnished here. For further information about the statistical methods, go and see SPM documentation. Only parameter tuning and how to run the program are described in this document. 2. Environment The batch system described here runs on Matlab using SPM5. New versions for SPM8 are envisaged. The programs have been tested on Linux Mandriva 2008 but they should be easily adaptable for Windows or Mac. 3. Structure Any protocol "database" which is going to be processed with this batch system should be organized following the directories structure described here. This is the standardized structure we use. All batches are in directory /mfiles/. This directory contains: - 5 directories: lcogn_preproc: contains programs for the preprocessing lcogn_firstlevel: contains all programs for the first level analysis

2 lcogn_secondlevel: contains the batches for second level analysis ArtRepair: contains batches for the "artifact repair" step tools: contains other useful batches used in the main program - 4 files: startup.m batch to initialize SPM5 and directories paths parameters_main.m file containing all the parameters used by "main.m" main.m the main program (the one to be executed) README.txt file containing practical information as well as a summary of file organization In the "README.txt" file is described how the data must be organized. Pay special attention to the structure of the data: Laboratoire de NeuroImagerie Cognitive (LCOGN): =============================================== INSERM U562 / NeuroSpin CEA/DSV/I2BM Batch system for SPM5 ( INSTALLATION: Copy all batch files in a 'mfiles' directory in your study hierarchy: myprotocol Tools mfiles main.m parameters_main.m startup.m README.txt ArtRepair lcogn_preproc lcogn_firstlevel lcogn_secondlevel tools Subjects subject1 t1mri acquisition1 analysis spm_segmentation acquisition2... fmri acquisition1 session1 session2... analysis subject_parameters stats_mymodel1 stats_mymodel2... acquisition2... subject QualityCheck_files (automatically created) ArtRepairFiles (automatically created) ContrastsSummary (automatically created)

3 GroupAnalysis (automatically created) stats_mymodel (automatically created) RFX_Activation (automatically created) RFX_Asymmetry (automatically created) From there, run 'main' Matlab command. >> main Note: The command 'startup' setups paths for the system of batch and checks SPM installation. This batch system allows to perform 3 kinds of jobs: preprocessing, first level analyses, and second level analyses. IMPORTANT FOR FIRST LEVEL ANALYSIS: You need to adapt the two functions 'specif_model.m' and 'specif_contrasts.m' to specify your model and contrasts. 4. Preparation of the data before running the batch In order to get ready to run the batch system, it is necessary to get the data you want to process. You can get them by using the method described in our wiki: or with the "old" manual method described here (only in French): You may get your data directly in DICOM format, and you have to organize them as described in the previous section. Thus, just before running the batch system, you must have at least some data in two directories: /subject1/t1mri/acquisition1/ (the anatomy) /subject1/fmri/acquisition1/my_session1/ (one functional session) But check that you have filled in all the directories if you have several sessions in your study. 5. Steps to run the batches 1) Launch Matlab 2) Run SPM5. Once it is running you can exit SPM. 3) Run startup.m batch (in /mfiles/ directory). Note: This two steps are also executed if todo_initializations=1 in parameters_main.m file. 4) Adapt file "parameters_main.m" to your convenience (see next section for details). 5) Finally run "main.m". 6. Parameters tuning In this section the structure of file "parameters_main.m" is explained as well as how to adapt the different parameter in this file.

4 6.1. To do list Description: In this part, all the possible steps to be computed have to be selected. Here, each variable will switch on or will switch off the different steps. If the value of the variable is 0, then the corresponding step will not be executed. If the value is equal to 1, then the processing will take place. Code/parameter description: % INITIALIZATIONS todo_initializations = 1; Put this flag to 1 in order to initialize the environment. SPM5 and the "startup.m" script will be run from the beginning. If you have already done the initializations once, you can put this value to 0. % PREPARATION OF THE DATA todo_clean_old_results = 0; % 0 = do not remove anything, 1 = remove old results When this flag value is 1, it indicates that, if some old results are found, they will be removed before running the main part of the batch. todo_convert_and_remove_dicoms = 1; % 0 = keep them in a "dicom" directory, 1 = remove them If this flag is switched on (value 1), the program will search for DICOM files and they will be converted do NifTI format. The initial DICOM files will be removed after conversion. If this flag value is 0, the DICOM files will be conserved in a directory called "dicom". todo_rename = 1; With this flat switched on, the initial NifTI files will be renamed by using the values of variables "origin_name" and "study_name" detailed at the end of subsection "Parameters for the preparation of the data". % PREPROCESSING todo_preprocessing = 1; This flag indicates whether the preprocessing has to be done. For details about the parameters to fill for this processing, go and see subsection "Parameters for the preprocessing". You can check the "main.m" file in order to check the preprocessing that will be computed. % QUALITY CHECK OF THE PREPROCESSING todo_artrepair_diagnosis = 1; This flag switches on the "artifact repair" quality check processing. Be careful: if there is no realignment preprocessing this step has no sense! For details about the parameters to fill for this processing, go and see subsection "Parameters for the preprocessing quality check".

5 % FIRST LEVEL ANALYSIS todo_firstlevelprocessing = 1; This flag indicates whether the first level processing has to be done. For details about the parameters to fill for this processing, go and see subsection "Parameters for the first level analysis". You can check the "main.m" file in order to check the first level processing that will be computed. % POST-PROCESSING todo_smooth_con = 1; todo_smooth_gmwm = 1; todo_symmetry = 1; todo_segm_postproc = 1; todo_remove_nan = 1; These flags switch on the following post-processing: todo_smooth_con smoothing of the contrasts todo_smooth_gmwm smoothing of the gray and white matters todo_symmetry computation of the symmetry images (symmetrical images and difference between the original and the symmetrical image) todo_segm_postproc reorganization of the gray and white matter files todo_remove_nan removes values "nan" (not-a-number) in the voxels of the images % QUALITY CHECK OF THE FIRST LEVEL ANALYSIS todo_contrastssummary = 1; This flag switches on the processing that generates the summary sheets which are useful as quality check of the first level processing. For details about the parameters to fill for this processing, go and see subsection "Parameters for the contrasts summary sheets". todo_stanplot = 0; This flag indicates if the "stanplot" quality check has to be computed. For details about the parameters to fill for this processing, go and see subsection "Parameters for the stanplot step". % RFX ANALYSIS todo_rfxanalysis_on_epi= 0; todo_rfxanalysis_on_asymmetry= 0; These flags indicate if the indicated "random effect" analysis has to be computed Parameters for the preparation of the data Description: In this subsection, the parameters for the preparation of the data are described. These steps consist in defining the directories where the data are placed and the names of the input and output files. Code/parameter description:

6 todo_rename_with_subject_name = 1; This is a flag that indicates whether the name of the subject has to be included or not in the file names. In order to avoid confusion between files, we recommend letting this flat to value 1. protocol = '/neurospin/unicog/protocols/irmf/maindatabaselocalizers_pinelmoreno_2008'; [5_min_run] The parameter "protocol_path" indicates the main directory where all the data and tools used in the study are stored. list_subjects = {'subject1','pn071234'}; [5_min_run] "list_subjects" contains the names of the subjects (which are the same as the names of their directories) to be processed. anat_path = 't1mri/acquisition1'; "anat_path" indicates the local directory where the anatomical data are stored for each subject. It contains typically the "t1mri" directory plus the directory of the acquisition (usually "acquisition1" if only one anatomy has been acquired). All this directory structure is necessary for compatibility with BrainVISA software. anatwc = '^anat.*\.img$'; "anatwc" is the filter to find the anatomical data. In this example the file.img starting with "anat" will be selected. modality = 'fmri'; "modality" indicates the directory containing the functional data. Typically it is "fmri". list_acquisitions = {'acquisition1'}; "list_acquisitions" contains the list of directories corresponding to different functional acquisitions. Typically there is only one acquisition ("acquisition1"). All this directory structure is required for compatibility with BrainVISA software. list_sessions = {'audio1','audio2','audio3','visu1','visu2'}; [5_min_run] "list_sessions" contains the list of functional sessions (also called "blocks" or "runs") of the study. Another example of a list of sessions could be this (for "localizer" protocol there is only one session): list_sessions = {'localizer'}; origin_name = '3T_neurospin'; study_name = 'illiterates_3t_neurospin'; [5_min_run] "origin_name" and "study_name" are variables containing the lists of characters that will be used for renaming the files. "origin_name" must contain a string indicating the origin of the data and "study_name" the something related to the title of the study.

7 6.3. Parameters for the preprocessing Description: In this subsection the parameters to be tuned in order to run the preprocessing are described. Code/parameter description: TR = 2.4; [5_min_run] TR is the repetition time. You must write here the repetition time used for your acquisitions. todo_distorsion_correction = 0; todo_distortion_correction is a flag that, when switched on (=1), indicates that the preprocessing of distortion correction has to be computed, by using the B0 map acquisitions. In this case, the following directory names have to be declared (otherwise, they are not required): b0map_directory = 'b0map'; b0map_mag_dir = 'mag'; b0map_phase_dir = 'phase'; b0map_directory will contain two other directories with the B0 map images: mag containing the magnitude images and phase the phase images. In the case that distortion correction is going to be computed, some other parameters are necessary: TE1_ms = 10; TE2_ms = 12.46; Enter short and long TE values from FieldMap sequence: typically 10 and ms for the standard 3x3x3 mm 3 protocol (their absolute values do not matter; only their difference does; yet you have to enter two TE values). EPI_readout_time_ms = 30.72; Enter the total EPI 1 readout time as the product of the number of lines read per slice (typically 64 for EPI 3x3x3) times the inter-echo time between the reading of lines (typically 0.48 ms appears in the sequence tab, as écart écho ), i.e. EPI readout time = 64x0.48 = ms. Thank you to Alexis Amadon for having developed the distortion correction code. He has also furnished a document with more details (EPI_distortion_corrections.doc/.pdf). The following two parameters are related to the acquired slices: slice_order = 'sequential_ascending'; [5_min_run] slice_order indicates the order of the acquisition of the slices. 1 EPI = echo-planar imaging

8 ref_slice = 1; [5_min_run] ref_slice indicates the reference slice. When the slice order is interleaved, it is better to use the middle slice as reference (typically ref_slice = 18). Otherwise the first slice can be used. voxelsize = [3 3 3]; [5_min_run] voxelsize indicates the size of the voxel of the resulting imaging (the output). The voxel size of the input images (the original ones) is detected automatically. The following smoothing parameters are directly related to this voxel size: smoothing = 5; con_smoothing = 8; [5_min_run] smoothing indicates the size of the smoothing performed on the EPI images (which will create images swastudyname_). con_smoothing indicates the size of the smoothing performed on the contrasts images (which will create images scon_ from images con_). 5 and 8 mm are the typical and general values because: 5 mm intra-subject allows the data to obey the theory of Gaussian fields, without losing too much resolution; 8 mm inter-subject allows to compensate inter-subject variability, i.e. it allows activations to overlap from one subject to another. gmwm_smoothing = 3; gmwm_smoothing indicates the size of the smoothing of the grey and white matters. todo_normalization = 1; [5_min_run] todo_normalization is a flag that indicates whether the images have to be normalized or not. Thus, it is possible to avoid doing the normalization in the preprocessing by letting todo_normalization = 0. todo_normalizationont1template = 1; [5_min_run] If todo_normalizationont1template is switched on (=1) then the normalization is performed related to the SPM T1 template. Otherwise, an EPI template may be used and it has to be defined by EPItemplate, as for example: EPItemplate = '/neurospin/unicog/protocols/irmf/maindatabaselocalizers_pinelmoreno_2008/t ools/template/sym_mean10twinsepi.img'; 6.4. Parameters for the preprocessing quality check Description:

9 In this subsection are described the parameters to be tuned for the quality check of the preprocessing, the artifact repair, which tries to repair the excess of movement of the subject. Code/parameter description: ArtRepair_mvt_thr = 0.5; ArtRepair_mvt_thr indicates the threshold for detecting abnormal variation of BOLD intensity (artifact, fast movement, bad reconstruction...). The following lines define, if the artifact repair step is switched on, the list of images ( list_ima ) to be analyzed. This variable "list_ima" contains the beginning of native EPIs names of each block. if todo_artrepair_diagnosis for i=1:length(list_sessions) list_ima{i} = study_name; end else % if we name the images "by hand" list_ima = {'cat','par','lan','cat','par','lan'}; end list_ima (beginning of native EPIs names of each block) can also be defined manually if the images have not been renamed automatically by the batch system. Be careful: the number of elements in "list_ima" must be the same as in "list_sessions". Thank you to Philippe Pinel who has developed this quality check step! 6.5. Parameters for the first level analysis Description: Here only the name of the model used in the first level analysis has to be defined. It will be the name of the directory containing the first level results too. Code/parameter description: list_modelname = {'mymodel'}; list_modelname defines the directory where the results of the first level analysis will be stored. In section Structure you can see where in the directory organization this directory will be (stats_mymodeln) Parameters for the contrasts summary sheets Description: If this stage is performed, one summary sheet will be created for each subject (in.pdf format in local directory /fmri/acquisitionn/ in each subject folder and in.tif format in the global directory /QualityCheck_files/ContrastsSummary/ in the database folder). These sheets contain some images and graphics which allow to verify the correct processing of the data. Here there is a description of a summary sheet: - Title: subject name and directory of the data

10 - Superior half of the sheet: 6 selected contrasts on transparent brains in order to check that the first level processing has been correctly performed and that there has not been any stimulation problem (i.e. audio problem, stimuli not visible ). For each contrast it is displayed: The corresponding title (specified in variable "contrasts_names" see parameters description below ). The transparent brain (MIP = maximum intensity projection) of the contrast. On the right bottom area, the number of "active" voxels in the ROI corresponding to this contrast is indicated, i.e. the number of voxels containing a value higher than the T-value "threshold" (see variables description below). There is also the mean value of the number of "active" voxels in the ROI of this contrast and the standard deviation for the group of subjects (all the subjects in directory Subjects of the protocol or subjects in "list_subjects"). Finally, you can find either "Conclusion OK", if the quality criterion is verified, or "Conclusion NOK" (in red bold), if it is not. The quality criterion is defined as follows: the contrast is not good if the number of "active" voxels is inferior to 10% of the mean for the group. 1 axial slice of one symmetrized contrast in order to verity that the symmetry processing has been correctly computed. 1 EPI sagittal slice for checking the normalization of the functional images. 1 anatomical (sagittal) slice for checking the normalization of the anatomy. - Inferior half of the sheet: the movement curves (translation and rotation). Left hand side: movement curves for the three dimensions of the translation (x, y, z) and for the three dimensions of the rotation (pitch, roll, yaw). The values in the ordinate axis are fixed between -4 and +4 millimeters for translation and between -4 and +4 degrees for rotation. Right hand side: amplitude values (max min) for the different dimensions of the translation and the rotation. - Inferior part: summary of the sheet. The score indicates the number of contrasts which have "Conclusion OK" with respect to the total number of shown contrasts (6). Code/parameter description: - "To do list": todo_allsubjects = 1; "todo_allsubjects" is a flag that should be put to 1 if you want to compute the summary sheets for ALL the subjects on your "database". If, on the contrary, you prefer to compute the sheets only for a set of subjects, this flag should be equal to 0. In this case, the sheet will be computed for the list of subjects specified by list_subjects. todo_computemeanvalues = 1; "todo_computemeanvalues" indicates if the mean and the standard deviation described above (superior half of the sheet, right bottom area of each contrast

11 image) must be computed. Switching on this flag only has a meaning if the ROIs are defined (roi_path and list_roi described below). todo_printsummaryfiles = 1; "todo_printsummaryfiles" should be equal to 1 in order to print the summary sheets into.tif and.ps/.pdf files. With this flat equal to 0, the batch will only show on the screen the results, which is not very useful per se todo_location = 1; "todo_location" this flag HAS TO be switched on (=1) the FIRST TIME the batch is run on a set of data: matrix XYZ (which contains the correspondences of the voxel coordinates in mm) will be computed. Thus, this should be computed when the sizes of the images in the database are changed. If the batch has been run once with this flag equal to 1, the matrix has already been computed, and we may switch off (=0) this flag (in order to gain in computation time). - General parameters: these parameters give some detailed information about the contrasts to be displayed, the paths to the data, the ROIs (regions of interest), etc. summarysheets_dir = fullfile(protocol_path,'qualitycheck_files','contrastssummary'); "summarysheets_dir" is the output directory where the summary sheets in format.tif will be copied into (remember that the sheets in format.ps/.pdf are copied in a directory local to each subject's). It is not necessary to change it if the directory is convenient for you. Otherwise you can change it for example like this: summarysheets_dir = '/neurospin/my_path/contrastssummary'; list_contrastnumbers = [ ]; "list_contrastnumbers" contains the list of contrast numbers to be displayed on the sheet. Another example: list_contrastnumbers = [21: ]; % localizer list_contrasts = {'spmt_0013.img',... % V Strings - others 'spmt_0010.img',... % V Faces - others 'spmt_0002.img',... % V all active 'spmt_0040.img',... % A all active 'spmt_0041.img',... % A words - pseudowords 'spmt_0038.img'}; % V Checker rest "list_contrasts" contains the list of file names corresponding to the contrasts indicated in list_contrastnumbers. Another example: % localizer: list_contrasts = {'spmt_0021.img',... % left click - right click 'spmt_0022.img',... % right click - left click 'spmt_0023.img',... % video - audio 'spmt_0024.img',... % audio - video 'spmt_0029.img',... % computation - sentences 'spmt_0031.img'}; % video sentences - checkerboard contrasts_names = {'V Strings - others',... 'V Faces - others',... 'V all active',... 'A all active',... 'A words - pseudowords',... 'V Checker rest'};

12 "contrasts_names" is the list of character strings that will be used as titles for each contrast (typically the definition of the contrast). Another example: % localizer: contrasts_names = {'left click - right click',... 'right click - left click',... 'video - audio',... 'audio - video',... 'computation - sentences',... 'video - checkerboard'}; roi_path = '/neurospin/unicog/protocols/irmf/maindatabaselocalizers_pinelmoreno_2008/t ools/contrastssummary/roi'; "roi_path" is the path to the images of the regions of interest (ROIs) for the different contrasts. list_roi = {'leftclic_motorcortex.nii',... %contrast 21: left click-right click 'rightclic_motorcortex.nii',... %contrast 22: right click-left click 'video_occipitotemporal.nii',...%contrast 23: video-audio 'audio_temporal.img',... %contrast 24: audio-video 'calculation_parietal.nii',... %contrast 29: computation-sentences 'reading_lefthemisphere.nii'}; %contrast 31: video sentences-checkerboard "list_roi" contains the list of the file names corresponding to the ROIs for the different contrasts. threshold = 2.36; "threshold" is the T-value threshold used for displaying the contrasts. size_extent = 10; "size_extent" is the minimal size of the clusters to be displayed. Another typical value: size_extent = 20; EPIname = 'con_0002.img'; "EPIname" defines the contrast image to be displayed in the summary file. sym_name = 'symmetry_images/diff_con_0002.img'; % Symmetry image "sym_name" selects the symmetry image to be printed in the summary sheet. ANATname = '^wm.*\.img$'; % anatomical image to be displayed in the summary file "ANATname" defines a filter for selecting the anatomical image to be displayed in the summary sheet (typically the normalized anatomy should be taken). - Some examples:

13 Example 1 of summary sheet (subject 086) a correctly processed subject: Here the final score is 6/6 because all the contrasts verify the quality criterion.

14 Example 2 of summary sheet (subject 043) a subject with some movement: Here the final score is 4/6 because contrasts "left click right click" and "video checkerboard" do not verify the quality criterion. In the "left click right click" contrasts, some voxels are displayed but they are not in the ROI corresponding to this contrast. This causes the "Conclusion NOK". By taking a look to the movement curves, we can conclude that the problems in the contrasts may come from the important movement of the subject during the scanning.

15 6.7. Parameters for the stanplot step Description: stanplot (for "standardized plot", of course!) is a tool for computing and displaying the BOLD curves outcoming from any SPM5 model. There are to versions of "stanplot": one for a unique model, the other allows to compute the average of one or several groups of subjects. The latter is quite slow because it manipulates a quite big amount of data! The main interest of this tool is that it is generic for any SPM5 model with onsets, a command line is sufficient to plot the curves. It can also be integrated into a batch system as it is the case here. It is recommended to manipulate this tool with caution (see "help" below). Two essential points: - It is strongly recommended to systematically include in ALL your SPM models an "F-test of real interest" with all your variables of interest (also derivatives), excluding the constants and other movement variables. This program uses this F-test in order to exclude the parasite effects and the result (mainly at the group level) is much better. - The program generates two outputs: a simple average fixed on the events and an estimation by FIR model. There are some advantages and drawbacks for both approaches. "Event-related averaging" works perfectly well for slow-event paradigms in this case you would rather NOT use FIR! However, for fastevent paradigms, it is the opposite: FIR method extracts the BOLD curves much clearly than the "event-related averaging". NB for block paradigms none of these two options works very well except if you have only declared the onset of the block and not the onsets of every event inside each block In that case, "event-related averaging" is the solution. "stanplot" has an integrated help: you can take a look at the commentaries in the code or type "help" before each function ("stanplot_singlemodel_b.m", "stanplot_group_b_params.m"). However, a short description of the different parameters can be found below. This program uses old tools coming from "spm_graph" and are inspired by a presentation done by Sepideh Sadaghiani in a "methods meeting" at NeuroSpin (thanks to her!). Thank you to Stanislas Dehaene who has developed this tool! Code/parameter description: % SINGLE Finterest = 1; "Finterest" (usually = 1) indicates which contrast in the SPM model refers to the F test of real interest. nruns = 4; groupvar = repmat([ 0 2:5 zeros(1,12)],1,nruns); %groupvar = [ ]

16 "groupvar" is a "remapping" vector which allows you to regroup conditions at will. It must be as long as the numbers of runs the numbers of conditions in each run. For each such condition declared in the model, "groupvar" gives the output condition. Use zero for conditions that you don't want to see in the plot. timeaxis = [-4:1:12]; "timeaxis" specifies the time range and resolution of the resulting plot, in seconds. E.g. timeaxis = [-4:1:12] will give you a plot from -4 to 12 seconds, with a spacing of 1 second between the successive time points. baselinepoints = 3; "baselinepoints" specifies the number of initial points of the curve that serve as a baseline. The mean of these points will be subtracted from each curve. voxelcoord = [ ]; "voxelcoord" contains the voxel xyz coordinates in mm (it is an optional argument). E.g. [ ] for the VWFA. If they are not passed, then the program attempts to find them from the current cursor location in the current SPM figure 1. legend_30 = ['Cond 2';'Cond 3';'Cond 4';'Cond 5']; legend_32 = ['Cond 2';'Cond 3';'Cond 4';'Cond 5']; Variables called "legend_nm" indicate the legends for the figures. ATTENTION: the number of legend titles must be the same as the number of conditions different from zero in "groupvar" (for one run). Here you have some "legend" tips for removing conditions: if we have : groupvar =[ ] then, we must adapt the legend this way: legend('ff',' ','FR','JR'); % GROUP (this part replaces old function "getsubjectsdata.m") ngroups=2; "ngroups" gives the number of groups of subjects. groupn{1} = 'all'; groupn{2} = 'allb'; "groupn{n}" contain the name of the groups of subjects. Another example: groupn{1} = 'BonsLecteurs'; groupn{2} = 'Dyslexiques'; nsub(1) = 2; nsub(2) = 2; "nsub{n}" give the number of subjects in each group. totsub = sum(nsub); "totsub" indicates the total number of subjects. Another example: nsub(1) = 22; nsub(2) = 19; totsub = sum(nsub); %% total number of subjects 7. How to run the batch in 5 minutes If you just want to run the batch very quickly in order to compute the preprocessing, you can do it by adapting a few parameters and take more time to think about the rest. Thus, if you only intend to run the preprocessing of your data, follow the instructions below.

17 1) In the "to do" list set to 1 only these flags: todo_initializations, todo_convert_and_remove_dicoms, todo_rename, todo_preprocessing. Thus, the list of flags must remain: % INITIALIZATIONS todo_initializations = 1; % PREPARATION OF THE DATA todo_clean_old_results = 0; todo_convert_and_remove_dicoms = 1; todo_rename = 1; % PREPROCESSING todo_preprocessing = 1; % QUALITY CHECK OF THE PREPROCESSING todo_artrepair_diagnosis = 0; % FIRST LEVEL ANALYSIS todo_firstlevelprocessing = 0; % POST-PROCESSING todo_smooth_con = 0; todo_smooth_gmwm = 0; todo_symmetry = 0; todo_segm_postproc = 0; todo_remove_nan = 0; % QUALITY CHECK OF THE FIRST LEVEL ANALYSIS todo_contrastssummary = 0; todo_stanplot = 0; % RFX ANALYSIS todo_rfxanalysis_on_epi= 0; todo_rfxanalysis_on_asymmetry= 0; 2) Set these parameters for the step "preparation of the data" to your will: protocol = '/neurospin/unicog/protocols/irmf/maindatabaselocalizers_pinelmoreno_2008'; list_subjects = {'subject1','pn071234'}; list_sessions = {'audio1','audio2','audio3','visu1','visu2'}; origin_name = '3T_neurospin'; study_name = 'illiterates_3t_neurospin'; Some other parameters may remain untouched most of the times: todo_rename_with_subject_name = 1; anat_path = 't1mri/acquisition1'; anatwc = '^anat.*\.img$'; modality = 'fmri'; list_acquisitions = {'acquisition1'}; 3) Finally, adapt the parameters for the preprocessing:

18 TR = 2.4; slice_order = 'sequential_ascending'; ref_slice = 1; voxelsize = [3 3 3]; smoothing = 5; todo_normalization = 1; todo_normalizationont1template = 1; The rest of the parameters are not necessary for this step. For example: con_smoothing = 8; gmwm_smoothing = 3; will only be necessary for the post-processing stage, and if you do not intend to compute the distortion correction, you only have to put this flag to 0: todo_distortion_correction = 0; The remaining parameters for the distortion correction, the preprocessing quality check, the first level analysis, the contrasts summary sheets and the "stanplot" will not be taken into account. In order to ease the "5 minutes parameter tuning", the essential parameters are marked with "[5_min_run]" in this document. 8. Coming improvements This is a list of some improvements that will be included in the next version of the batch system described here: - Check if images swa* already exist in order not to re-process them. - Separate flag todo_convert_and_remove_dicoms in two different flags because it is ambiguous (one could want to convert without removing DICOM files). - Add the extension of DICOM files (.MRDC,.dcm...) as a parameter. - Add to the package an example of files of a generic first level model (.xls file). For example, the one of illiterates study. - Set automatically flag todo_location = 1; the first time (if "XYZ.mat" does not exist), otherwise set todo_location = 0; automatically too. - Make function "rename_files.m" more robust and more generic: now, if a "study_name" different from the three envisaged names ("15T_shfj", "3T_shfj", "3T_neurospin") is chosen, nothing happens in the renaming step! In addition to this, there are some other problems with this function: if the post-processing is not computed (for white and gray matters) and the main batch is re-run (with only flag todo_rename = 1;), then images files are renamed incorrectly:

19 anat contains normalized white matter manat contains normalized anatomy wmanat contains non-normalized white matter Tip: normally created images what they become when "rename_files.m" is executed anat anat GM_anat anat manat manat? wgm_anat anat? wmanat wmanat? WM_anat anat? wwm_anat anat? First conclusion (to verify): problem in "if" clauses (c1, c2, w, wm...). Images *WM* and *GM* are not correctly renamed! 9. Where to find it The batch system described in this document can be downloaded from the Unicog wiki: In the intranet of NeuroSpin it is also available in: /neurospin/unicog/resources/matlab_scripts/fmri_generic_batch/ Copy the.tar file and untar it (for example, in Linux use command tar xvf fmri_generic_batch_ tar).

Instructions for FA normalization (April 15th 2010)

Instructions for FA normalization (April 15th 2010) Instructions for FA normalization (April 15th 2010) Index 1. Introduction and general goal 2. Environment 3. Structure 4. Preparation of the data before running the batch 5. Steps to run the batches 6.

More information

Instructions for template creation and T1 normalization using SPM8 "new segmentation" and "Dartel" (September 27th 2010)

Instructions for template creation and T1 normalization using SPM8 new segmentation and Dartel (September 27th 2010) Instructions for template creation and T1 normalization using SPM8 "new segmentation" and "Dartel" (September 27th 2010) Index 1. Introduction and general goal 2. Environment 3. Structure 4. Preparation

More information

Analysis of fmri data within Brainvisa Example with the Saccades database

Analysis of fmri data within Brainvisa Example with the Saccades database Analysis of fmri data within Brainvisa Example with the Saccades database 18/11/2009 Note : All the sentences in italic correspond to informations relative to the specific dataset under study TP participants

More information

Basic fmri Design and Analysis. Preprocessing

Basic fmri Design and Analysis. Preprocessing Basic fmri Design and Analysis Preprocessing fmri Preprocessing Slice timing correction Geometric distortion correction Head motion correction Temporal filtering Intensity normalization Spatial filtering

More information

SPM8 for Basic and Clinical Investigators. Preprocessing. fmri Preprocessing

SPM8 for Basic and Clinical Investigators. Preprocessing. fmri Preprocessing SPM8 for Basic and Clinical Investigators Preprocessing fmri Preprocessing Slice timing correction Geometric distortion correction Head motion correction Temporal filtering Intensity normalization Spatial

More information

Functional MRI in Clinical Research and Practice Preprocessing

Functional MRI in Clinical Research and Practice Preprocessing Functional MRI in Clinical Research and Practice Preprocessing fmri Preprocessing Slice timing correction Geometric distortion correction Head motion correction Temporal filtering Intensity normalization

More information

fmri pre-processing Juergen Dukart

fmri pre-processing Juergen Dukart fmri pre-processing Juergen Dukart Outline Why do we need pre-processing? fmri pre-processing Slice time correction Realignment Unwarping Coregistration Spatial normalisation Smoothing Overview fmri time-series

More information

EPI Data Are Acquired Serially. EPI Data Are Acquired Serially 10/23/2011. Functional Connectivity Preprocessing. fmri Preprocessing

EPI Data Are Acquired Serially. EPI Data Are Acquired Serially 10/23/2011. Functional Connectivity Preprocessing. fmri Preprocessing Functional Connectivity Preprocessing Geometric distortion Head motion Geometric distortion Head motion EPI Data Are Acquired Serially EPI Data Are Acquired Serially descending 1 EPI Data Are Acquired

More information

Introduction to fmri. Pre-processing

Introduction to fmri. Pre-processing Introduction to fmri Pre-processing Tibor Auer Department of Psychology Research Fellow in MRI Data Types Anatomical data: T 1 -weighted, 3D, 1/subject or session - (ME)MPRAGE/FLASH sequence, undistorted

More information

SPM8 for Basic and Clinical Investigators. Preprocessing

SPM8 for Basic and Clinical Investigators. Preprocessing SPM8 for Basic and Clinical Investigators Preprocessing fmri Preprocessing Slice timing correction Geometric distortion correction Head motion correction Temporal filtering Intensity normalization Spatial

More information

Fmri Spatial Processing

Fmri Spatial Processing Educational Course: Fmri Spatial Processing Ray Razlighi Jun. 8, 2014 Spatial Processing Spatial Re-alignment Geometric distortion correction Spatial Normalization Smoothing Why, When, How, Which Why is

More information

0.1. Setting up the system path to allow use of BIAC XML headers (BXH). Depending on the computer(s), you may only have to do this once.

0.1. Setting up the system path to allow use of BIAC XML headers (BXH). Depending on the computer(s), you may only have to do this once. Week 3 Exercises Last week you began working with MR data, both in the form of anatomical images and functional time series. This week we will discuss some concepts related to the idea of fmri data as

More information

Supplementary methods

Supplementary methods Supplementary methods This section provides additional technical details on the sample, the applied imaging and analysis steps and methods. Structural imaging Trained radiographers placed all participants

More information

Surface fmri data processing using BrainVISA (March 4th 2011)

Surface fmri data processing using BrainVISA (March 4th 2011) Surface fmri data processing using BrainVISA (March 4th 2011) Index 1. Introduction and general goal 2. Running the right pipeline 3. Practical details for computing surface processing 4. Visualization

More information

GLM for fmri data analysis Lab Exercise 1

GLM for fmri data analysis Lab Exercise 1 GLM for fmri data analysis Lab Exercise 1 March 15, 2013 Medical Image Processing Lab Medical Image Processing Lab GLM for fmri data analysis Outline 1 Getting Started 2 AUDIO 1 st level Preprocessing

More information

Table of Contents. IntroLab < SPMLabs < Dynevor TWiki

Table of Contents. IntroLab < SPMLabs < Dynevor TWiki Table of Contents Lab 1: Introduction to SPM and data checking...1 Goals of this Lab...1 Prerequisites...1 An SPM Installation...1 SPM Defaults...2 L/R Brain Orientation...2 Memory Use for Data Processing...2

More information

Tutorial BOLD Module

Tutorial BOLD Module m a k i n g f u n c t i o n a l M R I e a s y n o r d i c B r a i n E x Tutorial BOLD Module Please note that this tutorial is for the latest released nordicbrainex. If you are using an older version please

More information

Single Subject Demo Data Instructions 1) click "New" and answer "No" to the "spatially preprocess" question.

Single Subject Demo Data Instructions 1) click New and answer No to the spatially preprocess question. (1) conn - Functional connectivity toolbox v1.0 Single Subject Demo Data Instructions 1) click "New" and answer "No" to the "spatially preprocess" question. 2) in "Basic" enter "1" subject, "6" seconds

More information

SPM Introduction. SPM : Overview. SPM: Preprocessing SPM! SPM: Preprocessing. Scott Peltier. FMRI Laboratory University of Michigan

SPM Introduction. SPM : Overview. SPM: Preprocessing SPM! SPM: Preprocessing. Scott Peltier. FMRI Laboratory University of Michigan SPM Introduction Scott Peltier FMRI Laboratory University of Michigan! Slides adapted from T. Nichols SPM! SPM : Overview Library of MATLAB and C functions Graphical user interface Four main components:

More information

2. Creating Field Maps Using the Field Map GUI (Version 2.0) in SPM5

2. Creating Field Maps Using the Field Map GUI (Version 2.0) in SPM5 1. Introduction This manual describes how to use the Field Map Toolbox Version 2.0 for creating unwrapped field maps that can be used to do geometric distortion correction of EPI images in SPM5. 1. 1.

More information

SPM Introduction SPM! Scott Peltier. FMRI Laboratory University of Michigan. Software to perform computation, manipulation and display of imaging data

SPM Introduction SPM! Scott Peltier. FMRI Laboratory University of Michigan. Software to perform computation, manipulation and display of imaging data SPM Introduction Scott Peltier FMRI Laboratory University of Michigan Slides adapted from T. Nichols SPM! Software to perform computation, manipulation and display of imaging data 1 1 SPM : Overview Library

More information

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, April 5

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, April 5 CS/NEUR125 Brains, Minds, and Machines Lab 8: Using fmri to Discover Language Areas in the Brain Due: Wednesday, April 5 In this lab, you will analyze fmri data from an experiment that was designed to

More information

BDP: BrainSuite Diffusion Pipeline. Chitresh Bhushan

BDP: BrainSuite Diffusion Pipeline. Chitresh Bhushan BDP: BrainSuite Diffusion Pipeline Chitresh Bhushan Why diffusion MRI? T 2 weighted MPRAGE FA map Fiber track Quantify microstructural tissue characteristics Structural connectivity Connectome Clinical

More information

Quality Checking an fmri Group Result (art_groupcheck)

Quality Checking an fmri Group Result (art_groupcheck) Quality Checking an fmri Group Result (art_groupcheck) Paul Mazaika, Feb. 24, 2009 A statistical parameter map of fmri group analyses relies on the assumptions of the General Linear Model (GLM). The assumptions

More information

This exercise uses one anatomical data set (ANAT1) and two functional data sets (FUNC1 and FUNC2).

This exercise uses one anatomical data set (ANAT1) and two functional data sets (FUNC1 and FUNC2). Exploring Brain Anatomy This week s exercises will let you explore the anatomical organization of the brain to learn some of its basic properties, as well as the location of different structures. The human

More information

SPM99 fmri Data Analysis Workbook

SPM99 fmri Data Analysis Workbook SPM99 fmri Data Analysis Workbook This file is a description of the steps needed to use SPM99 analyze a fmri data set from a single subject using a simple on/off activation paradigm. There are two parts

More information

Group (Level 2) fmri Data Analysis - Lab 4

Group (Level 2) fmri Data Analysis - Lab 4 Group (Level 2) fmri Data Analysis - Lab 4 Index Goals of this Lab Before Getting Started The Chosen Ten Checking Data Quality Create a Mean Anatomical of the Group Group Analysis: One-Sample T-Test Examine

More information

Function-Structure Integration in FreeSurfer

Function-Structure Integration in FreeSurfer Function-Structure Integration in FreeSurfer Outline Function-Structure Integration Function-Structure Registration in FreeSurfer fmri Analysis Preprocessing First-Level Analysis Higher-Level (Group) Analysis

More information

Programming within BrainVISA project

Programming within BrainVISA project Programming within BrainVISA project What is the BrainVISA project? Complete development environement RedMine based forge Integration of various programming languages Multiplatform programming Documentation

More information

Journal of Articles in Support of The Null Hypothesis

Journal of Articles in Support of The Null Hypothesis Data Preprocessing Martin M. Monti, PhD UCLA Psychology NITP 2016 Typical (task-based) fmri analysis sequence Image Pre-processing Single Subject Analysis Group Analysis Journal of Articles in Support

More information

Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI

Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI Revision date: 09/15/2008 Overview This document describes the procedure for measuring baseline whole-brain perfusion

More information

NA-MIC National Alliance for Medical Image Computing fmri Data Analysis

NA-MIC National Alliance for Medical Image Computing   fmri Data Analysis NA-MIC fmri Data Analysis Sonia Pujol, Ph.D. Wendy Plesniak, Ph.D. Randy Gollub, M.D., Ph.D. Acknowledgments NIH U54EB005149 Neuroimage Analysis Center NIH P41RR013218 FIRST Biomedical Informatics Research

More information

This Time. fmri Data analysis

This Time. fmri Data analysis This Time Reslice example Spatial Normalization Noise in fmri Methods for estimating and correcting for physiologic noise SPM Example Spatial Normalization: Remind ourselves what a typical functional image

More information

The BERGEN Plug-in for EEGLAB

The BERGEN Plug-in for EEGLAB The BERGEN Plug-in for EEGLAB July 2009, Version 1.0 What is the Bergen Plug-in for EEGLAB? The Bergen plug-in is a set of Matlab tools developed at the fmri group, University of Bergen, Norway, which

More information

BDP: BrainSuite Diffusion Pipeline. Chitresh Bhushan

BDP: BrainSuite Diffusion Pipeline. Chitresh Bhushan BDP: BrainSuite Diffusion Pipeline Chitresh Bhushan Why diffusion MRI? T 2 weighted MPRAGE FA map Fiber track Quantify microstructural tissue characteristics Structural connectivity Connectome Clinical

More information

FMRI Pre-Processing and Model- Based Statistics

FMRI Pre-Processing and Model- Based Statistics FMRI Pre-Processing and Model- Based Statistics Brief intro to FMRI experiments and analysis FMRI pre-stats image processing Simple Single-Subject Statistics Multi-Level FMRI Analysis Advanced FMRI Analysis

More information

Robust Realignment of fmri Time Series Data

Robust Realignment of fmri Time Series Data Robust Realignment of fmri Time Series Data Ben Dodson bjdodson@stanford.edu Olafur Gudmundsson olafurg@stanford.edu December 12, 2008 Abstract FMRI data has become an increasingly popular source for exploring

More information

Event-related design efficiency and How to plot fmri time series. Sepideh Sadaghiani NeuroSpin Methods Meeting 15. Sept. 2008

Event-related design efficiency and How to plot fmri time series. Sepideh Sadaghiani NeuroSpin Methods Meeting 15. Sept. 2008 Event-related design efficiency and How to plot fmri time series Sepideh Sadaghiani NeuroSpin Methods Meeting 15. Sept. 2008 Event-related averaging or FIR? event-related fmri ability to average responses

More information

Functional MRI data preprocessing. Cyril Pernet, PhD

Functional MRI data preprocessing. Cyril Pernet, PhD Functional MRI data preprocessing Cyril Pernet, PhD Data have been acquired, what s s next? time No matter the design, multiple volumes (made from multiple slices) have been acquired in time. Before getting

More information

Statistical Analysis of Neuroimaging Data. Phebe Kemmer BIOS 516 Sept 24, 2015

Statistical Analysis of Neuroimaging Data. Phebe Kemmer BIOS 516 Sept 24, 2015 Statistical Analysis of Neuroimaging Data Phebe Kemmer BIOS 516 Sept 24, 2015 Review from last time Structural Imaging modalities MRI, CAT, DTI (diffusion tensor imaging) Functional Imaging modalities

More information

fmri Basics: Spatial Pre-processing Workshop

fmri Basics: Spatial Pre-processing Workshop fmri Basics: Spatial Pre-processing Workshop Starting a VNC session: Most of your fmri analysis will be done on the central Linux machines accessed via a VNC (Virtual Network Computing) server. This is

More information

fmri Basics: Single Subject Analysis

fmri Basics: Single Subject Analysis fmri Basics: Single Subject Analysis This session is intended to give an overview of the basic process of setting up a general linear model for a single subject. This stage of the analysis is also variously

More information

The alignment process uses two alignment methods: (1) the mrvista function, rxalign, for a rough alignment, and then (2) KNK's alignment for

The alignment process uses two alignment methods: (1) the mrvista function, rxalign, for a rough alignment, and then (2) KNK's alignment for Alignment (Allegra) Download example alignment script here. Anatomical images are collected at much higher resolution (isotropic 1 mm voxels) than functional images (isotropic 2 mm voxels; sometimes 2.5).

More information

Playing with data from lab

Playing with data from lab Playing with data from lab Getting data off the scanner From the Patient Browser, select the folder for the study you want (or within that study, the set of images you want), and then from the Transfer

More information

Data Visualisation in SPM: An introduction

Data Visualisation in SPM: An introduction Data Visualisation in SPM: An introduction Alexa Morcom Edinburgh SPM course, April 2010 Centre for Cognitive & Neural Systems/ Department of Psychology University of Edinburgh Visualising results remembered

More information

Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI

Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI Measuring baseline whole-brain perfusion on GE 3.0T using arterial spin labeling (ASL) MRI Revision date: 11/20/2006 Overview This document describes the procedure for measuring baseline whole-brain perfusion

More information

SIVIC GUI Overview. SIVIC GUI Layout Overview

SIVIC GUI Overview. SIVIC GUI Layout Overview SIVIC GUI Overview SIVIC GUI Layout Overview At the top of the SIVIC GUI is a row of buttons called the Toolbar. It is a quick interface for loading datasets, controlling how the mouse manipulates the

More information

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008 MIT OpenCourseWare http://ocw.mit.edu HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Getting Started Guide

Getting Started Guide Getting Started Guide Version 2.5 for BVQX 1.9 Rainer Goebel, Henk Jansma and Jochen Seitz Copyright 2007 Brain Innovation B.V. 2 Contents Preface...4 The Objects Tutorial...5 Scanning session information...5

More information

CHAPTER 9: Magnetic Susceptibility Effects in High Field MRI

CHAPTER 9: Magnetic Susceptibility Effects in High Field MRI Figure 1. In the brain, the gray matter has substantially more blood vessels and capillaries than white matter. The magnified image on the right displays the rich vasculature in gray matter forming porous,

More information

Data Visualisation in SPM: An introduction

Data Visualisation in SPM: An introduction Data Visualisation in SPM: An introduction Alexa Morcom Edinburgh SPM course, April 2015 SPMmip [-30, 3, -9] 3 Visualising results remembered vs. fixation contrast(s) < < After the results table - what

More information

I.e. Sex differences in child appetitive traits and Eating in the Absence of Hunger:

I.e. Sex differences in child appetitive traits and Eating in the Absence of Hunger: Supplementary Materials I. Evidence of sex differences on eating behavior in children I.e. Sex differences in child appetitive traits and Eating in the Absence of Hunger: Table 2. Parent Report for Child

More information

fmri/dti analysis using Dynasuite

fmri/dti analysis using Dynasuite fmri/dti analysis using Dynasuite Contents 1 Logging in 2 Finding patient session 3 Viewing and adjusting images 4 Checking brain segmentation 5 Checking image registration 6 Seeing fmri results 7 Saving

More information

Computational Neuroanatomy

Computational Neuroanatomy Computational Neuroanatomy John Ashburner john@fil.ion.ucl.ac.uk Smoothing Motion Correction Between Modality Co-registration Spatial Normalisation Segmentation Morphometry Overview fmri time-series kernel

More information

White Pixel Artifact. Caused by a noise spike during acquisition Spike in K-space <--> sinusoid in image space

White Pixel Artifact. Caused by a noise spike during acquisition Spike in K-space <--> sinusoid in image space White Pixel Artifact Caused by a noise spike during acquisition Spike in K-space sinusoid in image space Susceptibility Artifacts Off-resonance artifacts caused by adjacent regions with different

More information

ASAP_2.0 (Automatic Software for ASL Processing) USER S MANUAL

ASAP_2.0 (Automatic Software for ASL Processing) USER S MANUAL ASAP_2.0 (Automatic Software for ASL Processing) USER S MANUAL ASAP was developed as part of the COST Action "Arterial Spin Labelling Initiative in Dementia (AID)" by: Department of Neuroimaging, Institute

More information

Version. Getting Started: An fmri-cpca Tutorial

Version. Getting Started: An fmri-cpca Tutorial Version 11 Getting Started: An fmri-cpca Tutorial 2 Table of Contents Table of Contents... 2 Introduction... 3 Definition of fmri-cpca Data... 3 Purpose of this tutorial... 3 Prerequisites... 4 Used Terms

More information

Image Registration + Other Stuff

Image Registration + Other Stuff Image Registration + Other Stuff John Ashburner Pre-processing Overview fmri time-series Motion Correct Anatomical MRI Coregister m11 m 21 m 31 m12 m13 m14 m 22 m 23 m 24 m 32 m 33 m 34 1 Template Estimate

More information

All have parameters: Voxel dimensions: 90 * 108 * 78, Voxel size: 1.5mm * 1.5mm * 1.5mm, Data type: float, Orientation: Axial (S=>I).

All have parameters: Voxel dimensions: 90 * 108 * 78, Voxel size: 1.5mm * 1.5mm * 1.5mm, Data type: float, Orientation: Axial (S=>I). Week 5 Exercises This week we will discuss some concepts related to the idea of fmri data as sets of numbers that can be manipulated computationally. We will also introduce the concept of "statistical

More information

SPM Course! Single Subject Analysis

SPM Course! Single Subject Analysis SPM Course! Single Subject Analysis Practical Session Dr. Jakob Heinzle & Dr. Frederike Petzschner & Dr. Lionel Rigoux Hands up: Who has programming experience with Matlab? Who has analyzed an fmri experiment

More information

Documentation for imcalc (SPM 5/8/12) Robert J Ellis

Documentation for imcalc (SPM 5/8/12) Robert J Ellis (_) _ '_ ` _ \ / / _` / Image calculations and transformations (using SPM) (_ (_ ( This software version: 09-Nov-2017 _ _ _ _ \ \,_ _ \ (C) Robert J Ellis (http://tools.robjellis.net) Documentation for

More information

ACQUIRING AND PROCESSING SUSCEPTIBILITY WEIGHTED IMAGING (SWI) DATA ON GE 3.0T

ACQUIRING AND PROCESSING SUSCEPTIBILITY WEIGHTED IMAGING (SWI) DATA ON GE 3.0T ACQUIRING AND PROCESSING SUSCEPTIBILITY WEIGHTED IMAGING (SWI) DATA ON GE 3.0T Revision date: 12/13/2010 Overview Susceptibility Weighted Imaging (SWI) is a relatively new data acquisition and processing

More information

Basic Introduction to Data Analysis. Block Design Demonstration. Robert Savoy

Basic Introduction to Data Analysis. Block Design Demonstration. Robert Savoy Basic Introduction to Data Analysis Block Design Demonstration Robert Savoy Sample Block Design Experiment Demonstration Use of Visual and Motor Task Separability of Responses Combined Visual and Motor

More information

fmri Image Preprocessing

fmri Image Preprocessing fmri Image Preprocessing Rick Hoge, Ph.D. Laboratoire de neuroimagerie vasculaire (LINeV) Centre de recherche de l institut universitaire de gériatrie de Montréal, Université de Montréal Outline Motion

More information

Section 9. Human Anatomy and Physiology

Section 9. Human Anatomy and Physiology Section 9. Human Anatomy and Physiology 9.1 MR Neuroimaging 9.2 Electroencephalography Overview As stated throughout, electrophysiology is the key tool in current systems neuroscience. However, single-

More information

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008 MIT OpenCourseWare http://ocw.mit.edu HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Multivariate Calibration Quick Guide

Multivariate Calibration Quick Guide Last Updated: 06.06.2007 Table Of Contents 1. HOW TO CREATE CALIBRATION MODELS...1 1.1. Introduction into Multivariate Calibration Modelling... 1 1.1.1. Preparing Data... 1 1.2. Step 1: Calibration Wizard

More information

BrainVoyager TM. Getting Started Guide. Version 3.0. for BV 21

BrainVoyager TM. Getting Started Guide. Version 3.0. for BV 21 BrainVoyager TM Getting Started Guide Version 3.0 for BV 21 Rainer Goebel, Henk Jansma, Caroline Benjamins, Judith Eck, Hester Breman and Armin Heinecke Copyright 2018 Brain Innovation B.V. Contents About

More information

Introduction to MATLAB

Introduction to MATLAB Introduction to MATLAB Aapo Nummenmaa, PhD Athinoula A. Martinos Center for Biomedical Imaging, Massachusetts General Hospital, Harvard Medical School, Boston Background Overview! What is MATLAB?! MATLAB=(MATrix

More information

ANALYSIS OF FUNCTIONAL MAGNETIC RESONANCE IMAGING DATA USING SPM99: VOXEL-BASED MORPHOMETRY DONNA ROSE ADDIS

ANALYSIS OF FUNCTIONAL MAGNETIC RESONANCE IMAGING DATA USING SPM99: VOXEL-BASED MORPHOMETRY DONNA ROSE ADDIS Donna Rose Addis, TWRI, May 2004 1 ANALYSIS OF FUNCTIONAL MAGNETIC RESONANCE IMAGING DATA USING SPM99: VOXEL-BASED MORPHOMETRY DONNA ROSE ADDIS DEPT. OF PSYCHOLOGY, UNIVERSITY OF TORONTO TORONTO WESTERN

More information

User s Guide Neuroimage Processing ToolKit (NPTK) Version.1.7 (beta) fmri Registration Software Pipeline for Functional Localization

User s Guide Neuroimage Processing ToolKit (NPTK) Version.1.7 (beta) fmri Registration Software Pipeline for Functional Localization User s Guide Neuroimage Processing ToolKit (NPTK) Version.1.7 (beta) fmri Registration Software Pipeline for Functional Localization Software Written by Ali Gholipour SIP Lab, UTD, 2005-2007 Revision 1.7

More information

Functional MRI. Jerry Allison, Ph. D. Medical College of Georgia

Functional MRI. Jerry Allison, Ph. D. Medical College of Georgia Functional MRI Jerry Allison, Ph. D. Medical College of Georgia BOLD Imaging Technique Blood Oxygen Level Dependent contrast can be used to map brain function Right Hand Motor Task Outline fmri BOLD Contrast

More information

Batch processing of GLMs

Batch processing of GLMs Batch processing of GLMs 1 Contents Batch processing of GLMs... 1 Contents... 2 Introduction... 3 Installing the project... 4 1. Location of the script project... 4 2. Setting the project as current in

More information

Cocozza S., et al. : ALTERATIONS OF FUNCTIONAL CONNECTIVITY OF THE MOTOR CORTEX IN FABRY'S DISEASE: AN RS-FMRI STUDY

Cocozza S., et al. : ALTERATIONS OF FUNCTIONAL CONNECTIVITY OF THE MOTOR CORTEX IN FABRY'S DISEASE: AN RS-FMRI STUDY ALTERATIONS OF FUNCTIONAL CONNECTIVITY OF THE MOTOR CORTEX IN FABRY'S DISEASE: AN RS-FMRI STUDY SUPPLEMENTARY MATERIALS Sirio Cocozza, MD 1*, Antonio Pisani, MD, PhD 2, Gaia Olivo, MD 1, Francesco Saccà,

More information

FSL Workshop Session 3 David Smith & John Clithero

FSL Workshop Session 3 David Smith & John Clithero FSL Workshop 12.09.08 Session 3 David Smith & John Clithero What is MELODIC? Probabilistic ICA Improves upon standard ICA Allows for inference Avoids over-fitting Three stage process ( ppca ) 1.) Dimension

More information

Managing custom montage files Quick montages How custom montage files are applied Markers Adding markers...

Managing custom montage files Quick montages How custom montage files are applied Markers Adding markers... AnyWave Contents What is AnyWave?... 3 AnyWave home directories... 3 Opening a file in AnyWave... 4 Quick re-open a recent file... 4 Viewing the content of a file... 5 Choose what you want to view and

More information

Supplementary Figure 1

Supplementary Figure 1 Supplementary Figure 1 BOLD and CBV functional maps showing EPI versus line-scanning FLASH fmri. A. Colored BOLD and CBV functional maps are shown in the highlighted window (green frame) of the raw EPI

More information

The organization of the human cerebral cortex estimated by intrinsic functional connectivity

The organization of the human cerebral cortex estimated by intrinsic functional connectivity 1 The organization of the human cerebral cortex estimated by intrinsic functional connectivity Journal: Journal of Neurophysiology Author: B. T. Thomas Yeo, et al Link: https://www.ncbi.nlm.nih.gov/pubmed/21653723

More information

SIVIC GUI Tutorial. HMTRC Workshop - March 23-24, 2017

SIVIC GUI Tutorial. HMTRC Workshop - March 23-24, 2017 SIVIC GUI Tutorial HMTRC Workshop - March 23-24, 2017 Department of Radiology and Biomedical Imaging, UCSF Supported by NIBIB P41EB013598 Goal: The purpose of this tutorial is to introduce you to the SIVIC

More information

Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry

Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry Nivedita Agarwal, MD Nivedita.agarwal@apss.tn.it Nivedita.agarwal@unitn.it Volume and surface morphometry Brain volume White matter

More information

Basic principles of MR image analysis. Basic principles of MR image analysis. Basic principles of MR image analysis

Basic principles of MR image analysis. Basic principles of MR image analysis. Basic principles of MR image analysis Basic principles of MR image analysis Basic principles of MR image analysis Julien Milles Leiden University Medical Center Terminology of fmri Brain extraction Registration Linear registration Non-linear

More information

CONN fmri functional connectivity toolbox

CONN fmri functional connectivity toolbox CONN fmri functional connectivity toolbox Gabrieli Lab. McGovern Institute for Brain Research Massachusetts Institute of Technology http://www.nitrc.org/projects/conn Susan Whitfield-Gabrieli Alfonso Nieto-Castanon

More information

Artifact Detection and Repair: Overview and Sample Outputs

Artifact Detection and Repair: Overview and Sample Outputs Artifact Detection and Repair: Overview and Sample Outputs Paul Mazaika February 2007 Programs originated in Gabrieli Neuroscience Laboratory, updated and enhanced at Center for Interdisciplinary Brain

More information

Tools for NIfTI and ANALYZE image (Click LINK HERE for the latest update)

Tools for NIfTI and ANALYZE image (Click LINK HERE for the latest update) Tools for NIfTI and ANALYZE image (Click LINK HERE for the latest update) Description: If you are confused by identifying which one is the Left-hand-side / Right-hand-side of an ANALYZE image, the UseANALYZE.pdf

More information

the PyHRF package P. Ciuciu1,2 and T. Vincent1,2 Methods meeting at Neurospin 1: CEA/NeuroSpin/LNAO

the PyHRF package P. Ciuciu1,2 and T. Vincent1,2 Methods meeting at Neurospin 1: CEA/NeuroSpin/LNAO Joint detection-estimation of brain activity from fmri time series: the PyHRF package Methods meeting at Neurospin P. Ciuciu1,2 and T. Vincent1,2 philippe.ciuciu@cea.fr 1: CEA/NeuroSpin/LNAO www.lnao.fr

More information

Install Flow Software

Install Flow Software Install Flow Software You can download the flow software corresponding to your system OS on the Dropbox link Put the ''.zip'' file on your Desktop and extract it, If you are on MAC OS you need to install

More information

COBRE Scan Information

COBRE Scan Information COBRE Scan Information Below is more information on the directory structure for the COBRE imaging data. Also below are the imaging parameters for each series. Directory structure: var/www/html/dropbox/1139_anonymized/human:

More information

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008 MIT OpenCourseWare http://ocw.mit.edu HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Transform Introduction page 96 Spatial Transforms page 97

Transform Introduction page 96 Spatial Transforms page 97 Transform Introduction page 96 Spatial Transforms page 97 Pad page 97 Subregion page 101 Resize page 104 Shift page 109 1. Correcting Wraparound Using the Shift Tool page 109 Flip page 116 2. Flipping

More information

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2006

HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2006 MIT OpenCourseWare http://ocw.mit.edu HST.583 Functional Magnetic Resonance Imaging: Data Acquisition and Analysis Fall 2006 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.

More information

Brain Images. Download the data. Comparing Images. 13 th February Version 1.4. For GIMIAS-1.4. Contact:

Brain Images. Download the data. Comparing Images. 13 th February Version 1.4. For GIMIAS-1.4. Contact: Brain Images Comparing Images 13 th February 2012 Version 1.4 For GIMIAS-1.4 Contact: cistib.developers@gmail.com The aim of this exercise is to show different visualization and fusion functionalities

More information

Structural MRI of Amygdala Tutorial: Observation, Segmentation, Quantification

Structural MRI of Amygdala Tutorial: Observation, Segmentation, Quantification Structural MRI of Amygdala Tutorial: Observation, Segmentation, Quantification The FMRIB Software Library (FSL) is a powerful tool that allows users to observe the human brain in various planes and dimensions,

More information

Using Excel for Graphical Analysis of Data

Using Excel for Graphical Analysis of Data Using Excel for Graphical Analysis of Data Introduction In several upcoming labs, a primary goal will be to determine the mathematical relationship between two variable physical parameters. Graphs are

More information

Automatic segmentation of the cortical grey and white matter in MRI using a Region Growing approach based on anatomical knowledge

Automatic segmentation of the cortical grey and white matter in MRI using a Region Growing approach based on anatomical knowledge Automatic segmentation of the cortical grey and white matter in MRI using a Region Growing approach based on anatomical knowledge Christian Wasserthal 1, Karin Engel 1, Karsten Rink 1 und André Brechmann

More information

SnPM is an SPM toolbox developed by Andrew Holmes & Tom Nichols

SnPM is an SPM toolbox developed by Andrew Holmes & Tom Nichols 1 of 14 3/30/2005 9:24 PM SnPM A Worked fmri Example SnPM is an SPM toolbox developed by Andrew Holmes & Tom Nichols This page... introduction example data background design setup computation viewing results

More information

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm

EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm EE368 Project Report CD Cover Recognition Using Modified SIFT Algorithm Group 1: Mina A. Makar Stanford University mamakar@stanford.edu Abstract In this report, we investigate the application of the Scale-Invariant

More information

Brilliance CT Big Bore.

Brilliance CT Big Bore. 1 2 2 There are two methods of RCCT acquisition in widespread clinical use: cine axial and helical. In RCCT with cine axial acquisition, repeat CT images are taken each couch position while recording respiration.

More information

Artifact detection and repair in fmri

Artifact detection and repair in fmri Artifact detection and repair in fmri Paul K. Mazaika, Ph.D. Center for Interdisciplinary Brain Sciences Research (CIBSR) Division of Interdisciplinary Behavioral Sciences Stanford University School of

More information

Brain Extraction, Registration & EPI Distortion Correction

Brain Extraction, Registration & EPI Distortion Correction Brain Extraction, Registration & EPI Distortion Correction What use is Registration? Some common uses of registration: Combining across individuals in group studies: including fmri & diffusion Quantifying

More information

Data Term. Michael Bleyer LVA Stereo Vision

Data Term. Michael Bleyer LVA Stereo Vision Data Term Michael Bleyer LVA Stereo Vision What happened last time? We have looked at our energy function: E ( D) = m( p, dp) + p I < p, q > N s( p, q) We have learned about an optimization algorithm that

More information