shape descriptors i

129
Shape Descriptors I Thomas Funkhouser CS597D, Fall 2003 Princeton University

Upload: bond

Post on 05-Jan-2016

55 views

Category:

Documents


1 download

DESCRIPTION

Shape Descriptors I. Thomas Funkhouser CS597D, Fall 2003 Princeton University. 3D Representations. What properties are required for analysis and retrieval?. Retrieval. Analysis. Display. Editing. Property. Intuitive specification Yes NoNoNo Guaranteed continuity Yes NoNoNo - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Shape Descriptors I

Shape Descriptors IShape Descriptors I

Thomas Funkhouser

CS597D, Fall 2003Princeton University

Thomas Funkhouser

CS597D, Fall 2003Princeton University

Page 2: Shape Descriptors I

3D Representations

What properties are required for analysis and retrieval?

Intuitive specification Yes No No NoGuaranteed continuity Yes No No NoGuaranteed validity Yes No No NoEfficient boolean operations Yes No No NoEfficient rendering Yes Yes No NoAccurate Yes Yes ? ?Concise ? ? ? YesStructure Yes Yes Yes Yes

Edi

ting

Dis

play

Ana

lysi

s

Ret

riev

al

Property

Page 3: Shape Descriptors I

Shape Analysis Problems

Examples:• Feature detection• Segmentation• Labeling• Registration• MatchingRetrieval• Recognition• Classification• Clustering

“How can we find 3D models best matching a query?”“How can we find 3D models best matching a query?”

1)

2)

3)

4)

Query

Ranked Matches

Page 4: Shape Descriptors I

Shape

Definition from Merriam-Webster’s Dictionary:• a : the visible makeup characteristic of a

particular item or kind of item b : spatial form or contour

Page 5: Shape Descriptors I

Shape

Shape is independent of similarity transformation

(rotation, scale, translation, mirror)

=

Page 6: Shape Descriptors I

Shape Similarity

Need a shape distance function d(A,B) that:• matches our intuitive notion of shape similarity• can be computed robustly and efficiently

Perhaps, shape distance function should be a metric:• Non-negative: d(A,B) 0 for all A and B• Identity: d(A,B) = 0 if and only if

A=B• Symmetry: d(A,B) = d(B,A) for all A

and B• Triangle inequality: d(A,B) + d(B,C) d(A,C)

Page 7: Shape Descriptors I

Example Distance Functions

Lp norm:

Hausdorff distance:

Others (Fréchet, etc.)

pp

