JOAQUÍN NAVAJAS SARAH BUCK 2014 fMRI data pre-processing Methods for Dummies Realigning and unwarping.

Slides:



Advertisements
Similar presentations
fMRI Methods Lecture6 – Signal & Noise
Advertisements

MRI vs. fMRI Functional MRI (fMRI) studies brain function.
FIL SPM Course 2010 Spatial Preprocessing
Unwarping.
Realignment – Motion Correction (gif from FMRIB at Oxford)
Concepts of SPM data analysis Marieke Schölvinck.
SPM for EEG/MEG Guillaume Flandin
Gordon Wright & Marie de Guzman 15 December 2010 Co-registration & Spatial Normalisation.
SPM 2002 C1C2C3 X =  C1 C2 Xb L C1 L C2  C1 C2 Xb L C1  L C2 Y Xb e Space of X C1 C2 Xb Space X C1 C2 C1  C3 P C1C2  Xb Xb Space of X C1 C2 C1 
Methods for Dummies Preprocessing: Realigning and Unwarping Rashmi Gupta and Luke Palmer.
Unwarping Irma Kurniawan MFD Realignment (within-modality) Realign + Unwarping (EPI with fieldmaps) 2. Between-modality Coregistration Coreg.
Introduction to Functional and Anatomical Brain MRI Research Dr. Henk Cremers Dr. Sarah Keedy 1.
OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear.
SPM5 Tutorial, Part 1 fMRI preprocessing Tiffany Elliott May
Coregistration and Normalisation By Lieke de Boer & Julie Guerin.
Preprocessing: Coregistration and Spatial Normalisation Cassy Fiford and Demis Kia Methods for Dummies 2014 With thanks to Gabriel Ziegler.
SPM5- Methods for Dummies 2007 P. Schwingenschuh
Pre-processing in fMRI: Realigning and unwarping
Spatial Preprocessing
Realigning and Unwarping MfD
Realigning and Unwarping MfD
Zurich SPM Course 2011 Spatial Preprocessing Ged Ridgway With thanks to John Ashburner and the FIL Methods Group.
Spatial preprocessing of fMRI data Methods & models for fMRI data analysis 25 February 2009 Klaas Enno Stephan Laboratory for Social and Neural Systrems.
Spatial preprocessing of fMRI data
SPM+fMRI. K space K Space Mechanism of BOLD Functional MRI Brain activity Oxygen consumptionCerebral blood flow Oxyhemoglobin Deoxyhemoglobin Magnetic.
Preprocessing II: Between Subjects John Ashburner Wellcome Trust Centre for Neuroimaging, 12 Queen Square, London, UK.
FMRI Preprocessing John Ashburner. Contents *Preliminaries *Rigid-Body and Affine Transformations *Optimisation and Objective Functions *Transformations.
Preprocessing Realigning and unwarping Jan 4th
FIL SPM Course May 2011 Spatial preprocessing Ged Ridgway With thanks to John Ashburner and the FIL Methods Group.
Connectivity of aMRI and fMRI data Keith Worsley Arnaud Charil Jason Lerch Francesco Tomaiuolo Department of Mathematics and Statistics, McConnell Brain.
Linear Algebra and Matrices
Co-registration and Spatial Normalisation
Statistical Parametric Mapping (SPM) 1. Talk I: Spatial Pre-processing 2. Talk II: General Linear Model 3. Talk III:Statistical Inference 3. Talk IV: Experimental.
Preprocessing of FMRI Data fMRI Graduate Course October 23, 2002.
Signal and noise. Tiny signals in lots of noise RestPressing hands Absolute difference % signal difference.
Coregistration and Spatial Normalisation
Coregistration and Spatial Normalization Jan 11th
SPM short course – Oct Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Correlation random fields, brain connectivity, and astrophysics Keith Worsley Arnaud Charil Jason Lerch Francesco Tomaiuolo Department of Mathematics and.
Spatial Preprocessing Ged Ridgway, FMRIB/FIL With thanks to John Ashburner and the FIL Methods Group.
Statistical Parametric Mapping Lecture 11 - Chapter 13 Head motion and correction Textbook: Functional MRI an introduction to methods, Peter Jezzard, Paul.
Functional Brain Signal Processing: EEG & fMRI Lesson 14
Methods for Dummies Overview and Introduction
Image Registration John Ashburner
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.
Preprocessing: Realigning and Unwarping Methods for Dummies, 2015/16 Sujatha Krishnan-Barman Filip Gesiarz.
1 st level analysis: Design matrix, contrasts, and inference Stephane De Brito & Fiona McNabe.
Variance components Wellcome Dept. of Imaging Neuroscience Institute of Neurology, UCL, London Stefan Kiebel.
MfD Co-registration and Normalisation in SPM
Spatial processing of FMRI data And why you may care.
The General Linear Model Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM fMRI Course London, October 2012.
SPM short course – Mai 2008 Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Zurich SPM Course 2012 Spatial Preprocessing
The General Linear Model
Spatial Preprocessing John Ashburner
fMRI Preprocessing John Ashburner
Realigning and Unwarping MfD
Keith Worsley Keith Worsley
Computational Neuroanatomy for Dummies
Image Preprocessing for Idiots
Spatial Preprocessing
Alysha Chelliah & Yuki Shimura
The general linear model and Statistical Parametric Mapping
Preprocessing: Coregistration and Spatial Normalisation
Anatomical Measures John Ashburner
The General Linear Model
The General Linear Model
The General Linear Model
Linear Algebra and Matrices
Presentation transcript:

