Realignment – Motion Correction (gif from FMRIB at Oxford)

Slides:



Advertisements
Similar presentations
MRI vs. fMRI Functional MRI (fMRI) studies brain function.
Advertisements

FIL SPM Course 2010 Spatial Preprocessing
Unwarping.
Image Registration John Ashburner
Image Registration Carlton CHU
SPM – introduction & orientation introduction to the SPM software and resources introduction to the SPM software and resources.
Overview of SPM p <0.05 Statistical parametric map (SPM)
2nd level analysis – design matrix, contrasts and inference
Overview fMRI time-series Statistical Parametric Map Smoothing kernel
Concepts of SPM data analysis Marieke Schölvinck.
Computational Neuroanatomy John Ashburner SmoothingSmoothing Motion CorrectionMotion Correction Between Modality Co-registrationBetween.
Wellcome Centre for Neuroimaging at UCL
Experimental design of fMRI studies SPM Course 2014 Sandra Iglesias Translational Neuromodeling Unit University of Zurich & ETH Zurich With many thanks.
Experimental design of fMRI studies SPM Course 2012 Sandra Iglesias Translational Neuromodeling Unit University of Zurich & ETH Zurich With many thanks.
Outline What is ‘1st level analysis’? The Design matrix
A Cortical Area Selective for Visual Processing of the Human Body by P.E. Downing, Y. Jiang, M. Shuman, N.Kanwisher presented by Ilya Levner.
Methods for Dummies Preprocessing: Realigning and Unwarping Rashmi Gupta and Luke Palmer.
Co-registration and Spatial Normalisation Nazanin Derakshan Eddy Davelaar School of Psychology, Birkbeck University of London.
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
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.
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
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.
Coregistration and Spatial Normalisation
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.
Image Registration John Ashburner
SPM Pre-Processing Oli Gearing + Jack Kelly Methods for Dummies
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.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
MfD Co-registration and Normalisation in SPM
Mixture Models with Adaptive Spatial Priors Will Penny Karl Friston Acknowledgments: Stefan Kiebel and John Ashburner The Wellcome Department of Imaging.
Spatial processing of FMRI data And why you may care.
SPM short course – Mai 2008 Linear Models and Contrasts Jean-Baptiste Poline Neurospin, I2BM, CEA Saclay, France.
Preprocessing In SPM Yingying Wang 7/15/2014 Tuesday
Statistical Parametric
The general linear model and Statistical Parametric Mapping
Zurich SPM Course 2012 Spatial Preprocessing
Spatial Preprocessing John Ashburner
Wellcome Trust Centre for Neuroimaging University College London
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
From buttons to code Eamonn Walsh & Domenica Bueti
Image Registration John Ashburner
The general linear model and Statistical Parametric Mapping
SPM2: Modelling and Inference
Preprocessing: Coregistration and Spatial Normalisation
Anatomical Measures John Ashburner
Bayesian Inference in SPM2
Mixture Models with Adaptive Spatial Priors
Presentation transcript:

Realignment – Motion Correction (gif from FMRIB at Oxford)

OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear Model Design matrix Parameter Estimates

Reasons for Motion Correction Subjects will always move in the scannerSubjects will always move in the scanner The sensitivity of the analysis depends on the residual noise in the image series, so movement that is unrelated to the subject’s task will add to this noise and hence realignment will increase the sensitivityThe sensitivity of the analysis depends on the residual noise in the image series, so movement that is unrelated to the subject’s task will add to this noise and hence realignment will increase the sensitivity However, subject movement may also correlate with the task…However, subject movement may also correlate with the task… …in which case realignment may reduce sensitivity (and it may not be possible to discount artefacts that owe to motion)…in which case realignment may reduce sensitivity (and it may not be possible to discount artefacts that owe to motion) Subjects will always move in the scannerSubjects will always move in the scanner The sensitivity of the analysis depends on the residual noise in the image series, so movement that is unrelated to the subject’s task will add to this noise and hence realignment will increase the sensitivityThe sensitivity of the analysis depends on the residual noise in the image series, so movement that is unrelated to the subject’s task will add to this noise and hence realignment will increase the sensitivity However, subject movement may also correlate with the task…However, subject movement may also correlate with the task… …in which case realignment may reduce sensitivity (and it may not be possible to discount artefacts that owe to motion)…in which case realignment may reduce sensitivity (and it may not be possible to discount artefacts that owe to motion)

Within-subject Registration Assumes there is no shape change, and motion is rigid-body (i.e. translations/rotations)Assumes there is no shape change, and motion is rigid-body (i.e. translations/rotations) The steps are:The steps are: *Registration - i.e. Optimising the parameters that describe a rigid body transformation between the source and reference images - Reference image can be mean image or first image in session *Transformation - i.e. Re-sampling according to the determined transformation Assumes there is no shape change, and motion is rigid-body (i.e. translations/rotations)Assumes there is no shape change, and motion is rigid-body (i.e. translations/rotations) The steps are:The steps are: *Registration - i.e. Optimising the parameters that describe a rigid body transformation between the source and reference images - Reference image can be mean image or first image in session *Transformation - i.e. Re-sampling according to the determined transformation

1. Registration Determine the rigid body transformation body transformation that minimises the sum of squared difference between images between images Determine the rigid body transformation body transformation that minimises the sum of squared difference between images between images TranslationsPitchRollYaw Rigid body transformations parameterised by: Squared Error

