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

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

GLM for fmri data analysis Lab Exercise 1

Group (Level 2) fmri Data Analysis - Lab 4

Preprocessing of fmri Data in SPM 12 - Lab 1

Introduction to fmri. Pre-processing

fmri pre-processing Juergen Dukart

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

Fmri Spatial Processing

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

Functional MRI data preprocessing. Cyril Pernet, PhD

Normalization for clinical data

Analysis of fmri data within Brainvisa Example with the Saccades database

Preprocessing II: Between Subjects John Ashburner

SPM8 for Basic and Clinical Investigators. Preprocessing. fmri Preprocessing

SPM99 fmri Data Analysis Workbook

Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry

Supplementary methods

Journal of Articles in Support of The Null Hypothesis

Functional MRI in Clinical Research and Practice Preprocessing

Version. Getting Started: An fmri-cpca Tutorial

fmri Preprocessing & Noise Modeling

Last Time. This Time. Thru-plane dephasing: worse at long TE. Local susceptibility gradients: thru-plane dephasing

Basic fmri Design and Analysis. Preprocessing

Preprocessing of fmri data (basic)

This Time. fmri Data analysis

Quality Checking an fmri Group Result (art_groupcheck)

Playing with data from lab

fmri Basics: Single Subject Analysis

Image Processing for fmri John Ashburner. Wellcome Trust Centre for Neuroimaging, 12 Queen Square, London, UK.

Image Registration + Other Stuff

FSL Workshop Session 3 David Smith & John Clithero

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

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

VBM Tutorial. 1 Getting Started. John Ashburner. March 12, 2015

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

SPM8 for Basic and Clinical Investigators. Preprocessing

Table of Contents. IntroLab < SPMLabs < Dynevor TWiki

CONN fmri functional connectivity toolbox

Brain Extraction, Registration & EPI Distortion Correction

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

Function-Structure Integration in FreeSurfer

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

FMRI Pre-Processing and Model- Based Statistics

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

Methods for data preprocessing

Issues Regarding fmri Imaging Workflow and DICOM

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

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

Zurich SPM Course Voxel-Based Morphometry. Ged Ridgway (Oxford & UCL) With thanks to John Ashburner and the FIL Methods Group

FSL Pre-Processing Pipeline

Data Visualisation in SPM: An introduction

SPM Course! Single Subject Analysis

Introduction to Neuroimaging Janaina Mourao-Miranda

Artifact Detection and Repair: Overview and Sample Outputs

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

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

Preprocessing of fmri data

fmri Analysis Sackler Ins2tute 2011

Spatial Filtering Methods in MEG. Part 3: Template Normalization and Group Analysis"

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

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

fmri Basics: Spatial Pre-processing Workshop

Machine Learning for Medical Image Analysis. A. Criminisi

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

Where are we now? Structural MRI processing and analysis

Pre-processing of ASL data T CT

AFNI Preprocessing: Outline, Recommendations, and New(ish) Stuff. Robert W Cox SSCC / NIMH & NINDS / NIH / DHHS / USA / EARTH

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

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

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

Introductory Concepts for Voxel-Based Statistical Analysis

Data Visualisation in SPM: An introduction

fmri/dti analysis using Dynasuite

SISCOM (Subtraction Ictal SPECT CO-registered to MRI)

ADAPTIVE GRAPH CUTS WITH TISSUE PRIORS FOR BRAIN MRI SEGMENTATION

Preprocessing I: Within Subject John Ashburner

FSL Pre-Processing Pipeline

Cluster failure: Why fmri inferences for spatial extent have inflated false positive rates

Automated MR Image Analysis Pipelines

Artifact detection and repair in fmri

Diffusion-MRI processing for group analysis

nifti converter plugin manual for brainvoyager qx Hester Breman and Rainer Goebel

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

PRANA. Project Review and Analysis. March (Pre-release and still under development!)

syngo.mr Neuro 3D: Your All-In-One Post Processing, Visualization and Reporting Engine for BOLD Functional and Diffusion Tensor MR Imaging Datasets

First-level fmri modeling

Extending the GLM. Outline. Mixed effects motivation Evaluating mixed effects methods Three methods. Conclusions. Overview

fmri Image Preprocessing

The Anatomical Equivalence Class Formulation and its Application to Shape-based Computational Neuroanatomy

CHAPTER 2. Morphometry on rodent brains. A.E.H. Scheenstra J. Dijkstra L. van der Weerd

Tutorial BOLD Module

Computational Neuroanatomy

Manual image registration in BrainVoyager QX Table of Contents

Registration: Rigid vs. Deformable

Data pre-processing framework in SPM. Bogdan Draganski

Surface-based Analysis: Inter-subject Registration and Smoothing

GLIRT: Groupwise and Longitudinal Image Registration Toolbox

BHMSMAfMRI User Manual

An Introduction To Automatic Tissue Classification Of Brain MRI. Colm Elliott Mar 2014

A Tutorial Guide to Tribology Plug-in

Transcription:

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: Software to perform computation, manipulation and display of imaging data SPM: Preprocessing Eliminate systematic variation before statistical modeling Slice timing TR Realign ment Intrasubject registration Motion correction Done in UM stream SPM: Preprocessing 2TR slice 1 3TR Coregister ation Intrasubject, intermodality registration Registration of MR images with different TR/TE slice 4 Adjust for variable acquisition time over slices In UM processing stream, this is already done Preprocessing Model Specification & Fitting Inference & Results Interrogation Supplemental Tools time Spatial Normalize ation Intersubject registration Register subject anatomy to atlas space SPM T1 template MNI space 1 1

SPM: Preprocessing Spatial Smooth ing Specify 1st-level Blur data into submission Specify the design, creating SPM.mat To satisfy random field theory assumptions For intersubject analyses Before convolution Convolved w/ circle Specify 2nd-level Convolved w/ Gaussian Adapted from SPM course slides Segment ation into GM/WM/CSF Useful for structural studies SPM: Inference Results button SPM: Model Specification T-tests (One or two sample, paired) Regression Review Examine correlation of predictors Power spectrum of experimental effects Estimate Fit a specified model based on a SPM.mat file SPM: Inference Interactive window p-values First brings up Contrast Manager Can define single (t) or sets (F) of contrasts Correced for whole brain or subregion Plotting of time courses Overlays Superimpose results on other images Then displays MIP Current location and value MIP = Maximum Intensity Projection Glass Brain Can surf by dragging cursor SPM: Miscellaneous Tools Display Displays image with orthogonal sections Check intensity values Change origin Change world space SPM: Miscellaneous Tools Check Reg Display multiple images Essential tool for assessing alignment of images All images are displayed in the space of the first image i.e. Apply rotations/translations 2 2

SPM: Miscellaneous Tools ImCalc Image calculator Give one or more images, perform MATLAB arithmetic and write out result Utils Change directory Results are written to current directory! Delete files, etc. Allows jobs to be saved, re-loaded, changed Helps remove Oops! factor Multiple steps can be loaded, run at once SPM12 Batch Editor SPM: Perspective SPM tries to be a single solution for all fmri processing and analysis, but there can be no such thing! FMRI is a rapidly evolving field where each dataset has huge number of observations! Don t let SPM be a black box! Understand what each component does Understand how to get at the data e.g. using Display, Check Reg Resources SPMweb site: http://www.fil.ion.ucl.ac.uk/spm/ Introduction to SPM SPM code download: SPM99, SPM2, SPM5, SPM8, SPM12 Documentation & Bibliography SPM course videos Example data sets SPM extensions SPM email discussion list Other software packages can complement SPM MRIcron: http://www.mccauslandcenter.sc.edu/mricro/mricron/index.html Quick and easy to read, display, and convert image data Alternatives FSL: http://www.fmrib.ox.ac.uk/fsl Open source Comprehensive tools for FMRI and DTI, has nice ICA analysis tool (MELODIC) Free AFNI: http://afni.nimh.nih.gov Open source Active community, multiple plugins Free BrainVoyager: http://www.brainvoyager.com Excellent visualization Closed source, ~$5k 3 3

Imaging data formats SPM Spatial Transformations Analyze format.img Raw, binary data; 3D or 4D.hdr Small binary header Image dimension Voxel size NIFTI format.img +.hdr Like Analyze, but different.hdr definition.nii Single file! Header and Image file concatenated World space transformation coded in NIFTI header Is Left Right? Coregister & realignment Two conventions for viewing images Neurological On the screen, Left is Left side of subject As if standing behind the head of the patient Radiological On the screen, Left is Right side of subject As if standing at the foot of the patient Standard in clinical radiology is, um, radiological L R Nose R L Coregistration & Realignment are rigid body transformations Subject s head doesn t change size or warp between scans Well, actually... Each requires a Reference and a Source Reference: Fixed image Source: Image that is transformed SPM always uses Neurological convention Default for Analyze set by defaults.analyze.flip in spm defaults.m flip = 0,Neuro., flip = 1,Rad. NIFTI images allegedly have no ambiguity about left & right SPM modifies the.hdr file of the object image Unless you explicitly ask it to, it doesn t write out an image Saves lots of disk space! Voxel space vs. world space Data Fresh from fmri Lab Voxel Space Just the original image No reorientations or flips World Space Space defined by transformation from voxel to mm matrix M Let v be a voxel location indexed from (1,1,1) Then w=m*[v;1] is that location in world space, in mm Can represent rotations, translations and flips 4 4

Coregistration After Coregistration Reference Source Coregister button Sets new world space in NIFTI header Determined from: Rigid body, M.I. registration of high-res to low-res anatomy Spatial Normalization Spatial Normalisation Normalize button Creates y_*.nii file Determined from: Deformation fields calculated using segmented images y_*.nii file maps any image to MNI space! After Writing Normalized Group Analysis: Strategy 1 Only transform contrast img s rap_run s beta s con s spmt s Intrasubject analysis result Normalized images w w wcon s y_*.nii Intrasubject analysis contrast images, transformed into atlas space (w/ _sn.mat), ready for group analysis 5 5

Functional Space rap_run s Group Analysis: Strategy 2 Transform all functionals wrap_run s beta s con s spmt s Normalization recommendations If not doing segmented normalization, with scalped brains use scalped template Scalped template Should give best results We don t care about scalp alignment! y_*.nii All functional data transformed into atlas space Intrasubject analysis result con images ready for group analysis (already in atlas space) Make sure WM equal in brightness T1 s can have inhomogeneity artifact, where center of volume is brighter Should apply homogeneity correction (bias correction) UM: make sure to use (e)ht1spgr, (e)ht1overlay 6 6