JOAQUÍN NAVAJAS SARAH BUCK 2014 fMRI data pre-processing Methods for Dummies Realigning and unwarping

Spatial Normalisation (including co-registration) fMRI time-series Smoothing Anatomical reference Statistical Parametric Map Parameter Estimates General Linear Model Design matrix Motion Correction (and unwarping) Pre-processing ||||||||||||||||||||||||||||

Pre-processing in fMRI 4 pre-processing steps: 1. Realignment 2. Unwarping 3. Co-registration  Linear transformation to combine functional and anatomical images for the same subject 4. Spatial normalisation  Non-linear transformation to combine images from multiple subjects  MNI space Make sure we look at the same brain over time

Pre-processing in fMRI 4 pre-processing steps: 1. Realignment 2. Unwarping 3. Co-registration  Linear transformation to combine functional and anatomical images for the same subject 4. Spatial normalisation  Non-linear transformation to combine images from multiple subjects  MNI space Make sure we look at the same brain over time

Pre-processing in fMRI Signal in raw fMRI data is influenced by many factors other than brain activity  Heart beat, respiration, head movement, etc.

Motion in fMRI Problem  Increase residual variance  Movement can be correlated with the conditions  Reduce sensitivity

Motion in fMRI Solution: Reduce movement How?  Prevention  Short scanning sessions, instructions not to move, swallow etc., make subject comfortable, padding  Correction  Filter the data to remove these artefacts  Realigning Soft padding

Realigning Realign images acquired from the same subject over time 3D rigid-body transformation – size and shape of the brain images do not change Images can be spatially matched Two steps: 1. Registration (estimate) 2. Transformation (reslice)

Realigning: 1. Registration  Estimate 6 parameters for transformation between the source images and a reference image (1 st image)  3 translations (mm)  3 rotations (degrees) Translation Rotation

Realigning: 1. Registration Translation s Pitch about X axis Roll about Y axis Yaw about Z axis The transformations can be represented as matrices, and are multiplied together Estimation of the transformation parameters for each image, in SPM

Realigning: 2. Transformation  Apply the transformations to the functional images 1. Each image is matched to the first image of the time series 2. Mean of these aligned images Motion corrected Mean functionalfMRI time series

Head movement Estimate transformation parameters based on 1 st slice Apply the transformation parameters on each slice Calculate position of the brain for the 1 st slice Realigning: 2. Transformation

Re-sample (re-slice) source image onto the same grid of voxels as the reference image Need to fill in the gaps Determine values of the new voxels  Interpolation

Realigning: 2. Transformation - Interpolation Simple interpolation  Nearest neighbour: take the intensity of the closest voxel  Tri-linear: take the average of the neighbouring voxels B-spline  Better solution  Used in SPM

Realigning: 2. Transformation Realign After having realigned, we need to determine the intensity of each new voxel Original voxel New voxel to identify 1.Original voxels 2.New voxels to determine after realigning 3.For example, want to determine this voxel 4.3 types of interpolation possible: 1.Nearest Neighbour 2.Trilinear 3.B-Spline Original image Resampled image Put in slideshow mode to understand the process!

