Pre-processing for “Voxel- Based Morphometry” John Ashburner The Wellcome Trust Centre for Neuroimaging 12 Queen Square, London, UK.

Slides:



Advertisements
Similar presentations
DARTEL John Ashburner 2008.
Advertisements

VBM Susie Henley and Stefan Klöppel Based on slides by John Ashburner
A Fast Diffeomorphic Image Registration Algorithm
A Growing Trend Larger and more complex models are being produced to explain brain imaging data. Bigger and better computers allow more powerful models.
SPM5 Segmentation. A Growing Trend Larger and more complex models are being produced to explain brain imaging data. Bigger and better computers allow.
Image Registration John Ashburner
Image Registration Carlton CHU
ENS Workshop John Ashburner Functional Imaging Lab, 12 Queen Square, London, UK.
Nonlinear Shape Modelling John Ashburner. Wellcome Trust Centre for Neuroimaging, UCL Institute of Neurology, London, UK.
Experiments on a New Inter- Subject Registration Method John Ashburner 2007.
VBM Voxel-based morphometry
Realignment – Motion Correction (gif from FMRIB at Oxford)
Gordon Wright & Marie de Guzman 15 December 2010 Co-registration & Spatial Normalisation.
Brain Morphometrics from MRI Scans John Ashburner The Wellcome Trust Centre for Neuroimaging 12 Queen Square, London, UK.
Co-registration and Spatial Normalisation Nazanin Derakshan Eddy Davelaar School of Psychology, Birkbeck University of London.
Voxel-Based Analysis of Quantitative Multi-Parameter Mapping (MPM) Brain Data for Studying Tissue Microstructure, Macroscopic Morphology and Morphometry.
OverviewOverview Motion correction Smoothing kernel Spatial normalisation Standard template fMRI time-series Statistical Parametric Map General Linear.
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.
Spatial Preprocessing
Jeroen Hermans, Frederik Maes, Dirk Vandermeulen, Paul Suetens
Computer vision: models, learning and inference
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.
Motion Analysis (contd.) Slides are from RPI Registration Class.
Spatial preprocessing of fMRI data
J. Daunizeau Wellcome Trust Centre for Neuroimaging, London, UK Institute of Empirical Research in Economics, Zurich, Switzerland Bayesian inference.
Multiple comparison correction Methods & models for fMRI data analysis 29 October 2008 Klaas Enno Stephan Branco Weiss Laboratory (BWL) Institute for Empirical.
Preprocessing II: Between Subjects John Ashburner Wellcome Trust Centre for Neuroimaging, 12 Queen Square, London, UK.
Voxel-Based Morphometry 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.
FIL SPM Course May 2011 Spatial preprocessing Ged Ridgway With thanks to John Ashburner and the FIL Methods Group.
Voxel-Based Morphometry John Ashburner Wellcome Trust Centre for Neuroimaging, 12 Queen Square, London, UK.
Voxel Based Morphometry
Co-registration and Spatial Normalisation
SegmentationSegmentation C. Phillips, Institut Montefiore, ULg, 2006.
Anatomical Measures John Ashburner zSegmentation zMorphometry zSegmentation zMorphometry.
DTU Medical Visionday May 27, 2009 Generative models for automated brain MRI segmentation Koen Van Leemput Athinoula A. Martinos Center for Biomedical.
Coregistration and Spatial Normalisation
SUPA Advanced Data Analysis Course, Jan 6th – 7th 2009 Advanced Data Analysis for the Physical Sciences Dr Martin Hendry Dept of Physics and Astronomy.
NA-MIC National Alliance for Medical Image Computing ABC: Atlas-Based Classification Marcel Prastawa and Guido Gerig Scientific Computing.
Bayesian Inference and Posterior Probability Maps Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course,
Feature based deformable registration of neuroimages using interest point and feature selection Leonid Teverovskiy Center for Automated Learning and Discovery.
Non-Euclidean Example: The Unit Sphere. Differential Geometry Formal mathematical theory Work with small ‘patches’ –the ‘patches’ look Euclidean Do calculus.
M. Pokric, P.A. Bromiley, N.A. Thacker, M.L.J. Scott, and A. Jackson University of Manchester Imaging Science and Biomedical Engineering Probabilistic.
Spatial Preprocessing Ged Ridgway, FMRIB/FIL With thanks to John Ashburner and the FIL Methods Group.
Voxel-based morphometry The methods and the interpretation (SPM based) Harma Meffert Methodology meeting 14 april 2009.
Volumetric Intersubject Registration John Ashburner Wellcome Department of Imaging Neuroscience, 12 Queen Square, London, UK.
Image Registration John Ashburner
Regularization of energy-based representations Minimize total energy E p (u) + (1- )E d (u,d) E p (u) : Stabilizing function - a smoothness constraint.
Bayesian Methods Will Penny and Guillaume Flandin Wellcome Department of Imaging Neuroscience, University College London, UK SPM Course, London, May 12.
National Alliance for Medical Image Computing Hierarchical Atlas Based EM Segmentation.
Guillaume Flandin Wellcome Trust Centre for Neuroimaging University College London SPM Course Zurich, February 2008 Bayesian Inference.
Spatial processing of FMRI data And why you may care.
Methods for Dummies Voxel-Based Morphometry (VBM)
Statistics on Diffeomorphisms in a Log-Euclidean Framework Vincent Arsigny ¹,Olivier Commowick ¹ ², Xavier Pennec ¹, Nicholas Ayache ¹. ¹ Research Team.
Group Analyses Guillaume Flandin SPM Course London, October 2016
Zurich SPM Course 2012 Spatial Preprocessing
Multi-modality image registration using mutual information based on gradient vector flow Yujun Guo May 1,2006.
Wellcome Trust Centre for Neuroimaging University College London
fMRI Preprocessing John Ashburner
Zurich SPM Course 2011 Spatial Preprocessing
Keith Worsley Keith Worsley
Computational Neuroanatomy for Dummies
Spatial Preprocessing
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Image Registration John Ashburner
Anatomical Measures John Ashburner
Wellcome Centre for Neuroimaging, UCL, UK.
Mixture Models with Adaptive Spatial Priors
Presentation transcript:

