Unwarping Irma Kurniawan MFD 2008. 1. Realignment (within-modality) Realign + Unwarping (EPI with fieldmaps) 2. Between-modality Coregistration Coreg.

Slides:



Advertisements
Similar presentations
fMRI Methods Lecture6 – Signal & Noise
Advertisements

FIL SPM Course 2010 Spatial Preprocessing
Unwarping.
VBM Voxel-based morphometry
General Linear Model L ύ cia Garrido and Marieke Schölvinck ICN.
General Linear Model Beatriz Calvo Davina Bristow.
Buttons in SPM5 Carolyn McGettigan & Alice Grogan Methods for Dummies 5 th April 2006.
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.
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.
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.
07/01/15 MfD 2014 Xin You Tai & Misun Kim
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
Multiple comparison correction Methods & models for fMRI data analysis 29 October 2008 Klaas Enno Stephan Branco Weiss Laboratory (BWL) Institute for Empirical.
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
Brain segmentation and Phase unwrapping in MRI data ECE 738 Project JongHoon Lee.
Co-registration and Spatial Normalisation
2nd Level Analysis Jennifer Marchant & Tessa Dekker
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.
Spatial Preprocessing Ged Ridgway, FMRIB/FIL With thanks to John Ashburner and the FIL Methods Group.
Methods for Dummies Overview and Introduction
Spatial Smoothing and Multiple Comparisons Correction for Dummies Alexa Morcom, Matthew Brett Acknowledgements.
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.
Idiot's guide to... General Linear Model & fMRI Elliot Freeman, ICN. fMRI model, Linear Time Series, Design Matrices, Parameter estimation,
Preprocessing: Realigning and Unwarping Methods for Dummies, 2015/16 Sujatha Krishnan-Barman Filip Gesiarz.
The general linear model and Statistical Parametric Mapping I: Introduction to the GLM Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B.
The general linear model and Statistical Parametric Mapping II: GLM for fMRI Alexa Morcom and Stefan Kiebel, Rik Henson, Andrew Holmes & J-B Poline.
MfD Co-registration and Normalisation in SPM
Spatial processing of FMRI data And why you may care.
The general linear model and Statistical Parametric Mapping
Zurich SPM Course 2012 Spatial Preprocessing
The General Linear Model
2nd Level Analysis Methods for Dummies 2010/11 - 2nd Feb 2011
fMRI Preprocessing John Ashburner
Realigning and Unwarping MfD
Keith Worsley Keith Worsley
Computational Neuroanatomy for Dummies
The General Linear Model (GLM)
Image Preprocessing for Idiots
Spatial Preprocessing
Alysha Chelliah & Yuki Shimura
From buttons to code Eamonn Walsh & Domenica Bueti
The general linear model and Statistical Parametric Mapping
Preprocessing: Coregistration and Spatial Normalisation
The General Linear Model (GLM)
Anatomical Measures John Ashburner
Mixture Models with Adaptive Spatial Priors
The General Linear Model
Linear Algebra and Matrices
Presentation transcript:

Unwarping Irma Kurniawan MFD 2008

1. Realignment (within-modality) Realign + Unwarping (EPI with fieldmaps) 2. Between-modality Coregistration Coreg + estimate (T1 to EPI) 3. Segmentation (T1, to obtain seg_sn*.mat) 4. Normalisation (to stereotactic space) Normalise + write (EPI and T1 with seg_sn*.mat) 5. Smoothing (all EPI) 1. Realignment (within-modality) Realign + Unwarping (EPI with fieldmaps) 2. Between-modality Coregistration Coreg + estimate (T1 to EPI) 3. Segmentation (T1, to obtain seg_sn*.mat) 4. Normalisation (to stereotactic space) Normalise + write (EPI and T1 with seg_sn*.mat) 5. Smoothing (all EPI) Overview: potential pre-processing steps (applicable for a typical cognitive fMRI experiments) 1. Realignment (within-modality) Realign + Unwarping (EPI with fieldmaps) 2. Between-modality Coregistration Coreg + estimate (T1 to EPI) 3. Segmentation (T1, to obtain seg_sn*.mat) 4. Normalisation (to stereotactic space) Normalise + write (EPI and T1 with seg_sn*.mat) 5. Smoothing (all EPI) 1. Realignment (within-modality) Realign + Unwarping (EPI with fieldmaps) 2. Between-modality Coregistration Coreg + estimate (T1 to EPI) 3. Segmentation (T1, to obtain seg_sn*.mat) 4. Normalisation (to stereotactic space) Normalise + write (EPI and T1 with seg_sn*.mat) 5. Smoothing (all EPI)

Why unwarp? EPI images are not accurate reproductions of brain shape Different tissues have different magnetic susceptibilities These geometric distortions are most noticeable near cavities/ air- tissue interfaces (e.g. OFC, medial temporal lobe) When inhomogeneities are present in the field, the signal will not change linearly with subject position  this is what’s taken care of when unwarping This effect is called Movement-by- distortion interaction.

