geometry of diverse, high-dimensional, and nonlinear ...jeffp/8f-cg/tfletcher.pdf · i shapes i...

87
Geometry of Diverse, High-Dimensional, and Nonlinear Imaging Data Tom Fletcher School of Computing University of Utah June 20, 2012

Upload: others

Post on 27-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Geometry of Diverse,High-Dimensional, and Nonlinear

Imaging Data

Tom FletcherSchool of Computing

University of Utah

June 20, 2012

Page 2: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Data in Vision and Imaging

I Directional data

I Transformation groups (rotations, projective, affine)I ShapesI Diffusion tensors, structure tensorsI Diffeomorphisms (deformable transformations)

Page 3: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Data in Vision and Imaging

I Directional dataI Transformation groups (rotations, projective, affine)

I ShapesI Diffusion tensors, structure tensorsI Diffeomorphisms (deformable transformations)

Page 4: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Data in Vision and Imaging

I Directional dataI Transformation groups (rotations, projective, affine)I Shapes

I Diffusion tensors, structure tensorsI Diffeomorphisms (deformable transformations)

Page 5: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Data in Vision and Imaging

I Directional dataI Transformation groups (rotations, projective, affine)I ShapesI Diffusion tensors, structure tensors

I Diffeomorphisms (deformable transformations)

Page 6: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Data in Vision and Imaging

I Directional dataI Transformation groups (rotations, projective, affine)I ShapesI Diffusion tensors, structure tensorsI Diffeomorphisms (deformable transformations)

Page 7: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Statistics: Averages

Page 8: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Statistics: Averages

Page 9: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Statistics: Variability

Shape priors in segmentation

Page 10: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Statistics: Hypothesis Testing

Testing group differences

Cates, et al. IPMI 2007 and ISBI 2008.

Page 11: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Statistics: Regression

Application: Healthy Brain Aging

35 37 39 41 43

45 47 49 51 53

Page 12: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

What is Shape?

Shape is the geometry of an object modulo position,orientation, and size.

Page 13: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

What is Shape?

Shape is the geometry of an object modulo position,orientation, and size.

Page 14: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Shape Analysis

Shape Space

A shape is a point in a high-dimensional, nonlinearshape space.

Page 15: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Shape Analysis

Shape Space

A shape is a point in a high-dimensional, nonlinearshape space.

Page 16: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Shape Analysis

Shape Space

A shape is a point in a high-dimensional, nonlinearshape space.

Page 17: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Shape Analysis

Shape Space

A shape is a point in a high-dimensional, nonlinearshape space.

Page 18: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Shape Analysis

Shape Space

A metric space structure provides a comparisonbetween two shapes.

Page 19: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Kendall’s Shape Space

I Define object with k points.I Represent as a vector in R2k.I Remove translation, rotation, and

scale.I End up with complex projective

space, CPk−2.

Kendall, 1984

Page 20: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Quotient Spaces

What do we get when we “remove” scaling from R2?

x

Notation: [x] ∈ R2/R+

Page 21: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Quotient Spaces

What do we get when we “remove” scaling from R2?

x

[x]

Notation: [x] ∈ R2/R+

Page 22: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Quotient Spaces

What do we get when we “remove” scaling from R2?

x

[x]

Notation: [x] ∈ R2/R+

Page 23: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Quotient Spaces

What do we get when we “remove” scaling from R2?

x

[x]

Notation: [x] ∈ R2/R+

Page 24: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Quotient Spaces

What do we get when we “remove” scaling from R2?

x

[x]

Notation: [x] ∈ R2/R+

Page 25: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Constructing Kendall’s Shape Space

I Consider planar landmarks to be points in thecomplex plane.

I An object is then a point (z1, z2, . . . , zk) ∈ Ck.I Removing translation leaves us with Ck−1.I How to remove scaling and rotation?

Page 26: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Constructing Kendall’s Shape Space

I Consider planar landmarks to be points in thecomplex plane.

I An object is then a point (z1, z2, . . . , zk) ∈ Ck.

I Removing translation leaves us with Ck−1.I How to remove scaling and rotation?

Page 27: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Constructing Kendall’s Shape Space

I Consider planar landmarks to be points in thecomplex plane.

I An object is then a point (z1, z2, . . . , zk) ∈ Ck.I Removing translation leaves us with Ck−1.

I How to remove scaling and rotation?