Pre-processing for “Voxel- Based Morphometry” John Ashburner The Wellcome Trust Centre for Neuroimaging 12 Queen Square, London, UK.

Contents Introduction Segmentation DARTEL Registration

Voxel-based Morphometry Pre-process the images of lots of subjects, to generate spatially normalised grey matter maps of each subject. Smooth spatially. Perform voxel-wise statistics. Try to interpret the findings in terms of volumetric differences.

Segment into different tissue classes Spatially Normalize – with scaling by Jacobian determinant Smooth Spatially Mass-univariate statistical testing Inference via Random Field Theory

Smoothing Before convolution Convolved with a circle Convolved with a Gaussian Each voxel after smoothing effectively becomes the result of applying a weighted region of interest (ROI).

Possible Explanations for Findings Thickening Thinning Folding Mis-classify Mis-register

Contents Introduction Segmentation –Mixture of Gaussians –Bias correction –Warping to match tissue probability maps DARTEL Registration

Tissue Segmentation Circularity: –Registration is helped by tissue classification or bias correction. –Tissue classification helped by registration and bias correction. –Bias correction is helped by registration and tissue classification. The solution is to put everything in the same generative model. –A MAP solution is found by repeatedly alternating among classification, bias correction and registration steps. Should produce “better” results than simple serial applications of each component.

A Generative Model A model of how the data may have been generated, which comprises: –Mixture of Gaussians (MOG) –Bias Correction –Non-linear Inter-subject Registration y1y1 c1c1   y2y2 y3y3 c2c2 c3c3     CC  CC yIyI cIcI

Mixture of Gaussians (MOG) Tissue classification is based on a Mixture of Gaussians model (MOG), which represents the intensity probability density by a number of Gaussian distributions. Image Intensity Frequency

Belonging Probabilities Belonging probabilities are assigned by normalising to one.

Non-Gaussian Intensity Distributions Multiple Gaussians per tissue class allow non- Gaussian intensity distributions to be modelled. –E.g. accounting for partial volume effects

Modelling a Bias Field Corrupted image Corrected image Bias Field

