shape spaces kathryn leonard 22 january 2005 msri intro to image analysis

33
Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Upload: kelley-clark

Post on 11-Jan-2016

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Shape Spaces

Kathryn Leonard22 January 2005

MSRI Intro to Image Analysis

Page 2: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Underlying questions

a) How should we represent shape?

b) What does it mean for shapes to be close?

Page 3: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Human recognition

• Asymmetric distances and triangle inequality.

• Distance measure switching.

Page 4: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Observations

1. If shapes are the same when they are “close”, then recognition happens in shape neighborhoods.

2. Shape neighborhoods make a mathematician want to consider spaces of shapes, and metrics on those spaces.

Page 5: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Some shape neighborhoods

Image courtesy of David Mumford.

Page 6: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Mathematical setting

Shape = region in R2 bounded by some curve (or collection of curves) with some

degree of smoothness.• Choose favorite shape representation.• Construct space of shapes consisting of

representations of all possible shapes.• Based on choice of representation, put a

metric on shape space.

Page 7: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Some shape representation categories

1. Boundary curve representations

2. Feature vectors

3. Structural descriptions and “grammars”

Page 8: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Properties of shape space

(Assume hereafter that our shapes are bounded by a single simple closed

curve.)

1. Contractible (flow by kN).

2. Non-linear.

3. Locally looks like a linear space.

Page 9: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Shape model I: the boundary curve

Consider nested spaces of curves, analogous to nested spaces of functions.

Notation: = boundary curve of a shape = tangent angle function to = curvature of .

Nesting:… {L2 ’ } {L2 } { is measurable}

{ is measurable} {big ambient space}

Page 10: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Metrics on boundary curves

Image courtesy of David Mumford.

Page 11: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Shape model II:horizon functions & curvelets

Return to the functional setting: a shape is now a binary function (on = inside, off = outside), with boundary of on/off regions defined by a curve.

Properties:• Linear function space.• Curvelets give an optimal decomposition in the L2

norm for space of horizon functions whose boundaries are C2.

• Metric = L2 metric.

Page 12: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Why curvelets are good

1. Localize in scale, location, and orientation.

2. Possess a norm-equivalence property.

3. Possess an anisotropic scaling property.

Page 13: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Curvelets .v. wavelets

Images taken from M. Elad, D. Donoho & J.-L. Starck, “Redundant Multiscale Transforms and Their Application for Morphological Content.”

Page 14: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

More evidence for curvelet goodness

What is this a picture of?Here we see an image decomposed into small, oriented pieces, where the

magnitudes of these pieces is preserved while the orientations are randomized.

Page 15: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

More evidence for curvelet goodness

What is this a picture of?Here the orientations of the oriented pieces is

preserved while the magnitudes are randomized.

Page 16: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

More evidence for curvelet goodness

On left, random orientation, correct magnitude.On right, correct orientation, random magnitude

Suggests orientation is key.

Current work: shape matching between data sets.

Images taken from Eero Simoncelli; created using steerable pyramids.

Page 17: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Shape model III:medial axis

Pair (m,r), where m is a collection of curves (skeleton) and r is a scalar function (length of ribs).

Equivalent definitions:

1. Closure of locus of centers of maximal circles contained inside shape + radii.

2. Shock set obtained my evolving curve in direction of normal + time to shock formation. (grassfire)

Page 18: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Some shapes and their axes

Page 19: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Properties of medial axis

• Nice relationship to boundary curve (can go back and forth using known formulas).

• Geometric information is preserved.• Captures symmetries of curve.• Allows for good parts matching.• Matches some computations in our own

brains.

Page 20: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Notation and properties of m.a.

Within a differentiable branch of the medial axis:

• r’ = cos • ± = m ± ( + /2)• Relationships

between higher derivatives also exist.

Page 21: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Some metrics on space of m.a.

1. Since boundary curve is recoverable, can reinterpret curve metrics as metrics on the medial axis.

2. Can take curve metric and apply to medial axis.

3. Can define cost function on “moves” on the axis.

Discrete structure on shape space.

Page 22: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Discrete structure (Kimia)

Page 23: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Why medial axis is good

1. Captures symmetries of shape.

2. Preserves intrinsic geometric quantities.

3. Allows for structural decomposition into parts.

4. Translates nicely to discrete setting.

Page 24: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Shape model IV: diffeomorphisms of the plane

Model a shape by the map of the plane taking the unit circle to the boundary of the shape (modulo rigid motion).

Mathematical formalism: Diffeomorphisms of the plane form a group G, which acts on the space of curves transitively.

Therefore, we may identify the space of shapes with the space G modulo rigid motions.

Page 25: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Defining a metricWe may define paths in shape space by defining paths in G/H.A metric is therefore given by minimizing the length of paths between two shapes.

Kicker: definition of metric must respect group action.Image from David Mumford.

Page 26: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Oversimplification of metric…Idea: • Take a small deformation of a curve , i.e.,

+ = (1 + 1, 2 + 2), where || || ≤ . • This defines a vector field on ; define energy to be minimized

as energy of that vector field.• Glue these infinitesimals together to get from one shape to

another.• Reinterpret as an element of G. • Check that resulting metric is left-invariant.

End result: G is contained in L2, and we look for admissible paths there, minimizing an energy over such admissible paths.

Page 27: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Example of geodesic

Image of Faisel Beg, courtesy of David Mumford.

Page 28: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Origins of idea

1. D’arcy Thompson• Shapes from the same class should be able to be

deformed into each other.• Therefore, metrics should be geodesics--lengths of

shortest deformation path between the two shapes.

2. Grenander’s pattern theory:• Classes of interest are made up of primitives.• Group acts on these primitives following some set

of rules (probabilistic).• To understand class, one must understand

primitives and actions on primitives.

Page 29: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Shape model V: conformal self-maps of S1

• Riemann mapping theorem guarantees the existence of a conformal map from the unit circle to any shape boundary.

• Add point at infinity and do the same for the exterior of the shape…then inverting one and composing gives a diffeomorphism from S1 into itself.

• This diffeomorphism is unique, up to Möbius transformations of S1. Fixing two points makes unique.

• Again find a G/H setting, where G is the group of diffeomorphisms of S1 and H is the group of Möbius transformations.

Page 30: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Constructing the diffeomorphism

Images taken from E. Sharon & D. Mumford, “2D-Shape Analysis using Conformal Mapping.”

Page 31: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Oversimplification of metric

• Want to measure amount of movement on unit circle--standard approach is through summing length changes of tangent vectors associated to mapping.

• Defines a periodic function f(), can look at Fourier coefficients of f, {an}.

• Metric is the given by

(n3-n)|an|.

Page 32: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

Useful starting points:

Curvelets: • www.acm.caltech.edu/~emmanuel

Medial axis:• www.lems.brown.edu (Ben Kimia)• www.stat.ucla.edu/~sczhu• www.cs.ucdavis.edu/amenta

Diffeomorphisms:• www.cmla.ens-cachan.fr/Utilisateurs/younes• cis.jhu.edu/people/faculty/mim

Conformal mappings:• www.math.utk.edu/~kens• www.dam.brown.edu/people/eitans or mumford

Page 33: Shape Spaces Kathryn Leonard 22 January 2005 MSRI Intro to Image Analysis

The End

Thank you!