37
Statistical Computing on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional Riemannian Geometry with applications to image matching and shape analysis Xavier Pennec Asclepios team, INRIA Sophia- Antipolis Mediterranée, France With contributions from Vincent Arsigny, Pierre Fillard, Marco Lorenzi, Christof Seiler, Jonathan Boisvert, Nicholas Ayache, etc

Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Statistical Computing

on Manifolds for

Computational Anatomy 2:

Manifold Valued Image

Processing

Infinite-dimensional Riemannian

Geometry with applications to image

matching and shape analysis

Xavier Pennec

Asclepios team, INRIA Sophia-

Antipolis – Mediterranée, France

With contributions from Vincent

Arsigny, Pierre Fillard, Marco

Lorenzi, Christof Seiler,

Jonathan Boisvert, Nicholas

Ayache, etc

Page 2: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 2

Statistical Computing on Manifolds

for Computational Anatomy

Simple Statistics on Riemannian Manifolds

Manifold-Valued Image Processing

Metric and Affine Geometric Settings for Lie Groups

Analysis of Longitudinal Deformations

Page 3: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 3

Statistical Computing on Manifolds

for Computational Anatomy

Simple Statistics on Riemannian Manifolds

Manifold-Valued Image Processing

Introduction to diffusion tensor imaging

Interpolation, filtering, extrapolation of tensors

Other metrics and applications

Metric and Affine Geometric Settings for Lie Groups

Analysis of Longitudinal Deformations

Page 4: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

4

Introduction to diffusion tensor imaging (DTI)

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 5: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

5

Introduction to diffusion tensor imaging (DTI)

Classical MRI:

white mater, grey matter, CSF

Diffusion MRI:

MR technique born in the mid-80ies (Basser, LeBihan).

in vivo imaging of the white mater architecture

set of nervous fibers (axons): information highways of the brain!

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 6: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

6

Anatomy of a diffusion MRI

T2 image

+

6 diffusion weighted images

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 7: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

7

Stejskal & Tanner equation

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 8: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

8

Visualization using ellipsoids

P L

S

R A

I

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 9: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

9

Diffusion Tensor Imaging Covariance of the Brownian motion of water

-> Architecture of axonal fibers

Symmetric positive definite matrices

Cone: Convex operations are stable

mean, interpolation

Null eigenvalues are reachable in a finite

time : not physical!

More complex operations are not

PDEs, gradient descent…

SPD-valued image processing

Clinical images: Very noisy data

Robust estimation

Filtering, regularization

Interpolation / extrapolation Diffusion Tensor Field

(slice of a 3D volume)

X. Pennec - ESI - Shapes, Feb 10-13 2015

Intrinsic computing on Manifold-valued images?

Page 10: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 11

Statistical Computing on Manifolds

for Computational Anatomy

Simple Statistics on Riemannian Manifolds

Manifold-Valued Image Processing

Introduction to diffusion tensor imaging

Interpolation, filtering, extrapolation of tensors

Other metrics and applications

Metric and Affine Geometric Settings for Lie Groups

Analysis of Longitudinal Deformations

Page 11: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 13

GL(n)-Invariant Metrics on SPD matrices

Action of the Linear Group GLn

Invariant metric

Isotropy group at the identity: Rotations

All rotationally invariant scalar products:

Geodesics at Id

Exponential map

Log map

Distance