Page 28: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Constructing Kendall’s Shape Space

I Consider planar landmarks to be points in thecomplex plane.

I An object is then a point (z1, z2, . . . , zk) ∈ Ck.I Removing translation leaves us with Ck−1.I How to remove scaling and rotation?

Page 29: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Scaling and Rotation in the Complex PlaneIm

Re0

!

r

Recall a complex number can be writ-ten as z = reiφ, with modulus r andargument φ.

Complex Multiplication:

seiθ ∗ reiφ = (sr)ei(θ+φ)

Multiplication by a complex number seiθ is equivalent toscaling by s and rotation by θ.

Page 30: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Scaling and Rotation in the Complex PlaneIm

Re0

!

r

Recall a complex number can be writ-ten as z = reiφ, with modulus r andargument φ.

Complex Multiplication:

seiθ ∗ reiφ = (sr)ei(θ+φ)

Multiplication by a complex number seiθ is equivalent toscaling by s and rotation by θ.

Page 31: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Removing Scale and Translation

Multiplying a centered point set, z = (z1, z2, . . . , zk−1),by a constant w ∈ C, just rotates and scales it.

Thus the shape of z is an equivalence class:

[z] = {(wz1,wz2, . . . ,wzk−1) : ∀w ∈ C}

This gives complex projective space CPk−2 – much likethe sphere comes from equivalence classes of scalarmultiplication in Rn.

Page 32: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Removing Scale and Translation

Multiplying a centered point set, z = (z1, z2, . . . , zk−1),by a constant w ∈ C, just rotates and scales it.

Thus the shape of z is an equivalence class:

[z] = {(wz1,wz2, . . . ,wzk−1) : ∀w ∈ C}

This gives complex projective space CPk−2 – much likethe sphere comes from equivalence classes of scalarmultiplication in Rn.

Page 33: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Removing Scale and Translation

Multiplying a centered point set, z = (z1, z2, . . . , zk−1),by a constant w ∈ C, just rotates and scales it.

Thus the shape of z is an equivalence class:

[z] = {(wz1,wz2, . . . ,wzk−1) : ∀w ∈ C}

This gives complex projective space CPk−2 – much likethe sphere comes from equivalence classes of scalarmultiplication in Rn.

Page 34: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

The Exponential and Log Maps

pT M pExp (X)p

X

M

I The exponential map takes tangent vectors topoints along geodesics.

I The length of the tangent vector equals the lengthalong the geodesic segment.

I Its inverse is the log map – it gives distancebetween points: d(p, q) = ‖Logp(q)‖.

Page 35: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Intrinsic Means (Frechet, 1948)

The intrinsic mean of a collection of points x1, . . . , xN ona metric space M is

µ = arg minx∈M

N∑

i=1

d(x, xi)2,

If M is a Riemannian manifold, d is geodesic distance.

Page 36: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 37: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 38: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 39: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 40: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 41: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 42: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 43: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 44: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 45: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Computing Means

Gradient Descent Algorithm:

Input: x1, . . . , xN ∈ M

µ0 = x1

Repeat:

δµ = 1N

∑Ni=1 Logµk

(xi)

µk+1 = Expµk(δµ)

Page 46: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 47: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 48: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 49: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 50: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 51: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 52: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Principal Geodesic Analysis

Linear Statistics (PCA) Curved Statistics (PGA)

Page 53: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

PGA of Kidney

Mode 1 Mode 2 Mode 3

Page 54: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Robust Statistics: Motivation

I The mean is overly influenced by outliers due tosum-of-squares.

I Robust statistical description of shape or othermanifold data.

I Deal with outliers due to imaging noise or datacorruption.

I Misdiagnosis, segmentation error, or outlier in apopulation study.

Page 55: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Mean vs. Median in Rn

Mean: least-squares problem

µ = arg minx∈Rn

∑‖x− xi‖2

Closed-form solution (arithmetic average)

Geometric Median, or Fermat-Weber Point:

m = arg minx∈Rn

∑‖x− xi‖

No closed-form solution

Page 56: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Mean vs. Median in Rn

Mean: least-squares problem

µ = arg minx∈Rn

∑‖x− xi‖2

Closed-form solution (arithmetic average)

Geometric Median, or Fermat-Weber Point:

m = arg minx∈Rn

∑‖x− xi‖

No closed-form solution

Page 57: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Weiszfeld Algorithm in Rn

I Gradient descent on sum-of-distance:

mk+1 = mk − αGk,

Gk =∑

i∈Ik

mk − xi

‖xi − mk‖

/(∑

i∈Ik

‖xi − mk‖−1

)

I Step size: 0 < α ≤ 2I Exclude singular points: Ik = {i : mk 6= xi}I Weiszfeld (1937), Ostresh (1978)

Page 58: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Geometric Median on a Manifold

The geometric median of data xi ∈ M is the point thatminimizes the sum of geodesic distances:

m = arg minx∈M

N∑

i=1

d(x, xi)

Fletcher, et al. CVPR 2008 and NeuroImage 2009.

Page 59: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Weiszfeld Algorithm for Manifolds

Gradient descent:

mk+1 = Expmk(αvk),

vk =∑

i∈Ik

Logmk(xi)

d(mk, xi)

/(∑

i∈Ik

d(mk, xi)−1)

Page 60: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example: RotationsInput data: 20 random rotations

Outlier set: random, rotated 90◦

Page 61: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example: Rotations

Mean

Median

0 outliers 5 outliers 10 outliers 15 outliers

Page 62: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example on Kendall Shape Spaces

Hand shapes

Outliers

Page 63: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example on Kendall Shape Spaces

Mean:

# Outliers: 0 2 6 12

Median:

# Outliers: 0 2 6 12

Page 64: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example on Kendall Shape Spaces

Mean:

# Outliers: 0 2 6 12

Median:

# Outliers: 0 2 6 12

Page 65: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Image Metamorphosis

I Metric between imagesI Includes both deformation and intensity change

U(vt, It) =

∫ 1

0‖vt‖2

V dt +1σ2

∫ 1

0

∥∥∥∥dIt

dt+ 〈∇It, vt〉

∥∥∥∥2

L2

dt

Fig. 1. Metamorphosis geodesic between two 3D brain images. Mid-axial (top row) and mid-coronal (bottom row) slices are shown.

The theory of robust estimation has led to the devel-opment of numerous robust estimators, of which the L1-estimator, also known as the geometric median, is one ofthe best known. Given a set of points {xi, i = 1, · · · , n} !Rd, with the usual Euclidean norm "x", the L1-estimatoris defined as the point m ! Rd minimizing

!ni=1 "m# xi".

It can be shown (Lopuhaa and Rousseeuw, 1991) that thisestimator has a breakdown point of 0.5, which means thathalf of the data needs to be corrupted in order to corruptthis estimator. In Figure 2 we illustrate this by showinghow the geometric median and the mean are displaced inthe presence of a few outliers.

Fig. 2. The geometric median (marked with a !) and mean (marked

with a !) for a collection of points in the plane. Notice how the few

outliers at the top right of the picture have forced the mean awayfrom the points, whereas the median remains centrally located.

The existence and uniqueness of the the median in Rd

follows directly from the convexity of the distance function.In one dimension, the geometric median is the point thatdivides the point set into equal halves on either side (if n isodd) and is any point on the line segment connecting thetwo middle points (if n is even). In general however, com-

puting the geometric median is di!cult; Bajaj has shownthat the solution cannot be expressed using radicals (arith-metic operations, and kth roots) (Bajaj, 1988).

There are two main approaches to computing the geo-metric median of a collection of points in Rd. One way is tocompute an approximate median m such that

!ni=1 "m #

xi" is at most a (1 + !)-factor larger than cost of the op-timal median. This can be computed using the ellipsoidmethod (Chandrasekaran and Tamir, 1990). A more e!-cient algorithm achieving the same result is due to Boseet al. (2003).

These algorithms do not generalize beyond Euclideanspaces. A more general iterative algorithm due to Weiszfeld(1937) and later improved by Kuhn and Kuenne (1962)and Ostresh (1978) converges to the optimal solution inEuclidean spaces (Kuhn, 1973), and was subsequently gen-eralized to Banach spaces by Eckhardt (1980).

Several other robust estimators of centrality have beenproposed in the statistics literature (Maronna et al., 2006).Winsorized means, where a percentage of extreme valuesare clamped, and trimmed means, where extreme values areremoved, have been used for univariate data. The drawbackof these methods is that they require a somewhat arbitraryselection of a threshold. M-estimators (Huber, 1981) area generalization of maximum likelihood methods in whichsome function of the data is minimized. The geometric me-dian is a special case of an M-estimator with an L1 costfunction.

3. The Riemannian Geometric Median

Let M be a Riemannian manifold. Given pointsx1, . . . , xn ! M and corresponding positive real weightswi, . . . , wn, with

!i wi = 1, define the weighted sum-of-

distances function f(x) =!

i wid(x, xi), where d is theRiemannian distance function on M . Throughout, we willassume that the xi lie in a convex set U $ M , i.e., any twopoints in U are connected by a unique shortest geodesic ly-ing entirely in U . We define the weighted geometric median,

3

Page 66: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Image Metamorphosis

I Metric between imagesI Includes both deformation and intensity change

U(vt, It) =

∫ 1

0‖vt‖2

V dt +1σ2

∫ 1

0

∥∥∥∥dIt

dt+ 〈∇It, vt〉

∥∥∥∥2

L2

dt

Fig. 1. Metamorphosis geodesic between two 3D brain images. Mid-axial (top row) and mid-coronal (bottom row) slices are shown.

The theory of robust estimation has led to the devel-opment of numerous robust estimators, of which the L1-estimator, also known as the geometric median, is one ofthe best known. Given a set of points {xi, i = 1, · · · , n} !Rd, with the usual Euclidean norm "x", the L1-estimatoris defined as the point m ! Rd minimizing

!ni=1 "m# xi".

It can be shown (Lopuhaa and Rousseeuw, 1991) that thisestimator has a breakdown point of 0.5, which means thathalf of the data needs to be corrupted in order to corruptthis estimator. In Figure 2 we illustrate this by showinghow the geometric median and the mean are displaced inthe presence of a few outliers.

Fig. 2. The geometric median (marked with a !) and mean (marked

with a !) for a collection of points in the plane. Notice how the few

outliers at the top right of the picture have forced the mean awayfrom the points, whereas the median remains centrally located.

The existence and uniqueness of the the median in Rd

follows directly from the convexity of the distance function.In one dimension, the geometric median is the point thatdivides the point set into equal halves on either side (if n isodd) and is any point on the line segment connecting thetwo middle points (if n is even). In general however, com-

puting the geometric median is di!cult; Bajaj has shownthat the solution cannot be expressed using radicals (arith-metic operations, and kth roots) (Bajaj, 1988).

There are two main approaches to computing the geo-metric median of a collection of points in Rd. One way is tocompute an approximate median m such that

!ni=1 "m #

xi" is at most a (1 + !)-factor larger than cost of the op-timal median. This can be computed using the ellipsoidmethod (Chandrasekaran and Tamir, 1990). A more e!-cient algorithm achieving the same result is due to Boseet al. (2003).

These algorithms do not generalize beyond Euclideanspaces. A more general iterative algorithm due to Weiszfeld(1937) and later improved by Kuhn and Kuenne (1962)and Ostresh (1978) converges to the optimal solution inEuclidean spaces (Kuhn, 1973), and was subsequently gen-eralized to Banach spaces by Eckhardt (1980).

Several other robust estimators of centrality have beenproposed in the statistics literature (Maronna et al., 2006).Winsorized means, where a percentage of extreme valuesare clamped, and trimmed means, where extreme values areremoved, have been used for univariate data. The drawbackof these methods is that they require a somewhat arbitraryselection of a threshold. M-estimators (Huber, 1981) area generalization of maximum likelihood methods in whichsome function of the data is minimized. The geometric me-dian is a special case of an M-estimator with an L1 costfunction.

3. The Riemannian Geometric Median

Let M be a Riemannian manifold. Given pointsx1, . . . , xn ! M and corresponding positive real weightswi, . . . , wn, with

!i wi = 1, define the weighted sum-of-

distances function f(x) =!

i wid(x, xi), where d is theRiemannian distance function on M . Throughout, we willassume that the xi lie in a convex set U $ M , i.e., any twopoints in U are connected by a unique shortest geodesic ly-ing entirely in U . We define the weighted geometric median,

3

Page 67: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example: Metamorphosis

Fig. 12. Midaxial slices from the four input 3D MR images (left). The resulting geometric median atlas (right).

Grant R01EB007688-01A1.

ReferencesBajaj, C., 1988. The algebraic degree of geometric opti-

mization problems. Discrete and Computational Geom-etry 3, 177–191.

Barmpoutis, A., Vemuri, B. C., Shepherd, T. M., Forder,J. R., 2007. Tensor splines for interpolation and approx-imation of DT-MRI with application to segmentation ofisolated rat hippocampi. IEEE Transactions on MedicalImaging 26 (11), 1537–1546.

Basser, P. J., Mattiello, J., Bihan, D. L., 1994. MR di!usiontensor spectroscopy and imaging. Biophysics Journal 66,259–267.

Batchelor, P., Moakher, M., Atkinson, D., Calamante, F.,Connelly, A., 2005. A rigorous framework for di!usiontensor calculus. Magnetic Resonance in Medicine 53,221–225.

Bigun, J., Granlund, G., Wiklund, J., 1991. Multidimen-sional orientation estimation with application to textureanalysis and optical flow. IEEE Transactions on PatternAnalysis and Machine Intelligence 13 (8), 775–790.

Bookstein, F. L., 1986. Size and shape spaces for landmarkdata in two dimensions (with discussion). Statistical Sci-ence 1 (2), 181–242.

Bose, P., Maheshwari, A., Morin, P., 2003. Fast approxima-tions for sums of distances, clustering and the fermat–weber problem. Comput. Geom. Theory Appl. 24 (3),135–146.

Buss, S. R., Fillmore, J. P., 2001. Spherical averages andapplications to spherical splines and interpolation. ACMTransactions on Graphics 20 (2), 95–126.

Chandrasekaran, R., Tamir, A., 1990. Algebraic optimiza-tion: The Fermat-Weber problem. Mathematical Pro-gramming 46, 219–224.

Cheeger, J., Ebin, D. G., 1975. Comparison Theorems inRiemannian Geometry. North-Holland.

Cootes, T. F., Taylor, C. J., Cooper, D. H., Graham, J.,1995. Active shape models – their training and appli-cation. Comp. Vision and Image Understanding 61 (1),38–59.

Corouge, I., Fletcher, P. T., Joshi, S., Gouttard, S., Gerig,G., 2006. Fiber tract-oriented statistics for quantitativedi!usion tensor MRI analysis. Medical Image Analysis10 (5), 786–798.

Eckhardt, U., 1980. Weber’s problem and Weiszfeld’s algo-rithm in general spaces. Mathematical Programming 18,186–196.

Fletcher, P. T., Joshi, S., 2004. Principal geodesic analysison symmetric spaces: statistics of di!usion tensors. In:Proceedings of ECCV Workshop on Computer VisionApproaches to Medical Image Analysis. pp. 87–98.

Fletcher, P. T., Lu, C., Joshi, S., 2003. Statistics of shapevia principal geodesic analysis on Lie groups. In: Pro-ceedings of the IEEE Conference on Computer Visionand Pattern Recognition. pp. 95–101.

Fletcher, P. T., Tao, R., Jeong, W.-K., Whitaker, R. T.,2007. A volumetric approach to quantifying region-to-region white matter connectivity in di!usion tensor MRI.In: Proceedings of Information Processing in MedicalImaging (IPMI). pp. 346–358.

Frechet, M., 1948. Les elements aleatoires de nature quel-conque dans un espace distancie. Ann. Inst. H. Poincare10 (3), 215–310.

Garcin, L., Younes, L., 2005. Geodesic image matching: awavelet based energy minimization scheme. In: Work-shop on Energy Minimization Methods in Computer Vi-

11

Input Data Median Atlas

Page 68: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Describing Shape Change

I How does shape change over time?I Changes due to growth, aging, disease, etc.I Example: 100 healthy subjects, 20–80 yrs. old

I We need regression of shape!

Page 69: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Regression on Manifolds

M

yi

Given:Manifold data: yi ∈ MScalar data: xi ∈ R

Want:Relationship f : R→ M“how x explains y”

x

f (x)

Page 70: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Regression on Manifolds

M

yi

Given:Manifold data: yi ∈ MScalar data: xi ∈ R

Want:Relationship f : R→ M“how x explains y”

x

f (x)

Page 71: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Regression on Manifolds

M

yi

(x if )

Given:Manifold data: yi ∈ MScalar data: xi ∈ R

Want:Relationship f : R→ M“how x explains y”

x

f (x)

Page 72: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Parametric vs. Nonparametric Regression

●●

●●

●●

●●

● ●

●●

0.2 0.4 0.6 0.8 1.0

0.0

0.5

1.0

x

y

Linear Regression

●●

●●

●●

● ●

●●

● ●●●

● ●

●●

● ●

●●

0.0 0.2 0.4 0.6 0.8 1.0

0.5

0.6

0.7

0.8

0.9

xy

Kernel Regression

Page 73: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Kernel Regression (Nadaraya-Watson)

Define regression function through weighted averaging:

f (t) =N∑

i=1

wi(t)Yi

wi(t) =Kh(t − Ti)∑Ni=1 Kh(t − Ti)

Page 74: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Example: Gray Matter Volume

K (t-s)

t

h

sti

wi(t) =Kh(t − Ti)∑Ni=1 Kh(t − Ti)

f (t) =N∑

i=1

wi(t)Yi

Page 75: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Manifold Kernel Regression

m

M

pi

^ (t)h

Using Frechet weighted average:

mh(t) = arg miny

N∑

i=1

wi(t)d(y,Yi)2

Davis, et al. ICCV 2007

Page 76: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Geodesic Regression

I Generalization of linear regression.I Find best fitting geodesic to the data (xi, yi).I Least-squares problem:

E(p, v) =12

N∑

i=1

d (Exp(p, xi v), yi)2

(p, v) = arg min(p,v)∈TM

E(p, v)

Page 77: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Geodesic Regression

M

yi

(x f ) = Exp(p, xv)

p

v

Page 78: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Experiment: Corpus Callosum

● ● ●● ● ●

● ●●

● ●●

●●

●●●

●●

●●

● ● ● ● ● ●●

●●

●●●●●

●●

●●

●●●●●●●●●●

●●

●●

●●●●●●●●●●●●●●●●

●●●●●●●●●●●●

●●

●●

●●

●●

●●

●●

●●

●● ● ● ●

●●●

●●●●

●●

●●

●●

●● ● ● ● ● ● ● ● ● ● ● ● ●

I The corpus callosum is the main interhemisphericwhite matter connection

I Known volume decrease with agingI 32 corpus callosi segmented from OASIS MRI dataI Point correspondences generated using

ShapeWorks www.sci.utah.edu/software/

Page 79: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

The Tangent Bundle, TM

I Space of all tangent vectors (and their base points)I Has a natural metric, called Sasaki metricI Can compute geodesics, distances between

tangent vectors

Page 80: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Longitudinal Models

M

p

u

i

i yij

Individual geodesic trends:

Yi = Exp(Exp(pi,Xiui), εi)

Average group trend (in TM):

(pi, ui) = ExpS((α, β), (vi,wi))

Muralidharan & Fletcher, CVPR 2012

Page 81: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Longitudinal Corpus Callosum Experiment

I 12 subjects with dementia, 11 healthy controlsI 3 time points each, spanning 6 years

Healthy Controls Dementia Patients

Statistically significant: p = 0.027

Page 82: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Open Problems

I Estimator properties: consistency, efficiencyI Approximation quality (e.g., dimensionality

reduction)I Clustering, classificationI Sparsity-like principles

Page 83: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Open Problems

I Estimator properties: consistency, efficiency

I Approximation quality (e.g., dimensionalityreduction)

I Clustering, classificationI Sparsity-like principles

Page 84: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Open Problems

I Estimator properties: consistency, efficiencyI Approximation quality (e.g., dimensionality

reduction)

I Clustering, classificationI Sparsity-like principles

Page 85: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Open Problems

I Estimator properties: consistency, efficiencyI Approximation quality (e.g., dimensionality

reduction)I Clustering, classification

I Sparsity-like principles

Page 86: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Open Problems

I Estimator properties: consistency, efficiencyI Approximation quality (e.g., dimensionality

reduction)I Clustering, classificationI Sparsity-like principles

Page 87: Geometry of Diverse, High-Dimensional, and Nonlinear ...jeffp/8F-CG/tfletcher.pdf · I Shapes I Diffusion tensors, structure tensors I Diffeomorphisms (deformable transformations)

Acknowledgements

Students:

I Prasanna MuralidharanI Nikhil Singh

Collaborators:I Sarang JoshiI Suresh Venkatasubramanian

I Steve Pizer (UNC)I Brad Davis (Kitware)

Funding:I NSF CAREER 1054057I NIH R01 EB007688-01A1