Tissue Probability Maps Tissue probability maps (TPMs) are used instead of the proportion of voxels in each Gaussian as the prior. ICBM Tissue Probabilistic Atlases. These tissue probability maps are kindly provided by the International Consortium for Brain Mapping, John C. Mazziotta and Arthur W. Toga.

Deforming the Tissue Probability Maps Tissue probability images are deformed so that they can be overlaid on top of the image to segment.

Optimisation The “best” parameters are those that maximise the log-probability. Optimisation involves finding them. Begin with starting estimates, and repeatedly change them so that the objective function decreases each time.

Steepest Descent Start Optimum Alternate between optimising different groups of parameters

Tissue probability maps of GM and WM Spatially normalised BrainWeb phantoms (T1, T2 and PD) Cocosco, Kollokian, Kwan & Evans. “BrainWeb: Online Interface to a 3D MRI Simulated Brain Database”. NeuroImage 5(4):S425 (1997)

Contents Introduction Segmentation DARTEL Registration –Scaling and squaring –Optimisation –Warping GM and WM images to their average

Parameterization Diffeomorphic Anatomical Registration Through Exponentiated Lie Algebra Deformations parameterized by a single flow field, which is considered to be constant in time. Not really a proper Lie Group. Often referred to as a one parameter subgroup.

Euler Integration Parameterising the deformation φ (0) (x) = x φ (1) (x) = ∫ u ( φ (t) (x) ) dt u is a flow field to be estimated Scaling and squaring is used to generate deformations. –c.f. matrix exponentiation t=0 1

Euler integration The differential equation is dφ(x)/dt = u ( φ (t) (x) ) By Euler integration φ (t+h) = φ (t) + hu(φ (t) ) Equivalent to φ (t+h) = (x + hu) o φ (t)

For (e.g) 8 time steps Simple integration φ (1/8) = x + u/8 φ (2/8) = φ (1/8) o φ (1/8) φ (3/8) = φ (1/8) o φ (2/8) φ (4/8) = φ (1/8) o φ (3/8) φ (5/8) = φ (1/8) o φ (4/8) φ (6/8) = φ (1/8) o φ (5/8) φ (7/8) = φ (1/8) o φ (6/8) φ (8/8) = φ (1/8) o φ (7/8) 7 compositions Scaling and squaring φ (1/8) = x + u/8 φ (2/8) = φ (1/8) o φ (1/8) φ (4/8) = φ (2/8) o φ (2/8) φ (8/8) = φ (4/8) o φ (4/8) 3 compositions Similar procedure used for the inverse. Starts with φ (-1/8) = x - u/8

Scaling and squaring example

Deformations at different times

Jacobians Jacobian fields can also be obtained by scaling and squaring. If warps are composed by: ϕ C = ϕ B ○ ϕ A then Jacobian matrices are obtained by: J ϕ C =(J ϕ B ○ ϕ A ) J ϕ A

Jacobian determinants remain positive (almost)

See also… C. Moler and C. van Loan. “Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later”. SIAM Review 45(1):3-49 (2003). V. Arsigny, O. Commowick, X. Pennec and N. Ayache. “A Log- Euclidean Polyaffine Framework for Locally Rigid or Affine Registration”. Proc. Of the 3rd International Workshop on Biomedical Image Registration (WBIR'06), 2006, pp LNCS vol Springer-Verlag, Utrecht, NL. V. Arsigny, O. Commowick, X. Pennec and N. Ayache. “A Log- Euclidean Framework for Statistics on Diffeomorphisms”. Proc. of the 9th International Conference on Medical Image Computing and Computer Assisted Intervention (MICCAI'06), 2006, pp LNCS Springer-Verlag, Berlin, Germany. M. Hernandez, M. N. Bossa, and S. Olmos. “Registration of anatomical images using geodesic paths of diffeomorphisms parameterized with stationary vector fields”. IEEE workshop on Math. Meth. in Biom. Image Anal. (MMBIA’07), 2007.

Contents Introduction Segmentation DARTEL Registration –Scaling and squaring –Optimisation –Warping GM and WM images to their average