ii baBAd1

),(

),(~

),,(~

max),(

minmax),(~

ABdBAdBAd

baBAd iiBbAa

Page 8: Shape Descriptors I

Shape Matching

Compute shape distance function for pair of 3D models• Can matching two objects• Can find most similar object among a small set

Are these the same chair?

Page 9: Shape Descriptors I

Shape Retrieval

Find 3D models with shape most similar to query• Searching large database must take less than O(n)

Is this blue chair in the database?

Page 10: Shape Descriptors I

Shape Retrieval

Build searchable shape index

ShapeRetrieval

SimilarObjects

ShapeIndex

ShapeDescriptor

ShapeAnalysis

ShapeAnalysis

Databaseof

3D Models

GeometricQuery

Page 11: Shape Descriptors I

Shape Retrieval

Find 3D models with shape similar to query

3D Query

3D Database

Best Matches

Page 12: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to compute• Efficient to match• Discriminating

3D Query ShapeDescriptor

3D Database

BestMatches

Page 13: Shape Descriptors I

Challenge

Need shape descriptor that is:Concise to store• Quick to compute• Efficient to match• Discriminating

3D Database

3D Query ShapeDescriptor

BestMatches

Page 14: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to storeQuick to compute• Efficient to match• Discriminating

3D Database

3D Query ShapeDescriptor

BestMatches

Page 15: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to computeEfficient to match• Discriminating

3D Database

3D Query ShapeDescriptor

BestMatches

Page 16: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to compute• Efficient to matchDiscriminating

3D Database

3D Query ShapeDescriptor

BestMatches

Page 17: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to compute• Efficient to match• Discriminating Invariant to transformations• Insensitive to noise• Insensitive to topology• Robust to degeneracies

Different Transformations(translation, scale, rotation, mirror)

Page 18: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to compute• Efficient to match• Discriminating• Invariant to transformations Insensitive to noise• Insensitive to topology• Robust to degeneracies

Scanned Surface

Image courtesy ofRamamoorthi et al.

Page 19: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to compute• Efficient to match• Discriminating• Invariant to transformations• Insensitive to noise Insensitive to topology• Robust to degeneracies

Images courtesy of Viewpoint & Stanford

Different Tessellations

Different Genus

Page 20: Shape Descriptors I

Challenge

Need shape descriptor that is:• Concise to store• Quick to compute• Efficient to match• Discriminating• Invariant to transformations• Insensitive to noise• Insensitive to topologyRobust to degeneracies

Images courtesy of Utah & De Espona

No Bottom!

&*Q?@#A%!

Page 21: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...• Point descriptors

Page 22: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...• Point descriptors

Images courtesy of Amenta & Osada

Page 23: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...• Point descriptors

Image courtesy of De Espona

?

Page 24: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...• Point descriptors

?

Page 25: Shape Descriptors I

Statistical Shape Descriptors

Alignment-dependent• Voxels• Wavelets• Moments• Extended Gaussian

Image• Spherical Extent

Function• Spherical Attribute

Image

Alignment-independent• Shape histograms• Harmonic descriptor• Shape distributions

Page 26: Shape Descriptors I

Feature Vectors

Map shape onto point in multi-dimensional space• Similarity measure is distance in feature space

Feature 2

Fea

ture

1

File cabinets

Tables

Desks

Image courtesy ofMao Chen

Page 27: Shape Descriptors I

Feature Vectors

Cluster, classify, recognize, and retrieve similarfeature vectors using standard methods

Feature 2

Fea

ture

1

File cabinets

Tables

Desks

Image courtesy ofMao Chen

What feature vectors?

Page 28: Shape Descriptors I

Voxels

Use voxel values as feature vector (shape descriptor)• Feature space has N3 dimensions

(one dimension for each voxel)

• d(A,B) = ||A-B||N

Example:

( )d =,

NA B A-B

Page 29: Shape Descriptors I

Voxels

Can store distance transform (DT) in voxels

• ||A-DT(B)||1 represents sum of distances from every point on surface of A to closest point on surface of B

Distance TransformSurface

Image courtesy ofMisha Kazhdan

Page 30: Shape Descriptors I

Voxels

Can store distance transform (DT) in voxels

• ||A-DT(B)||1 represents sum of distances from every point on surface of A to closest point on surface of B

Distance TransformSurface

Image courtesy ofMisha Kazhdan

Page 31: Shape Descriptors I

Voxels

Can build hierarchical search structure• e.g., interior nodes store MIV and MSV

Image courtesy ofDaniel Keim, SIGMOD 1999

Page 32: Shape Descriptors I

Voxel Retrieval Experiment

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 33: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = retrieved_in_class / total_retrieved• Recall = retrieved_in_class / total_in_class

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

Page 34: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = 0 / 0• Recall = 0 / 5

44 55 66

77

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

11 22 33

9988

Ranked Matches

Query

Page 35: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = 1 / 1• Recall = 1 / 5

44 55 66

77

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

11 22 33

9988

Ranked Matches

Query

Page 36: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = 2 / 3• Recall = 2 / 5

44 55 66

77

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

11 22 33

9988

Ranked Matches

Query

Page 37: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = 3 / 5• Recall = 3 / 5

44 55 66

77

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

11 22 33

9988

Ranked Matches

Query

Page 38: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = 4 / 7• Recall = 4 / 5

44 55 66

77

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

11 22 33

9988

Ranked Matches

Query

Page 39: Shape Descriptors I

Evaluation Metric

Precision-recall curves• Precision = 5 / 9• Recall = 5 / 5

44 55 66

77

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

11 22 33

9988

Ranked Matches

Query

Page 40: Shape Descriptors I

Voxel Retrieval Experiment

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 41: Shape Descriptors I

Voxel Retrieval Results

0 0.2 0.4 0.6 0.8

0

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

Voxels

Random

Page 42: Shape Descriptors I

Voxels

PropertiesDiscriminating Insensitive to noise Insensitive to topologyRobust to degeneraciesQuick to compute• Efficient to match?X Concise to storeX Invariant to transforms

Page 43: Shape Descriptors I

Wavelets

Define shape with wavelet coefficients

16,000 coefficients 400 coefficients 100 coefficients 20 coefficients

Image courtesy ofJacobs, Finkelstein, & Salesin

Page 44: Shape Descriptors I

Wavelets

Descriptor 1:• Given an NxNxN grid, generate an NxNxN array of

the wavelet coefficients for the standard Haar basis functions

Jacobs, Finkelstein, & SalesinSIGGRAPH 95

Page 45: Shape Descriptors I

Wavelets

Descriptor 1:• Given an NxNxN grid, generate an NxNxN array of

the wavelet coefficients for the standard Haar basis functions

Descriptor 2:• Truncate: Find the m largest coefficients and set

all others equal to zero• Quantize: Set the non-zero coefficients to +1 or –1

depending on their sign

Jacobs, Finkelstein, & SalesinSIGGRAPH 95

Page 46: Shape Descriptors I

Jackie Chan Example

Original Image (256x256)

Page 47: Shape Descriptors I

Truncated And Quantized to 5000

Page 48: Shape Descriptors I

Truncated And Quantized to 1000

Page 49: Shape Descriptors I

Truncated And Quantized to 500

Page 50: Shape Descriptors I

Truncated 100

Page 51: Shape Descriptors I

Truncated 50

Page 52: Shape Descriptors I

Truncated 10

Page 53: Shape Descriptors I

Torus Example

Page 54: Shape Descriptors I

Torus Truncated to 5000

Page 55: Shape Descriptors I

Torus Truncated to 1000

Page 56: Shape Descriptors I

Torus Truncated to 500

Page 57: Shape Descriptors I

Torus Truncated to 100

Page 58: Shape Descriptors I

Torus Truncated to 50

Page 59: Shape Descriptors I

Wavelets

Distance Function 1:• The query metric is defined by:

where A[i,j,k] and B[i,j,k] are the truncated and quantized coefficients and wi,j,k are weights, fine tuned to the database.

kji

kji kjiBkjiAwBAd,,

,, ,,,,),(

Jacobs, Finkelstein, & SalesinSIGGRAPH 95

Page 60: Shape Descriptors I

Wavelets

Distance Function 2:• The query metric can be approximated by:

to enable efficient indexing and search.

0),,(:,,

,, ),,,,(),(kjiAkji

kji kjiBkjiAwBAd

Jacobs, Finkelstein, & SalesinSIGGRAPH 95

Page 61: Shape Descriptors I

Wavelets

Properties Insensitive to noise Insensitive to topologyRobust to degeneraciesQuick to computeEfficient to matchConcise to store• Discriminating?X Invariant to transforms

Jacobs, Finkelstein, & SalesinSIGGRAPH 95

Page 62: Shape Descriptors I

Moments

Define shape by moments of inertia:

surface

rqppqr dxdydzzyxm

Page 63: Shape Descriptors I

Moments Retrieval Experiment

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 64: Shape Descriptors I

Moments Retrieval Results

0 0.2 0.4 0.6 0.8

0

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

Voxels

Moments [Elad et al.]

Random

Page 65: Shape Descriptors I

Moments Retrieval Results

0 0.2 0.4 0.6 0.8

0

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

Voxels

Moments [Elad et al.]

Random

Page 66: Shape Descriptors I

Moments

Properties Insensitive to topologyRobust to degeneraciesQuick to computeEfficient to matchConcise to storeX Insensitive to noiseX Invariant to transformsX Discriminating

Page 67: Shape Descriptors I

Extended Gaussian Image

Define shape with histogram of normal directions• Invertible for convex objects• Spherical function

3D Model EGI

Page 68: Shape Descriptors I

EGI Retrieval Experiment

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 69: Shape Descriptors I

EGI Retrieval Results

0 0.2 0.4 0.6 0.8

0

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

on

1

Voxels

Moments [Elad et al.]

EGI [Horn 84]

Random

Page 70: Shape Descriptors I

Extended Gaussian Images

Properties Insensitive to topologyQuick to computeEfficient to matchConcise to storeX Insensitve to noiseX Robust to degeneraciesX Invariant to transformsX Discriminating

Page 71: Shape Descriptors I

Other Rotation-Dependent Descriptors

Spherical Extent Functions(Vranic & Saupe, 2000)

Shape Histograms (sectors)(Ankherst, 1999)

Page 72: Shape Descriptors I

Shape Descriptors IIShape Descriptors II

Thomas Funkhouser

CS597D, Fall 2003Princeton University

Thomas Funkhouser

CS597D, Fall 2003Princeton University

Page 73: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...• Point descriptors

Page 74: Shape Descriptors I

Statistical Shape Descriptors

Alignment-dependent• Voxels• Wavelets• Moments• Extended Gaussian

Image• Spherical Extent

Function• Spherical Attribute

Image

Alignment-independent• Shape histograms• Harmonic descriptor• Shape distributions

Page 75: Shape Descriptors I

Statistical Shape Descriptors

Alignment-dependent• Voxels• Wavelets• Moments• Extended Gaussian

Image• Spherical Extent

Function• Spherical Attribute

Image

Alignment-independent• Shape histograms• Harmonic descriptor• Shape distributions

Page 76: Shape Descriptors I

Alignment

Translation (Center of Mass)

Scale (Radial Deviation)

n

iip

nc

1

1

n

iip

ns

1

21

Page 77: Shape Descriptors I

Alignment

Rotation (PCA)• Principal axes are eigenvectors associated with

largest eigenvalues of 2nd order moments covariance matrix

PCAComputation

Principal Axis Alignment

Page 78: Shape Descriptors I

Alignment

Rotation (PCA)• Principal axes are eigenvectors associated with

largest eigenvalues of 2nd order moments covariance matrix

Not very robust!

Page 79: Shape Descriptors I

Alignment

Mirror• PCA does not give directions for principal axes

Need heuristics to determine positive axes!

Page 80: Shape Descriptors I

Alignment-Independent Descriptors

Observation: it is difficult to normalize for differences in rotation and mirroring

Motivation: build a shape descriptor that is invariant to rotations and mirrors and as discriminating as possible

Three mugs aligned automatically with PCA

Page 81: Shape Descriptors I

Shape Histograms

Shape descriptor stores histogram of how much surface resides at different radii from center of mass

Image courtesy of Ankerst et al, 1999

Shape Histograms (shells)(Ankherst, 1999)

Radius

Page 82: Shape Descriptors I

Shape Histograms

Shape descriptor stores histogram of how much surface resides at different radii from center of mass

Image courtesy of Misha Kazhdan

ShapeDescriptor

3D Model SphericalDecomposition

0.7

0.3

0.1

Page 83: Shape Descriptors I

Shape Histogram Experiment

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 84: Shape Descriptors I

Shape Histogram Retrieval Results

Precision-recall curves (mean for all queries)

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

onShape Histogram [Ankerst et al.]

EGI [Horn]

Moments [Elad et al.]

Random

1

Page 85: Shape Descriptors I

Shape Histograms

Properties Insensitive to noise Insensitive to topologyRobust to degeneraciesQuick to computeEfficient to matchConcise to store Invariant to rotations• Discriminating?

Page 86: Shape Descriptors I

Harmonic Shape Descriptor

Key idea:• Decompose each sphere into irreducible

set of rotation independent components• Store “how much” of the model resides

in each component

3D Model ShapeDescriptor

HarmonicDecompositions

Page 87: Shape Descriptors I

Step 1: Normalization

Normalize for translation and scale

3D Model

Page 88: Shape Descriptors I

Step 2: Voxelization

Rasterize polygon surfaces into 3D voxel grid

3D Voxel Grid

Page 89: Shape Descriptors I

Step 3: Spherical Decomposition

Intersect with concentric spheres

Spherical Functions

Page 90: Shape Descriptors I

Step 4: Frequency Decomposition

Represent each spherical function as a sum of harmonic frequencies (orders)

Spherical Functions

Page 91: Shape Descriptors I

Represent each spherical function as a sum of harmonic frequencies (orders)

Step 4: Frequency Decomposition

SphericalFunctionSphericalFunction

Spherical Functions

Page 92: Shape Descriptors I

Represent each spherical function as a sum of harmonic frequencies (orders)

Step 4: Frequency Decomposition

+ + += …SphericalFunction

Harmonic Decomposition

Page 93: Shape Descriptors I

Represent each spherical function as a sum of harmonic frequencies (orders)

Step 4: Frequency Decomposition

=

+ + +

+ + +

Constant 1st Order 2nd Order

= …

SphericalFunction

Page 94: Shape Descriptors I

Represent each spherical function as a sum of harmonic frequencies (orders)

Step 4: Frequency Decomposition

=

+ + +

+ + +

Frequency Decomposition

= …

SphericalFunction

Amplitudes are invariant to rotation

Page 95: Shape Descriptors I

Step 5: Amplitude Computation

Store “how much” (L2-norm) of the shape resides in each harmonic frequency of each sphere

Frequency Radius

Harmonic Shape Descriptor

Page 96: Shape Descriptors I

Matching Harmonic Descriptors

Define similarity as L2-distance between descriptors• Enables nearest neighbor indexing and fast search

• Provides lower bound for L2-distance between models

, = -

-

-

-

Sim

Page 97: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to store?• Quick to compute?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Invariant to transforms?• Efficient to match?• Discriminating?

Frequency Radius

2048 bytes per model(16 frequencies x 32 radii x 4 bytes)

Page 98: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to storeQuick to compute?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Invariant to transforms?• Efficient to match?• Discriminating?

1.6

seco

nd

s (o

n

avera

ge)

Polygons

Voxels

SphericalDecomposition

FrequencyDecomposition

HarmonicShapeDescriptorfrequency radius

Page 99: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to storeQuick to compute?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Invariant to transforms?• Efficient to match?• Discriminating?

1.6

seco

nd

s (o

n

avera

ge)

Polygons

Voxels

SphericalDecomposition

FrequencyDecomposition

HarmonicShapeDescriptorfrequency radius

Page 100: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to storeQuick to compute Insensitive to noise Insensitive to topologyRobust to degeneracies• Invariant to transforms?• Efficient to match?• Discriminating?

Rasterize polygon surfaces(no solid reconstruction)

Page 101: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to storeQuick to compute Insensitive to noise Insensitive to topologyRobust to degeneracies Invariant to transforms• Efficient to match?• Discriminating?

RotationMirrorTranslation (w/ normalization)Scale (w/ normalization){

Page 102: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to storeQuick to compute Insensitive to noise Insensitive to topologyRobust to degeneracies Invariant to transformsEfficient to match?• Discriminating? 0.0

0.5

1.0

1.5

2.0

0 5000 10000 15000 20000

Database size (models)

Se

arc

h t

ime

(s

ec

s)

IndexedNot In

dexed

0.23 secondsto search

17,500 models

Page 103: Shape Descriptors I

Harmonic Shape Descriptor

PropertiesConcise to storeQuick to compute Insensitive to noise Insensitive to topologyRobust to degeneracies Invariant to transformsEfficient to match?Discriminating?

Page 104: Shape Descriptors I

Harmonic Matching Results

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 105: Shape Descriptors I

Harmonic Retrieval Results

Precision-recall curves (mean for all queries)

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

onHarmonic Shape Descriptor

Shape Histogram [Ankerst et al.]

EGI [Horn]

Moments [Elad et al.]

Random

1

Page 106: Shape Descriptors I

Statistical Shape Descriptors

Alignment-dependent• Voxels• Wavelets• Moments• Extended Gaussian

Image• Spherical Extent

Function• Spherical Attribute

Image

Alignment-independent• Shape histograms• Harmonic descriptorShape distributions

Page 107: Shape Descriptors I

Shape Distributions

Motivation: general approach to finding a common parameterization for matching

3D SurfaceAudio

2D Contour 3D Volume

Page 108: Shape Descriptors I

Shape Distributions

Key idea: map 3D surfaces to common parameterization

by randomly sampling shape function

3D Models D2 Shape Distributions

Randomlysampleshape

function

SimilarityMeasure

Distance

Distance

Pro

babili

tyPro

babili

ty

Page 109: Shape Descriptors I

Which Shape Function?

Implementation: simple shape functions based on

angles, distances, areas, and volumes

A3(angle)

D1(distance)

[Ankerst 99]

D2(distance)

D3(area)

D4(volume)

Page 110: Shape Descriptors I

D2 Shape Distribution

Properties• Concise to store?• Quick to compute?• Invariant to transforms?• Efficient to match?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Discriminating?

Page 111: Shape Descriptors I

D2 Shape Distribution

PropertiesConcise to store?Quick to compute?• Invariant to transforms?• Efficient to match?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Discriminating? 512 bytes (64 values)

0.5 seconds (106 samples)

Distance

Pro

babili

ty

Skateboard

Page 112: Shape Descriptors I

D2 Shape Distribution

PropertiesConcise to storeQuick to compute Invariant to transforms?• Efficient to match?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Discriminating?

TranslationRotationMirror{

Normalized Means

Scale (w/ normalization)

Skateboard Porsche

Page 113: Shape Descriptors I

Distance

Pro

babili

ty

Skateboard

D2 Shape Distribution

PropertiesConcise to storeQuick to compute Invariant to transformsEfficient to match?• Insensitive to noise?• Insensitive to topology?• Robust to degeneracies?• Discriminating?

Porsche

Page 114: Shape Descriptors I

D2 Shape Distribution

PropertiesConcise to storeQuick to compute Invariant to transformsEfficient to match Insensitive to noise? Insensitive to topology?Robust to degeneracies?• Discriminating?

1% Noise

Page 115: Shape Descriptors I

D2 Shape Distribution

PropertiesConcise to storeQuick to compute Invariant to transformsEfficient to match Insensitive to noise Insensitive to topologyRobust to degeneraciesDiscriminating?

Page 116: Shape Descriptors I

D2 Shape Distribution Results

Question• How discriminating are

D2 shape distributions?

Test database• 133 polygonal models• 25 classes

4 Mugs

6 Cars

3 Boats

Page 117: Shape Descriptors I

D2 Shape Distribution Results

D2 distributions are different across classes

D2 shape distributions for 15 classes of objects

Page 118: Shape Descriptors I

D2 Shape Distribution Results

D2 distributions for 5 tanks (gray) and 6 cars (black)

Distance

Pro

babili

ty

Page 119: Shape Descriptors I

D2 Shape Distribution Results

Similarity Matrix• Darkness

representssimilarity

Blocks• Tanks, cars• Airplanes• Humans• Helicopters

al bl btbp bt cr cr cw hr hn lp lg me mg ok pn pe pe re sd sa sp sb te tk

animal

ball

beltblimp

boat

car

chair

claw

helicopter

human

lamp

lightning

missle

mug

openbook

pen

phone

plane

rifle

skateboard

sofa

spaceship

sub

table

tank

al bl btbp bt cr cr cw hr hn lp lg me mg ok pn pe pe re sd sa sp sb te tk

animal

ball

beltblimp

boat

car

chair

claw

helicopter

human

lamp

lightning

missle

mug

openbook

pen

phone

plane

rifle

skateboard

sofa

spaceship

sub

table

tank

Page 120: Shape Descriptors I

D2 Retrieval Experiment

Test database is Viewpoint household collection1,890 models, 85 classes

153 dining chairs 25 livingroom chairs 16 beds 12 dining tables

8 chests 28 bottles 39 vases 36 end tables

Page 121: Shape Descriptors I

D2 Retrieval Results

Precision-recall curves (mean for all queries)

0 0.2 0.4 0.6 0.80

0.2

0.4

0.6

0.8

1

Recall

Pre

cisi

onHarmonic Shape Descriptor

D2 Shape Distribution [Osada et al.]

Shape Histogram [Ankerst et al.]

EGI [Horn]

Moments [Elad et al.]

Random

1

Page 122: Shape Descriptors I

Shape Distributions

Next steps:• Better shape functions• Better comparsion methods• Analysis apps

Page 123: Shape Descriptors I

D2 Shape Distribution Results

D2 shape distributions for 15 classes of objectsLine Segment

Recognizing gross shapes with D2 distributions

Page 124: Shape Descriptors I

D2 Shape Distribution Results

Recognizing gross shapes with D2 distributions

D2 shape distributions for 15 classes of objects

Circle

Page 125: Shape Descriptors I

D2 Shape Distribution Results

Recognizing gross shapes with D2 distributions

D2 shape distributions for 15 classes of objectsCylinder

Page 126: Shape Descriptors I

D2 Shape Distribution Results

Recognizing gross shapes with D2 distributions

D2 shape distributions for 15 classes of objects

Sphere

Page 127: Shape Descriptors I

D2 Shape Distribution Results

Recognizing gross shapes with D2 distributions

D2 shape distributions for 15 classes of objectsTwo Spheres

Page 128: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...• Point descriptors

Page 129: Shape Descriptors I

Taxonomy of Shape Descriptors

Structural representations• Skeletons• Part-based methods• Feature-based methods

Statistical representations• Voxels, moments, wavelets, …• Attributes, histograms, ...Point descriptors Next Time!