-1/n)( )Tr().Tr( Tr| 212121 WWWWWW Tdef

Id

Id

def

AA

tt WWAAWAAWWWt 2

2/1

1

2/1

2121 ,||

TAAA ..

2/12/12/12/1 )..exp()(

Exp

22/12/12 )..log(|),(

Iddist

2/12/12/12/1 )..log()(

Log

)exp()(, tWtWId

Page 12: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 14

GL(n)-Invariant Metrics on Tensors

Space of Gaussian distributions (Information geometry) (=0) Fisher information metric [Burbea & Rao J. Multivar Anal 12 1982,

Skovgaard Scand J. Stat 11 1984, Calvo & Oller Stat & Dec. 9 1991]

Tensor segmentation [Lenglet RR04 & JMIV 25(3) 2006]

Affine-invariant metrics for DTI processing (=0) [Pennec, Fillard, Ayache, IJCV 66(1), Jan 2006 / INRIA RR-5255, 2004]

PGA on tensors [Fletcher & Joshi CVMIA04, SigPro 87(2) 2007]

Geometric means (=0) Covariance matrices in computer vision [Forstner TechReport 1999]

Math. properties [Moakher SIAM J. Matrix Anal App 26(3) 2004]

Geodesic Anisotropy [Batchelor MRM 53 2005]

Homogeneous Embedding (=-1/(n+1) ) [Lovric & Min-Oo, J. Multivar Anal 74(1), 2000]

-1/n)( Tr .Tr21112

WWWW

Page 13: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 15

Bi-linear, tri-linear or spline interpolation?

Tensor interpolation

Geodesic walking in 1D )(exp)( 211 tt

2),( )(min)( ii distxwxRephrase as weighted mean

Riemannian Euclidean

Riemannian Euclidean

Page 14: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 16

Gaussian filtering: Gaussian weighted mean

n

i

ii distxxGx1

2),( )(min)(

Raw Coefficients =2 Riemann =2

Page 15: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

17

PDE for filtering and diffusion

Harmonic regularization

Gradient = manifold Laplacian

Trivial intrinsic numerical schemes with exponential maps!

Geodesic marching

Anisotropic diffusion

Perona-Malik 90 / Gerig 92

Robust functions

2

2

)1(

,, ,,

2 )()( )( uO

u

uxxx

u

i

zyxi zyxi

ii

dxxC

x

2

)()()(

))((exp)( )(1 xCx xt t

X. Pennec - ESI - Shapes, Feb 10-13 2015

u uxuw xxwx )( )()(

)(

dxx

x

2

)()()(Reg

[ Pennec, Fillard, Arsigny, IJCV 66(1), 2005, ISBI 2006]

Page 16: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

18

Anisotropic filtering

Initial

Noisy

Recovered

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 17: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 19

Anisotropic filtering

Raw Riemann Gaussian Riemann anisotropic

)/exp()( with )( )()(ˆ 22

)(ttwxxwx

u

uxu

2)1(2 /)()( )( uuxxx uuuu

Page 18: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

20

Extrapolation by Diffusion

Diffusion l=0.01 Original tensors Diffusion l=

2

)(1

2 )(2

)),(()(2

1)(

x

n

i

ii xdxxdistxxGCl

))(()()())((1

xxxxGxCn

i

ii

l

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 19: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 21

Statistical Computing on Manifolds

for Computational Anatomy

Simple Statistics on Riemannian Manifolds

Manifold-Valued Image Processing

Introduction to diffusion tensor imaging

Interpolation, filtering, extrapolation of tensors

Other metrics and applications

Metric and Affine Geometric Settings for Lie Groups

Analysis of Longitudinal Deformations

Page 20: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Log Euclidean Metric on Tensors

Exp/Log: global diffeomorphism Tensors/sym. matrices

Vector space structure carried from the tangent space to

the manifold

Log. product

Log scalar product

Bi-invariant metric

Properties

Invariance by the action of similarity transformations only

Very simple algorithmic framework

2121 loglogexp

logexp

2

21

2

21 loglog, dist

[Arsigny, MICCAI 2005 & MRM 56(2), 2006]

22 X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 21: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

23

Riemannian Frameworks on tensors

Affine-invariant Metric (Curved space – Hadamard)

Dot product

Geodesics

Distance

Log-Euclidean similarity invariant metric (vector space)

Transport Euclidean structure through matrix exponential

Dot product

Geodesics

Distance

[ Arsigny, Pennec, Fillard, Ayache, SIAM’06, MRM’06 ]

[ Pennec, Fillard, Ayache, IJCV 66(1), 2006, Lenglet JMIV’06, etc]

2/12/12/12/1 )...exp().(

ttExp

22/12/12

2

)..log(|),(distL

2

21

2

21 loglog,dist

))log(.)exp(log().( ttExp

IdAA

TT WVAWAAVAWVT

2/12/12/12/1 |||

IdWVWV )log(|)log(|

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 22: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Log Euclidean vs Affine invariant

Means are geometric (vs arithmetic for Euclidean)

Log Euclidean slightly more anisotropic

Speedup ratio: 7 (aniso. filtering) to >50 (interp.)

Euclidean Affine invariant Log-Euclidean

24 X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 23: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Log Euclidean vs Affine invariant

Real DTI images: anisotropic filtering

Difference is not significant

Speedup of a factor 7 for Log-Euclidean

Original Euclidean Log-Euclidean Diff. LE/affine (x100)

25 X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 24: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 26

Some other metrics on tensors

Square root metrics

Cholesky [Wang Vemuri et al, IPMI’03, TMI 23(8) 2004.]

Size and shape space [Dryden, Koloydenko & Zhou, 2008]

Power Euclidean [Dryden & Pennec, arXiv 2011]

Non Riemannian distances

J-Divergence [Wang & Vemuri, TMI 24(10), 2005]

Geodesic Loxodromes [Kindlmann et al. MICCAI 2007]

4th order tensors

[Gosh, Descoteau & Deriche MICCAI’08]

Page 25: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

27

Euclidean metric

Choleski metric

Log-Euclidean metric

Geodesic shooting in tensors spaces

Undefined (non positive)

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 26: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

28

DTI Estimation from DWI

Baseline + at

least 6 DWI

iT

ii DgbgSS exp0

+

Stejskal & Tanner

diffusion equation

Diffusion Tensor Field

Noise is Gaussian in complex DW signal

Rician = amplitude of complex Gaussian

LSQ on Rician noise = bias for low SNRs [Sijbers, TMI 1998]

Estimation / Regularization on complex DWI:

Anisotropic diffusion on Choleski factors [Wang & Vemuri, TMI’04]

Estimation with a Rician noise

Smoothing DWI before estimation [Basu & Fletcher, MICCAI 2006]

ML (MMSE) [Aja-Fernández et al, TMI 2008]

MAP with log-Euclidean prior [Fillard et al., ISBI 2006, TMI 2007]

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 27: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 29

Rician MAP estimation with Riemannian spatial prior

ML Rician MAP Rician Standard

Estimated tensors

FA

[ Fillard, Arsigny, Pennec, Ayache ISBI’06, TMI 26(11) 2007 ]

dxxdxSS

ISSS

MAPx

N

i

iiiii .)( .ˆ)(

2

)(ˆexp

ˆlog

2

)(1

202

22

2

Page 28: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 30

Clinical DTI of the spinal cord: fiber tracking

MAP Rician Standard

[ Fillard, Arsigny, Pennec, Ayache ISBI’06, TMI 26(11) 2007 ]

Page 29: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

T1 + Activation map + fibers

Corpus callosum + cingulum

Corticospinal tract and

thalamo cortical connections

Courtesy of P. Fillard

using MedINRIA

31 X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 30: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

32 X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 31: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Database

7 canine hearts from JHU

Anatomical MRI and DTI

Freely available at http://www-sop.inria.fr/asclepios/data/heart

•Average cardiac structure

•Variability of fibers, sheets

A Statistical Atlas of the Cardiac Fiber Structure [ J.M. Peyrat, et al., MICCAI’06, TMI 26(11), 2007]

33 X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 32: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Database

7 canine hearts from JHU

Anatomical MRI and DTI

Method

Normalization based on aMRIs

Log-Euclidean statistics of Tensors

A Statistical Atlas of the Cardiac Fiber Structure [ J.M. Peyrat, et al., MICCAI’06, TMI 26(11), 2007]

34

Norm

covariance

Eigenvalues

covariance

(1st, 2nd, 3rd)

Eigenvectors

orientation

covariance

(around 1st,

2nd, 3rd)

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 33: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Diffusion model of the human heart

10 human ex vivo hearts (CREATIS-LRMN, Lyon, France)

Classified as healthy (controlling weight, septal

thickness, pathology examination)

Acquired on 1.5T MR Avento Siemens

bipolar echo planar imaging, 4 repetitions, 12 gradients

Volume size: 128×128×52, 2 mm resolution

35

[ H. Lombaert Statistical Analysis of the

Human Cardiac Fiber Architecture from DT-

MRI, ISMRM 2011, FIMH 2011]

Fiber tractography in the left ventricle

Helix angle highly correlated to

the transmural distance

X. Pennec - ESI - Shapes, Feb 10-13 2015

Page 34: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Conclusion

The Riemannian computing framework

Integral or sum in M: minimize an intrinsic functional

Fréchet / Karcher mean

Filtering, convolution through weighted means

The exponential chart is the basic tool

Gradient descent is geodesic walking

Intrinsic numerical scheme for Laplace Beltrami

Extrapolation of sparse tensor measurements

Easy with log-Euclidean metrics

Directional discontinuities (faults) can be imposed

Anisotropic filtering with structure tensor

X. Pennec - ESI - Shapes, Feb 10-13 2015 54

Page 35: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

Advertisement

Mathematical Foundations of Computational Anatomy

Workshop at MICCAI 2013 (MFCA 2013)

Nagoya, Japan, September 22, 2013

X. Pennec - ESI - Shapes, Feb 10-13 2015 55

• Organizers: S. Bonnabel, J. Angulo, A. Cont, F.

Nielsen, F. Barbaresco

•Scientific committee: F. Nielsen, M. Boyom P.

Byande, F. Barbaresco, S. Bonnabel, R. Sepulchre,

M. Arnaudon, G. Peyré, B. Maury, M. Broniatowski,

M. Basseville, M. Aupetit, F. Chazal, R. Nock, J.

Angulo, N. Le Bihan, J. Manton, A. Cont, A.Dessein,

A.M. Djafari, H. Snoussi, A. Trouvé, S. Durrleman, X.

Pennec, J.F. Marcotorchino, M. Petitjean, M. Deza

Online Proceedings:

http://hal.inria.fr/MFCA/

http://www-sop.inria.fr/asclepios/events/MFCA11/

http://www-sop.inria.fr/asclepios/events/MFCA08/

http://www-sop.inria.fr/asclepios/events/MFCA06/

Page 36: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 56

Publications: http://www.inria.fr/sophia/asclepios/biblio

Software: http://www.inria.fr/sophia/asclepios/software/MedINRIA.

Thank You!

Page 37: Current issues in statistical analysis on manifolds for …shape2015/slides/pennec_course2.pdf · on Manifolds for Computational Anatomy 2: Manifold Valued Image Processing Infinite-dimensional

X. Pennec - ESI - Shapes, Feb 10-13 2015 57