SPM5 Tutorial, Part 1 fMRI preprocessing Tiffany Elliott May 9 2007.

Slides:



Advertisements
Similar presentations
Buttons in SPM5 Carolyn McGettigan & Alice Grogan Methods for Dummies 5 th April 2006.
Advertisements

Buttons in SPM5 Seán O’Sullivan, ION Alice Jones, Dept of Psychology Alice Jones, Dept of Psychology Methods for Dummies 16 th Jan 2008.
Realignment – Motion Correction (gif from FMRIB at Oxford)
Concepts of SPM data analysis Marieke Schölvinck.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial / Registration Library: Case 29 - DTI converting and aligning diffusion.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial / Registration Library: Case 03 - DTI aligning low-resolution diffusion.
Gordon Wright & Marie de Guzman 15 December 2010 Co-registration & Spatial Normalisation.
1. Chapter 29 Creating Forms 3 Understanding Forms Word enables you to create fill-in forms to eliminate the need for storing pre-printed forms. Add.
Copyright 2002, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-1 LINKS TO OBJECTIVES Form Concepts Creating the Form Template Creating the Form Template.
Chapter 26. Copyright 2003, Paradigm Publishing Inc. CHAPTER 26 BACKNEXTEND 26-2 LINKS TO OBJECTIVES Create a Form Template Create a Form Template Fill.
Introduction to Functional and Anatomical Brain MRI Research Dr. Henk Cremers Dr. Sarah Keedy 1.
Basics of fMRI Preprocessing Douglas N. Greve
OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear.
Foundation Level Course
Coregistration and Normalisation By Lieke de Boer & Julie Guerin.
Realigning and Unwarping MfD
Realigning and Unwarping MfD
JOAQUÍN NAVAJAS SARAH BUCK 2014 fMRI data pre-processing Methods for Dummies Realigning and unwarping.
Spatial preprocessing of fMRI data Methods & models for fMRI data analysis 25 February 2009 Klaas Enno Stephan Laboratory for Social and Neural Systrems.
Activity One Use the Windows Explorer program to create a new folder. Name the folder by your first name. Click on the windows explorer icon then highlight.
Spatial preprocessing of fMRI data
SETTING PREFERENCES MUST BE DONE THE FIRST TIME FOR EVERYONE After logging into the EMR, the initial module looks like this: On top toolbar click Tools.
Viewbox 4 Tutorial How to create a Template Please view this tutorial as a Slide Show in PowerPoint, because it contains animations that will not appear.
FMRI Preprocessing John Ashburner. Contents *Preliminaries *Rigid-Body and Affine Transformations *Optimisation and Objective Functions *Transformations.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Working with SharePoint Document Libraries. What are document libraries? Document libraries are collections of files that you can share with team members.
ADVANCED MICROSOFT POWERPOINT Lesson 6 – Creating Tables and Charts
Co-registration and Spatial Normalisation
by Chris Brown under Prof. Susan Rodger Duke University June 2012
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
South Dakota Library Network ALEPH XSL Creator © South Dakota Library Network, 2008 Modified for SDLN Version 16 Last Update: June 2008 South Dakota Library.
When you start Photo Story the title screen gives you three options. The following slides will illustrate the directions when “Begin a new story” has been.
Creating a Web Site to Gather Data and Conduct Research.
Targeted Training, LLC. APPLYING STYLES DOWNLOAD FREE TRIAL OF ADOBE CONTRIBUTE ADOBE CONTRIBUTE CONNECTION WIZARD ENTERING EDIT MODE WEB PUBLISHING PROCESS.
Mail merge I: Use mail merge for mass mailings Perform a complete mail merge Now you’ll walk through the process of performing a mail merge by using the.
CIS165 Desktop Publishing Microsoft Office Publisher 2007 Unit A – Getting Started.
McGraw-Hill/Irwin ©2009 The McGraw-Hill Companies, All Rights Reserved Business Driven Information Systems 2e Plug-In T6: Basic Skills and Tools Using.
SPM5 Tutorial Part 2 Tiffany Elliott May 10, 2007.
1 Hands-On Data Analysis Kate Pirog Revill and Chris Rorden Data from safety training –9 subjects –Finger-tapping task (12s tapping, 12s rest) –188 scans.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
Coregistration and Spatial Normalisation
CREATING TEMPLATES CREATING CUSTOM CHARACTERS IMPORTING BATCH DATA SAVING DATA & TEMPLATES CREATING SERIES DATA PRINTING THE DATA.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial: Registration Library Case 14 Intra-subject Brain PET-MRI fusion.
Working with Graphics – Lesson 21 Working with Graphics Lesson 2.
Basic Computer and Word Functions, part 1 Read the information and use to answer the questions in the Basic Computer and Word Functions Study Guide.
Diffusion Tensor Imaging: The Nitty Gritty Brought to you by: Meenal and Erica November 2, 2010.
PowerPoint Basics Tutorial 1: Objects These tutorials will introduce you to the most basic and useful functions of Microsoft PowerPoint We’re going.
WFM 6311: Climate Risk Management © Dr. Akm Saiful Islam WFM 6311: Climate Change Risk Management Akm Saiful Islam Lecture-7:Extereme Climate Indicators.
FrontPage Tutorial Part 2 Creating a Course Web Site.
11/25/2015Slide 1 Scripts are short programs that repeat sequences of SPSS commands. SPSS includes a computer language called Sax Basic for the creation.
CS320n –Visual Programming More LabVIEW Foundations.
Fall 2003Sylnovie Merchant, Ph.D. ACCESS Tutorial Note: The purpose of this tutorial is to provide an introduction to some of the functions of ACCESS in.
Statistical Parametric Mapping Lecture 11 - Chapter 13 Head motion and correction Textbook: Functional MRI an introduction to methods, Peter Jezzard, Paul.
Setting up your computer’s microphone Begin by double clicking on the volume icon within the task bar.
NA-MIC National Alliance for Medical Image Computing fMRI Data Analysis in Slicer (short dataset tutorial) Steve Pieper Haiying Liu Wendy.
FEAT (fMRI Expert Analysis Tool)
SPM Pre-Processing Oli Gearing + Jack Kelly Methods for Dummies
Methods for Dummies Second level Analysis (for fMRI) Chris Hardy, Alex Fellows Expert: Guillaume Flandin.
NA-MIC National Alliance for Medical Image Computing Slicer3 Tutorial Nonrigid Atlas Registration Dominik Meier, Ron Kikinis February.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
1 After completing this lesson, you will be able to: Use a Word template. Create a template. Use a wizard to create a document.
Laboratory Exercise # 10 – Microsoft Word Additional Topics Office Productivity Tools 1 Laboratory Exercise # 10 Microsoft Word Additional Topics Objectives:
MfD Co-registration and Normalisation in SPM
User Manual for Tmaptool – T1 ρ processing tool Guruprasad Krishnamoorthy Chetana Bayas Gargi Pednekar.
>>0 >>1 >> 2 >> 3 >> 4 >>
Open the standard.idw template. Save copy as a different file name. If you want to create as a template, save to the c:\Program Files\Autodesk \Inventor10.
From buttons to code Eamonn Walsh & Domenica Bueti
Autodesk Inventor Tips and Tricks for New Users
Presentation transcript:

SPM5 Tutorial, Part 1 fMRI preprocessing Tiffany Elliott May

Start matlab and initiate SPM by running spm fmri from the command prompt

The first thing we will do is look at our data by clicking on the Display button.

Navigate to the first session in your sample data set and select the f.nii file. Then click done

Click around in the brain views. The crosshairs will move to where you click

Save this picture as a JPEG under the sample_data directory Then display and save the other two sessions as well

Now we will begin to preprocess the data and prepare it for statistics Click on the Slice Timing button

On the right you will see this in the SPM graphics window. Double click on the slice timing node to expand it

In the panel to the left is a list of the jobs you have currently selected. It is organized in a tree structure. Double-clicking a node will allow you to expand and contract its items. + means the node is contracted -means the node is expanded Items with an X to the right have not been set. To the right is an example of our expanded slice timing node.

In top right panel are the options available for a highlighted item. Once you have single clicked on the item of your choice the options will appear. Single clicking on New “Session” will create a new item to associate data with. We will do this 3 times for 3 runs of the visual oddball task giving us 3 session to select data for.

Single click on the first session. Then in the top right panel single click on Specify Files

The first thing you want to do is make sure you set the range of frames to 1:195. This is because we are working with 4D image files and we want all volumes in the file to be included. In this particular paradigm there are 195 volumes. Hit enter after you type in this number. Then navigate to your sample data and click on the Rec button to recursively select your nifti volumes Click Done and follow the same steps to select your data for sessions 2 and 3

Click on the Number of Slices node and then Specify Text Enter 33 into the prompt box and hit enter You will see your input in the middle right box

Enter these values for the next four nodes… TR  2, repetition time TA  , acquisition time is usually TR-(TR/nslices) Slice order  1:33, a vector 1,2,3,…33 Reference Slice  16, a slice in the middle of the brain When you are done click the save button to save your settings…

You can save as mat file, m file (script), or xml file. Pick your favorite format, name the file, and save under the sample_data folder After you have saved your settings click Run to perform the slice time correction

Next we will realign our data Realignment corrects for movement over time using affine registration Click the Realign dropdown and select Realign

Click on New “Realign: Estimate & Reslice” to create a new realignment node. Double click on the new node to expand it

Double click on all the nodes to expand them

Enter these values for the estimation options… Quality  0.5, 0<quality<1,where 1 is the highest quality Separation  4, default Smoothing  5, default Num Passes  Register to first (images will be aligned with the first image in the series) Interpolation  2 nd Degree B-Spline, default Wrapping  No wrap, default Weighting , default

Enter these values for the reslice options… Resliced Images  Mean Image Only Interpolation  4 th Degree B-Spline, default Wrapping  No Wrap, default Masking  Mask Images, default

When you are done entering your items click on the Realign: Estimate & Reslice node Then click Replicate Item two times making 2 more nodes like the first one This way we don’t have to re-enter the parameters for the other two sessions

Click on Data and then New “Session” to select your files for each node for realignment. Session 1 goes with the first node. Session 2 goes with the second. Session 3 goes with the third. This is done so we can realign each session separately If you want to realign all the sessions together, you would instead make 3 sessions under 1 Data node

We are now working with the slice time correction files from the previous step. So, set your file filter to ^af.* ^ is a character specifying that the letter that follows must be the first letter in the file name.* means any number of other characters may follow

Once all your information is entered save the settings in your file format of choice under the sample_data folder. Then click Run to perform the Realignment

As each session finishes SPM will display the results in the graphics window. You will see a plot showing how each volume moved with respect to the previous volume. Rotational parameters roll, pitch and yaw are in radians

Rotational movement parameters resemble that of airplane terminology

Now we will normalize our data to the standard template Click on the Normalize button

Click on “Normalise: Estimate & Write” Expand all your nodes

For the Data node add 3 New “Subject” Items Each of these will be for sessions 1,2 and 3 respectively

For each subject node expand it and enter these parameters… Source Image  meanaf.nii, average of all the volumes produced during realignment Source Weighting , default Images to Write  all 195 volumes of the realigned af.nii file and the meanaf.nii file

Under the Estimation node, click template image, then specify files. We will use the EPI template included in the spm5 package.

Set the following estimation options to these values… Template Weighting Image , default Source Image Smoothing  8, default Template Image Smoothing  0, default Affine Image Regularisation  ICBM space template, default Nonlinear Frequency Cutoff  45 Nonlinear Iterations  16, default Nonlinear Regularisation  1, default

Set the following writing options to these values… Preserve  Preserve Concentrations, default Bounding Box  leave as default Voxel Sizes  [2 2 2], default Interpolation  Trilinear, default Wrapping  No wrap, default Save your settings in your file type of choice under your sample_data folder. Then Run the analysis.

Now we’re going to check our results Click on the Check Reg button When you are prompted select the wmeanaf.nii image from session 1 and the EPI template that we used from the spm5 package

Click around and see if the normalization did a good job Are the results what you would expect? Do the edges of different brain regions match up in both images? Save this picture as a JPEG under your sample_data directory

Now we will spatially smooth our data Click on the Smooth button

Select all your waf.nii images from the 3 sessions Set FWHM to [8 8 8] for an 8mm Gaussian smoothing kernel

We will select our normalized images for smoothing Set your filter to ^wa.* (normalization puts a w on the front of the image name) Smoothing will put an s on the front of the image names

Click Run to perform the smoothing… Now your images will be ready for modeling! Friday morning there will be a tutorial on modeling this data.