1. Registration – Mean Squared Difference Minimising mean-squared difference works for intra-modal registration (realignment)Minimising mean-squared difference works for intra-modal registration (realignment) Simple relationship between intensities in one image, versus those in the otherSimple relationship between intensities in one image, versus those in the other –Assumes normally distributed differences

1. Registration Iterative procedure (Gauss- Newton ascent)Iterative procedure (Gauss- Newton ascent) Additional scaling parameterAdditional scaling parameter Nx6 matrix of realignment parameters written to file (N is number of scans)Nx6 matrix of realignment parameters written to file (N is number of scans) Orientation matrices in *.mat file updated for each volume (do not have to be resliced)Orientation matrices in *.mat file updated for each volume (do not have to be resliced) Reslice now or later  each time degrades the imageReslice now or later  each time degrades the image Iterative procedure (Gauss- Newton ascent)Iterative procedure (Gauss- Newton ascent) Additional scaling parameterAdditional scaling parameter Nx6 matrix of realignment parameters written to file (N is number of scans)Nx6 matrix of realignment parameters written to file (N is number of scans) Orientation matrices in *.mat file updated for each volume (do not have to be resliced)Orientation matrices in *.mat file updated for each volume (do not have to be resliced) Reslice now or later  each time degrades the imageReslice now or later  each time degrades the image

3D Rigid-body Transformations A 3D rigid body transform is defined by:A 3D rigid body transform is defined by: –3 translations - in X, Y & Z directions –3 rotations - about X, Y & Z axes The order of the operations mattersThe order of the operations matters A 3D rigid body transform is defined by:A 3D rigid body transform is defined by: –3 translations - in X, Y & Z directions –3 rotations - about X, Y & Z axes The order of the operations mattersThe order of the operations matters Translations Pitch about x axis Roll about y axis Yaw about z axis

Application of registration parameters involves re-sampling the image to create new voxels by interpolation from existing voxelsApplication of registration parameters involves re-sampling the image to create new voxels by interpolation from existing voxels Interpolation can be nearest neighbour (0-order), tri-linear (1st-order), (windowed) fourier/sinc, or in SPM2, nth-order “b-splines”Interpolation can be nearest neighbour (0-order), tri-linear (1st-order), (windowed) fourier/sinc, or in SPM2, nth-order “b-splines” Application of registration parameters involves re-sampling the image to create new voxels by interpolation from existing voxelsApplication of registration parameters involves re-sampling the image to create new voxels by interpolation from existing voxels Interpolation can be nearest neighbour (0-order), tri-linear (1st-order), (windowed) fourier/sinc, or in SPM2, nth-order “b-splines”Interpolation can be nearest neighbour (0-order), tri-linear (1st-order), (windowed) fourier/sinc, or in SPM2, nth-order “b-splines” 2. Transformation (reslicing) Nearest Neighbour Linear Full sinc (no alias) Windowed sinc

B-spline Interpolation A continuous function is represented by a linear combination of basis functions A continuous function is represented by a linear combination of basis functions Nearest neighbour and trilinear interpolation are the same as B-spline interpolation with degrees 0 and 1.

Interpolation errors, especially with tri-linear interpolation and small-window sincInterpolation errors, especially with tri-linear interpolation and small-window sinc Ghosts (and other artefacts) in the image (which do not move as a rigid body)Ghosts (and other artefacts) in the image (which do not move as a rigid body) Rapid movements within a scan (which cause non-rigid image deformation)Rapid movements within a scan (which cause non-rigid image deformation) Spin excitation history effects (residual magnetisation effects of previous scans)Spin excitation history effects (residual magnetisation effects of previous scans) Interaction between movement and local field inhomogeniety, giving non-rigid distortionInteraction between movement and local field inhomogeniety, giving non-rigid distortion Interpolation errors, especially with tri-linear interpolation and small-window sincInterpolation errors, especially with tri-linear interpolation and small-window sinc Ghosts (and other artefacts) in the image (which do not move as a rigid body)Ghosts (and other artefacts) in the image (which do not move as a rigid body) Rapid movements within a scan (which cause non-rigid image deformation)Rapid movements within a scan (which cause non-rigid image deformation) Spin excitation history effects (residual magnetisation effects of previous scans)Spin excitation history effects (residual magnetisation effects of previous scans) Interaction between movement and local field inhomogeniety, giving non-rigid distortionInteraction between movement and local field inhomogeniety, giving non-rigid distortion Residual Errors after Realignment

Sources & References & So On… Rik Henson’s SPM minicourse (where these slides where mostly stolen from)Rik Henson’s SPM minicourse (where these slides where mostly stolen from) John Ashburner’s lecture on spatial preprocessing (SPM course USA 2005)John Ashburner’s lecture on spatial preprocessing (SPM course USA 2005) Human Brain Function, 2 nd Edition (Edited by J Ashburner, K Friston, W Penny) – mostly chapter 2.Human Brain Function, 2 nd Edition (Edited by J Ashburner, K Friston, W Penny) – mostly chapter 2. Rik Henson’s SPM minicourse (where these slides where mostly stolen from)Rik Henson’s SPM minicourse (where these slides where mostly stolen from) John Ashburner’s lecture on spatial preprocessing (SPM course USA 2005)John Ashburner’s lecture on spatial preprocessing (SPM course USA 2005) Human Brain Function, 2 nd Edition (Edited by J Ashburner, K Friston, W Penny) – mostly chapter 2.Human Brain Function, 2 nd Edition (Edited by J Ashburner, K Friston, W Penny) – mostly chapter 2.