Pre-processing in fMRI 4 pre-processing steps: 1. Realignment 2. Unwarping 3. Co-registration  linear transformation to combine functional and anatomical images for the same subject 4. Spatial normalisation  Non-linear transformation to combine images from multiple subjects Make sure we look at the same brain over time

Even after realignment, there is still a lot of variance that is explained by movement (“movement-related residual variance”, or just “residual variance”) This can lead to two problems, especially if movements are correlated with the task: 1) Loss of sensitivity (we might miss “true” activations) 2) Loss of specificity (we might have false positives) After realignment…we’re not quite done

Why do we have “residual variance”? Many different sources of movement-related variance  SPM tackles one of them Different materials (e.g., air, gray matter, white matter) have different susceptibility (χ), producing a field inhomogeneity A deformation field gives you the strength and direction of deflections in the magnetic field relative to the object This deformation is particularly large when there is an air-tissue interface  Orbitofrontal cortex  Medial temporal lobe

Why do we have “residual variance”?

“Susceptibility-by-movement” unwarping How to reduce these distortions?  Measure the distortion field with Fieldmap What does the Unwarp toolbox of SPM?  Eliminate the variance that comes from “moving in front of the funny mirror” (susceptibility-by-movement variance)

“Susceptibility-by-movement” unwarping How much the deformation field changes with movement (i.e., spatial derivatives of the deformation field) Movements + Variance in the Time Series (Estimated) Movements (Estimated) Movements + Variance in the Time Series How much the deformation field changes with movement (i.e., spatial derivatives of the deformation field) Direct Problem Inverse Problem

What derivatives should we model? x y z B0B0   B 0 ( ,  ) = B 0 ( ,  ) + [( δ B 0 / δ  )  + ( δ B 0 / δ  )  ] Static Field Derivatives with respect to “Pitch” and “Roll” Laws of Physics tell you that only  and  matter, but for a constant field! In practice, adding any of the other 4 degrees of freedom (3 translations + “Yaw”) doesn’t add much (i.e., most of the variance is explained by “Pitch” and “Roll”) UNWARP in SPM let you include the second derivatives in this model, but in practice this is rarely useful

What derivatives should we model? B 0 ( ,  ) = B 0 ( ,  ) + [( δ B 0 / δ  )  + ( δ B 0 / δ  )  ] Static Field Derivatives with respect to “Pitch” and “Roll” The image is therefore re-sampled assuming voxels, corresponding to the same bits of brain tissue under such deformation field

When and why should I use UNWARP? If there is considerable movement in your data (> 1 mm or > 1 deg) then UNWARP can remove SOME of the unwanted variance without removing “true” activations. t max =13.38 No correction t max =5.06 Correction by covariation t max =9.57 Correction by Unwarp

When and why should I use UNWARP? If there is considerable movement in your data (> 1 mm or > 1 deg) then UNWARP can remove SOME of the unwanted variance without removing “true” activations. Limitations It doesn’t remove movement-related residual variance coming from other sources, such as: 1.Susceptibility-dropout-by-movement interaction 2.Spin-history effects 3.Slice-to-vol effects

Realign & Unwarp Summary 3 issues covered: 1.Rigid-Body Motion (Realign) 2.Deformations (Field Map) 3.Interactions Movement-Deformation (Unwarp)

Realign & Unwarp Summary

References - Realigning Ashburner & Friston. Rigid Body Registration. Chapter. Previous years’ MdF presentations Ged Ridgway (2010). UBC SPM Course df df Guillaume Flandin (2012). fMRI Preprocessing Andrew Jahn. Andy’s Brain Blog correction-afnis-3dvolreg.html correction-afnis-3dvolreg.html Matthijs Vink (2007). Preprocessing and Analysis of Functional MRI data. Rudolf Magnus Institute of Neuroscience.

References - Unwarping SPM toolbox tutorial: Paper presenting the method behind UNWARP: Andersson JLR, Hutton C, Ashburner J, Turner R, Friston K (2001). Modelling geometric deformations in EPI time series. NeuroImage 13: Previous years’ MfD slides General about movement-relates issues: Friston KJ, Williams SR, Howard R, Frackowiak RSJ and Turner R (1995). Movement-related effect in fMRI time-series. Magn Reson Med 35: