Functional MRI data preprocessing. Cyril Pernet, PhD

Similar documents
SPM8 for Basic and Clinical Investigators. Preprocessing. fmri Preprocessing

Basic fmri Design and Analysis. Preprocessing

Functional MRI in Clinical Research and Practice Preprocessing

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

SPM8 for Basic and Clinical Investigators. Preprocessing

Introduction to fmri. Pre-processing

Image Registration + Other Stuff

Computational Neuroanatomy

Fmri Spatial Processing

FMRI Pre-Processing and Model- Based Statistics

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

FSL Pre-Processing Pipeline

Preprocessing II: Between Subjects John Ashburner

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

This Time. fmri Data analysis

Methods for data preprocessing

Journal of Articles in Support of The Null Hypothesis

fmri pre-processing Juergen Dukart

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

FSL Pre-Processing Pipeline

Spatial Preprocessing

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

Analysis of fmri data within Brainvisa Example with the Saccades database

Surface-based Analysis: Inter-subject Registration and Smoothing

Preprocessing I: Within Subject John Ashburner

fmri Preprocessing & Noise Modeling

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

Neuroimaging and mathematical modelling Lesson 2: Voxel Based Morphometry

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

GLM for fmri data analysis Lab Exercise 1

Function-Structure Integration in FreeSurfer

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

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

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

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

Data pre-processing framework in SPM. Bogdan Draganski

fmri Image Preprocessing

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

Introduction to Neuroimaging Janaina Mourao-Miranda

Supplementary methods

Preprocessing of fmri data

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

SPM Course! Single Subject Analysis

Math in image processing

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

Brain Extraction, Registration & EPI Distortion Correction

Characterization and Correction of Interpolation Effects in the Realignment of fmri Time Series

Preprocessing of fmri data (basic)

Supplementary Figure 1

Artifact detection and repair in fmri

Tutorial BOLD Module

Pre-processing of ASL data T CT

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

Noise and Artifacts in FMRI

SPM99 fmri Data Analysis Workbook

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

Normalization for clinical data

腦部結構影像 標準化 組織分割 體素型態 本週課程內容. Analysis Softwares. A Course of MRI

The simulator can be applied in a number of diverse applications which span both

Correction of Partial Volume Effects in Arterial Spin Labeling MRI

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

Human Connectom Project : The minimal processing Pipeline

Structural Segmentation

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

Structural Segmentation

FSL Workshop Session 3 David Smith & John Clithero

A Model-Independent, Multi-Image Approach to MR Inhomogeneity Correction

Where are we now? Structural MRI processing and analysis

Automated MR Image Analysis Pipelines

fmri Analysis Sackler Ins2tute 2011

Diffusion MRI Acquisition. Karla Miller FMRIB Centre, University of Oxford

MR IMAGE SEGMENTATION

Analysis of Functional MRI Timeseries Data Using Signal Processing Techniques

Image Registration I

Signal, Noise and Preprocessing*

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

Structural MRI analysis

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

Neuroimage Processing

Spatial Special Preprocessing

Data Visualisation in SPM: An introduction

Data Visualisation in SPM: An introduction

First-level fmri modeling

Locating Motion Artifacts in Parametric fmri Analysis

Artifact Detection and Repair: Overview and Sample Outputs

A Registration-Based Atlas Propagation Framework for Automatic Whole Heart Segmentation

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

Serial Correlations in Single-Subject fmri with Sub-Second TR

Politecnico di Torino. Porto Institutional Repository

Nonrigid Registration using Free-Form Deformations

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

RIGID IMAGE REGISTRATION

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

Image Registration. Prof. Dr. Lucas Ferrari de Oliveira UFPR Informatics Department

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

INDEPENDENT COMPONENT ANALYSIS APPLIED TO fmri DATA: A GENERATIVE MODEL FOR VALIDATING RESULTS

Clinical Importance. Aortic Stenosis. Aortic Regurgitation. Ultrasound vs. MRI. Carotid Artery Stenosis

Evaluation of multiple voxel-based morphometry approaches and applications in the analysis of white matter changes in temporal lobe epilepsy

Voxel-Based Morphometry & DARTEL. Ged Ridgway, London With thanks to John Ashburner and the FIL Methods Group

Getting Started Guide

Transcription:

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 data out, we need to make sure the signal from each voxel contains the right temporal and spatial information. Picture credit: http://home.kpn.nl/raema005/functional_magnetic_resonance_imaging_fmri.html

fmri time-series kernel Slice timing and Realignment smoothing Statistics normalisation Anatomical reference

Slice Timing Correction R. Henson, C. Buechel, O. Josephs, K. Friston The slice-timing problem in event-related fmri NeuroImage, 9 (1999), p. 125-125

Slice Timing Correction Most of the time, fmri data are acquired using sequential 2D imaging like single shot EPI. Since fmri statistics are about analyzing the time course of the BOLD signal, exact timing with regard to the stimulus presentation is crucial. For instance, if you set a TR of 2 sec and acquire 30 slices, the acquisition time of 1 slice is ~66.66 ms (2000/30) and STC compensates for these sampling differences. Sladky et al. (2011) NeuroImage, 58, 588-594.

Slice Timing Correction STC consists in shifting the signal phase by a given amount to temporally align data. It is therefore mandatory to select a reference slice. The reference slice is usually the slice acquired in the middle of the sequence (maximum interpolation of TR/2) but any slice can be used. Data are acquired either in sequential or interleaved mode and the middle of the sequence is not the middle of the brain! 1 2 3 4 5 6 7 8 9 10 Sequential acquisition Ref slice 6 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 1 2 3 4 5 6 7 8 9 10 Interleaved acquisition Ref slice 2 0 1 0.2 1.2 0.4 1.4 0.6 1.6 0.8 1.8

Slice Timing Correction TR of e.g. 2 sec with the middle temporal slice as reference is comparable to a dataset with a TR of 1 sec when the first (or last) slice acquired are used as a reference slice. This can be a reasonable practice, if the region of interest and putative activations are located near the first (or last) slice because it suppresses temporal interpolation effects in these areas. Note that all regressors in the GLM also need to be adjusted for this shift in time according to the reference slice (e.g. TR / 2). Sladky et al. (2011) NeuroImage, 58, 588-594.

Slice Timing Correction Possible introduction of aliasing effects for signals at frequencies above the Nyquist sampling limit. Given a typical TR of 2 s (f = 0.25 Hz) a minimal inter-stimulus interval (ISI) of more than 4 s is recommended. When using the slice acquired in the middle of the acquisition period (TR) as a reference slice, the signal needs to be shifted by TR / 2, therefore reducing the suggested minimal ISI to 2 s. It is sometimes advocated to not do the STC especially for TR<2 sec. However, Sladky et al. showed that is always beneficial. When not performed, the reduction of parameter estimates (effects) were more pronounced for long TRs, event-related designs and designs with shorter SOA (up to 63%!). Sladky et al. (2011) NeuroImage, 58, 588-594.

motion correction (realignment) JV. Hajnal, R. Myers, A. Oatridge, JE. Schwieso, IR. Young, GM. Bydder Artifacts due to stimulus-correlated motion in functional imaging of the brain. Magn Reson Med, 3 (1994), p283 291.

Motion artefacts Subjects will always move in the scanner: swallowing for instance lead to motion along the x axis or some movements may be related to the tasks performed. Motion will results in a mismatch of the location of subsequent images in the time-series. Since the sensitivity of the statistical analysis is determined by the amount of residual noise in the image series, mismatch of the location will add to this noise and reduce the sensitivity. This type of motion problem corresponds to wholesale movements ( (bulk-motion)) and is well corrected by realignment algorithms.