Advantages of incorporating unwarping in pre-processing One could include the movement parameters as confounds in the statistical model of activations. However, this may remove activations of interest if they are correlated with the movement. t max =13.38 No correction t max =5.06 Correction by covariation t max =9.57 Correction by Unwarp

How do we fix movement-by-distortion interaction? We estimate how the deformations change when the subject changes position. A deformation field indicates the directions and magnitudes of location deflections throughout the field (B 0 ) with respect to the real object. A deformation field can be thought of as little vectors at each position in space showing how that particular location has been deflected. This is done by formulating the inverse problem, i.e. given the observed variance (after realignment) and known (estimated) movements, we can estimate how deformations change with subject movement. The underlying model for this is so restricted, so experimentally induced variance (the good variance) is preserved. To do this we iterate: 1) estimate movement parameters, 2) estimate deformation fields, 1) re-estimate movement …and so on..

How does it do it? The field B 0, which changes as a function of displacement ∆θ, ∆φ, can be modelled by the first two terms of a Taylor expansionThe field B 0, which changes as a function of displacement ∆θ, ∆φ, can be modelled by the first two terms of a Taylor expansion B 0 () = B 0 () + [( δ B 0 / δ ( δ B 0 / δ ) ] B 0 ( ,  ) = B 0 ( ,  ) + [( δ B 0 / δ  )  + ( δ B 0 / δ  )  ] The ‘static’ deformation field, which is the same throughout the time series. Calculated using ‘Fieldmap’ in SPM Changes in the deformation field with subject movement. Estimated via iteration. Procedure in UNWARP.

Applying the deformation field to the image Once the deformation field has been modelled over time, the time-variant field is applied to the image.Once the deformation field has been modelled over time, the time-variant field is applied to the image. This allows us to assume that voxels over time are corresponding to the same parts of the brain, increasing the sensitivity of our analysis.This allows us to assume that voxels over time are corresponding to the same parts of the brain, increasing the sensitivity of our analysis.

In practice.. In practice, rather than generating a statistical field map for every image in the EPI data set, we compute how one map is warped over subsequent scans.

Slight digression: using fieldmaps Before realign + unwarp step: 1. In scanner: acquire 1 set of fieldmaps for each subject (regardless of number of runs per subject) 2. After scanning: convert fieldmaps into img files (DICOM import or TBR trajectories), A) use fieldmap toolbox OR B) use script on matlab to run Preprocess_fieldmap.m to create vdm files for each run for each subject. * You need to enter various default values in this step, so check physics wiki for the defaults appropriate to your scanner type and scanning sequence 3. Enter vdm* files with EPI images into realign + unwarp step

Step 2B: fieldmap toolbox on SPM8 If using toolbox, you need to load the right phase and mag images. phase: one for which there’s only one file with that series number Mag: the first file of the two files with the same series number Series number

Realign + unwarp on spm8 Click on ‘new session’ as many times as your session numbers The rest is default, but (if you’re scanning at FIL) : –Estimation options  ‘Wrap in Y’ Same goes for ‘Unwarp and reslicing options’ ‘images’ = EPI data fM*.img, ~100s images ‘phase map’ = vdm*.img Do this for each session Click ‘RUN’

Consider before using unwarp… Subject movements are quite smallSubject movements are quite small With the latest scanners, distortions are typically quite small, and distortion-by-motion interactions even smallerWith the latest scanners, distortions are typically quite small, and distortion-by-motion interactions even smaller Small distortions result from:Small distortions result from: a)Fast gradients b)Low field (i.e. <3T) c)Low resolution (smoothing) If your setup is as above, you may not need unwarping..If your setup is as above, you may not need unwarping..

Summary Movement-by-distortion interaction can be accommodated during realignment using “unwarp” in SPM8 WARNING!! UNWARP can be computationally intensive, and therefore take a long time!

References SPM5 manual ch.3SPM5 manual ch.3 Slides by (MfD 2007)Slides by Antoinette Nicolle (MfD 2007) Slides by Mary Summers (MfD 2006)Slides by Mary Summers (MfD 2006) John Ashburner’s slides desJohn Ashburner’s slides des des des Wiki physics page by Chloe HuttonWiki physics page by Chloe Hutton

Jacobian intensity modulation -Intended to correct appreciable movement in data (>1deg). -It minimises total (across the image volume) variance in the data set. Because the susceptibility-by-movement interaction effects are localised to ”problem” areas, the reduction of ‘unwanted variance’ in e.g. frontal-medial, orbitofrontal cortices, and temporal lobes can be quite dramatic (>90). -In theory: a brilliant idea, in practice: Not so. -Default: NO In the defaults there is also an option to include The advantages of using Unwarp will also depend strongly on the specifics of the scanner and sequence by which your data has been acquired. When using the latest generation scanners distortions are typically quite small, and distortion-by-movement interactions consequently even smaller. A small check list in terms of distortions is a) Fast gradients->short read-out time- >small distortions b) Low field (i.e. small field changes- >small distortions c) Low res (64x64)->short read-out time- >small distortions d) SENSE/SMASH->short read-out time- >small distortions If you can tick off all points above chances are you have minimal distortions to begin with and you can say ”sod Unwarp” (but not to our faces!). 3.1 Data