Multinomial Likelihood Term Model is multinomial for matching tissue class images. -log p(t|μ, ϕ ) = -Σ j Σ k t jk log(μ k ( ϕ j )) t – individual GM, WM and background μ – template GM, WM and background ϕ – deformation A general purpose template should not have regions where log( μ ) is –Inf.

Prior Term ½u T Hu DARTEL has three different models for H –Membrane energy –Linear elasticity –Bending energy H is very sparse An example H for 2D registration of 6x6 images (linear elasticity)

Regularization models “Membrane energy” “Bending energy” Images registered using a small deformation approximation

Optimization Uses Gauss-Newton –Requires a matrix solution to a very large set of equations at each iteration u (k+1) = u (k) - (H+A) -1 b –b are the first derivatives of objective function –A is a sparse matrix of second derivatives –Computed efficiently, making use of scaling and squaring

Relaxation To solve Mx = c Split M into E and F, where E is easy to invert F is more difficult If M is diagonally dominant (membrane energy): x (k+1) = E -1 (c – F x (k) ) Otherwise regularize (bending or linear elastic energy): x (k+1) = x (k) + (E+sI) -1 (c – M x (k) ) –Diagonal dominance is when |m ii | > Σ i≠j |m ij |

M = H+A = E+F 2 nd derivs of prior term 2 nd derivs of likelihood term Easy to invert Difficult to invert

Highest resolution Lowest resolution Full Multi-Grid

A Prolongation of low resolution solution to current resolution. Add this to existing solution. Perform a few iterations of relaxation. Restrict residuals down to lower resolution.

B Prolongation of low resolution solution to current resolution. Add this to existing solution at current resolution. Perform a few iterations of relaxation. Prolongation of solution to higher resolution.

C Restrict high resolution residuals to current resolution. Perform a few iterations of relaxation. Restrict residuals down to lower resolution.

E Restrict higher resolution residuals to current resolution. Obtain exact solution by matrix inversion. Prolongation of solution to higher resolution.

See also… W. H. Press, S. A. Teukolsky, W. T. Vetterling and B. P. Flannery. Numerical Recipes in C (Second Edition). Cambridge University Press, Cambridge, UK –Chapter 15, Section 5 explains Gauss- Newton optimization (Levenberg-Marquardt without the regularisation). –Chapter 19, Section 6 explains the basics of multi-grid methods.

Contents Introduction Segmentation DARTEL Registration –Scaling and squaring –Optimisation –Warping GM and WM images to their average

Template Generation Initial Average After a few iterations Final template Iteratively generated from 471 subjects. Began with rigidly aligned tissue probability maps. Regularization lighter for later iterations.

Generative Model p( ϕ 1,t 1, ϕ 2,t 2, ϕ 3,t 3,… μ) = p(t 1, ϕ 1 |μ) p(t 2, ϕ 2 |μ) p(t 3, ϕ 3 |μ) … p(μ) = p(t 1 | ϕ 1,μ) p( ϕ 1 ) p(t 2 | ϕ 2,μ) p( ϕ 2 )… p(μ) MAP solution obtained for template. Requires p(μ) μ t1t1 ϕ1ϕ1 t2t2 ϕ2ϕ2 t3t3 ϕ3ϕ3 t4t4 ϕ4ϕ4 t5t5 ϕ5ϕ5

Laplacian Smoothness Priors on template 2D 3D

Template modelled as softmax of a Gaussian process μ k (x) = exp(a k (x))/(Σ j exp(a j (x))) MAP solution determined for a, by Gauss-Newton optimisation, using multi-grid.

ML and MAP templates from 6 subjects Nonlinearly aligned Rigidly aligned log MAP ML

471 Subject Average

Subject 1

471 Subject Average

Subject 2

471 Subject Average

Subject 3

471 Subject Average

Preprocessing with DARTEL

u Hu

“Initial momentum” Variable velocity framework (as in LDDMM)

“Initial momentum” Variable velocity framework (as in LDDMM)

Determining amount of regularisation Matrices too big for Bayesian variance component estimation. Used cross- validation. Smooth an image by different amounts, see how well it predicts other images: Rigidly aligned Nonlinear registered log p(t|μ) = Σ j Σ k t jk log(μ jk )