Motion correction: How? Determine the rigid body transformation that minimises some cost function (a way to define the difference between 2 images as e.g. least square (SPM) or normalized correlation ratio (FSL)). Rigid body transformation is defined by: 3 translations in X, Y & Z directions and 3 rotations around the X, Y & Z axes. Transform co-ordinate θ x For each voxel-centre co-ordinate Illustration taken from Jesper Andersson x=10mm y=0 θ=10º Find co-ordinate in original image

Motion correction: Quality check Plots the estimates from the head motion algorithm (might be useful to change angles into degrees and also plot the 1 st derivative outlier detection can then be run to identify bad scans) Compute whole head distance between volumes and to the mean (mean square difference) Inspect the realigned data as a movie Lots of tools available on websites For SPM users, I wrote a script to do this automatically see https://sourceforge.net/projects/spm-qa-tools

Motion correction: Quality check Plots of head motion Translation Rotation mm 0.6 0.4 0.2 0 0.2 0.4 50 100 150 200 250 scans scan to scan translation degrees 0.5 0 0.5 50 100 150 200 250 scans scan to scan rotation 0.2 0.2 mm 0 0.2 50 100 150 200 250 scans degrees 0.1 0 0.1 Mean square displacement 50 100 150 200 250 scans 0.4 displacement 0.3 0.2 0.1 0 50 100 150 200 250 scans

Motion correction: Quality check Whole head distances Mean quared distance to the average 700 squared difference 600 500 400 300 200 250 50 100 150 200 250 scans Volume to volume mean squared distance squared difference 200 150 100 50 100 150 200 250 scans

Motion correction: Quality check Motion correction: Quality check Movies

Even more motion artefacts Motion can also alter the MR signal because protons that moves into a voxel from a neighbouring slice have an excitation different from that expected by the scanner and the signal will not reflect well the tissue in that voxel.. This spin history effect is not corrected using motion correction algorithms and Independent Component Analysis (ICA) or dedicated methods must be used. The spin history effect is seen as alternating bright and dark stripes with interleaved acquisitions. One can mitigate this by modelling bad images as dummy regressors and include movement parameter estimates into the analysis. Picture credit: http://wagerlab.colorado.edu/wiki/doku.php/help/fmri_quality_control_overview

Even more motion artefacts Physiological artefacts respiratory-induced noise is dominant near the edges of the brain as well as near in the larger veins and in the ventricles. cardiac-induced noise is dominant near larger vessels (e.g. medial cerebral artery and Circle of Willis) Physio monitoring Don t trust those regions Lund et al. (2006) NeuroImage, 29, 54-66

Spatial Normalization M, Holden A review of geometric transformations for nonrigid body registration. IEEE Trans Med Imaging, 27 (2008), p 111-128

Normalization: Why? Inter-subject averaging extrapolate findings to the population as a whole increase activation signal above that obtained from single subject increase number of possible degrees of freedom allowed in statistical model Enable reporting of activations as co-ordinates ordinates within a known standard space e.g. the space described by Talairach & Tournoux, or the MNI space (SPM, FSL)

Normalization: How? Current methods works mainly on T1 weighted images (i.e. anatomical), so in practice one uses a 3 steps approach in which one i) coregister T1 and T2* (fmri) data so that they are aligned and in the same space and ii) normalize the anatomical image (i.e. transform it to match the template) and iii) apply the parameters obtained to the fmri images Mean EPI T1-weighted Template coregister normalize apply normalization parameters

T1 image preprocessing The anatomical image is 1 st preprocessed,, depending on the method this includes: i) Noise reduction: : improves local features using local smoothing (SUSAN algorithm in FSL), ii) Bias correction: : from 3 Teslas,, there is often broad intensity variations in space that need to be corrected, iii) Brain extraction: : remove non brain tissue, iv) Segmentation: : separate grey matter, white matter and CSF In SPM, the unified segmentation approach (Ashburner and Friston (2005) NeuroImage, 26, 839-851) combines/optimizes bias correction, segmentation, and normalization all in one, such as the prior probability of a voxel to belong to a tissue class is determined using a probabilistic atlas. In this framework 2 voxels with the same values can be classified differently using anatomical knowledge.

T1 image preprocessing Original T1-weighted Bias correction Noise reduction Segmentation Brain extraction

Volume-based normalization The first part of spatial normalisation is a 12 parameter affine transformation: 3 translations 3 rotations 3 scaling 3 shears } Rigid } Allow body transformation (realignment) does not change the size or shape of images change in overall size and shape Affine transformation: any set of points that fell on a line prior transformation will continue to fall on a line after the transformation

Volume-based normalization The second part of the normalization uses non- linear deformations. DARTEL toolbox in SPM or FNIRT in FSL rely on diffeomorphism,, that is the transformation from one image to the other can be represented as a vector field, describing the movements to apply at each voxel.

Surface-based Normalization Often more accurate to register cortical features than old volume based methods. Often limited to cortical surface. A combined method (surface based for cortical and volume based for deep brain structures) is available in Freesurfer. Image credit: Sarah Whittle & Dominic Dwyer free-surfer talk original white pial orig white pial inflated sphere patch

Normalization: quality check Visual inspection using e.g. CheckReg in SPM Mean T2*, T1, Template Allows checking the coregistration and normalization worked

Normalization: quality check Segmented (normalized) gray matter and white matter vs. priors (i.e. the gray and white matter images used with the template) Sometimes the overall shape looks ok but the segmentation was not too good best to check this as well

Normalization: quality check Outlines of template vs. normalized T1 Average normalized images Distance of normalized data to the template Movie Lots of tools available on websites For SPM users, I wrote a script to do this automatically see https://sourceforge.net/projects/spm-qa-tools

Normalization: quality check Average of Normalized T2* Image Outlines Average/T1

Interpolation methods P. Thevenaz,, T. Blu & M Unser Interpolation revised IEEE Trans Med Imaging, 19 (2000), p 739-758 758

Write down the new images Each transformation (realignment, segment, normalize) comes with different methods of interpolation Each time an image is transformed, voxels don t t align with the original ones and new voxels have to be created their value is inferred from neighbours. There is no need to apply each transformation. Parameters are stored in the header and for a new transform, previous parameters are applied and the new transform computed. Only when all is computed, one has to write images. At this stage all parameters are applied. This allows to interpolate voxel values only once.

Write down the new images Interpolation methods include i) nearest neighbour ii) linear interpolation iii) higher-order interpolation like sinc interpolation or spline. Loss of resolution Tends to blur images http://imp4-2008.blogspot.co.uk/ http://www.hyperzoid.com/csc492/rendering.html

Write down the new images Interpolation methods include i) nearest neighbour ii) linear interpolation iii) higher-order interpolation like sinc interpolation or spline.

Smoothing

Smoothing: Why? Increase signal to noise by removing high-frequency information (small-scale scale changes in the image) Inter-subject averaging as spatial normalization cannot perfectly align all structures Increase validity of statistics when using random field theory.

Smoothing: How? Each voxel, after smoothing, effectively becomes the result of applying a weighted region of interest. In SPM, smoothing is a convolution with a 3D Gaussian kernel, and the kernel is defined in terms of FWHM (full width at half maximum) Before convolution Convolved with a circle Convolved with a Gaussian 2D illustration using the conv2 function in Matlab

Smoothing: How much? Depends on effects to be detected Matched filter theorem: smoothing kernel = expected signal. Practically FWHM 2 times the voxel size is appropriate for random fields theory, whilst improving SNR. May consider varying kernel size if interested in different brain regions (e.g. hippocampus -vs- parietal cortex)) Picture credit: http://fcp-indi.github.com/docs/user/smoothing.html