Top Banner
Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples
61

Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

Dec 22, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

Tamal K. Dey The Ohio State University

Computing Shapes and Their Features from Point Samples

Page 2: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

2/52Department of Computer and Information Science

Problems

Surface reconstruction (Cocone)

Medial axis (Medial)

Shape segmentation and matching (SegMatch)

Page 3: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

3/52Department of Computer and Information Science

Surface Reconstruction

`

Point Cloud

Surface Reconstruction

Page 4: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

4/52Department of Computer and Information Science

Voronoi based algorithms

1. Alpha-shapes (Edelsbrunner, Mucke 94)

2. Crust (Amenta, Bern 98)

3. Natural Neighbors (Boissonnat, Cazals 00)

4. Cocone (Amenta, Choi, Dey, Leekha, 00)

5. Tight Cocone (Dey, Goswami, 02)

6. Power Crust (Amenta, Choi, Kolluri 01)

Page 5: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

5/52Department of Computer and Information Science

Medial Axis

Page 6: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

6/52Department of Computer and Information Science

f(x) is the

distance

to medial axis

Local Feature Size[Amenta-Bern-Eppstein 98]

f(x)

Page 7: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

7/52Department of Computer and Information Science

Each x has a sample

within f(x) distance

-Sampling[ABE98]

x

Page 8: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

8/52Department of Computer and Information Science

Voronoi/Delaunay

Page 9: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

9/52Department of Computer and Information Science

Normal and Voronoi Cells(3D) [Amenta-Bern SoCG98]

Page 10: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

10/52Department of Computer and Information Science

PolesP+

P-

Page 11: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

11/52Department of Computer and Information Science

Normal Lemma

The angle between the pole vector

vp and the normal np is O().

P+

P-

np

vp

Page 12: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

12/52Department of Computer and Information Science

Cocone Algorithm[Amenta-Choi-Dey-Leekha SoCG00]

Simplified/improved the Crust

Only single Voronoi computation

Analysis is simpler

No normal filtering step

Proof of homeomorphism

Page 13: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

13/52Department of Computer and Information Science

Cocone

vp= p+ - p is the pole vector

Space spanned by vectors

within the Voronoi cell making

angle > 3/8 with vp or -vp

Page 14: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

14/52Department of Computer and Information Science

Cocone Algorithm

Page 15: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

15/52Department of Computer and Information Science

Cocone Guarantees

Theorem:

Any point x is within O(f(x) distance from a point in the output. Conversely, any point of output surface has a point x within O()f(x) distance.

Theorem:

The output surface computed by Cocone from an -sample is homeomorphic to the sampled surface for sufficiently small .

Page 16: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

16/52Department of Computer and Information Science

Undersampling [Dey-Giesen SoCG01]

Boundaries

Small features

Non-smoothness

Page 17: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

17/52Department of Computer and Information Science

Boundaries

Page 18: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

18/52Department of Computer and Information Science

Small Features

High curvature regions are often undersampled

Page 19: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

19/52Department of Computer and Information Science

Data Set Engine

Page 20: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

20/52Department of Computer and Information Science

Nonsmoothness

Page 21: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

21/52Department of Computer and Information Science

Watertight Surfaces

Page 22: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

22/52Department of Computer and Information Science

Tight Cocone [Dey-Goswami SM03]

Page 23: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

23/52Department of Computer and Information Science

Tight COCONE Principle

Compute the Delaunay triangulation of the input point set.

Use COCONE along with detection of undersampling to get an initial

surface with undersampled regions identified.

Stitch the holes from the existing Delaunay triangles without inserting

any new point.

Effectively, the output surface bounds one or more solids.

Page 24: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

24/52Department of Computer and Information Science

Result Sharp corners and edges of AutoPart can be reconstructed.

Page 25: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

25/52Department of Computer and Information Science

Timings

PIII, 933Mhz, 512MB

Page 26: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

26/52Department of Computer and Information Science

Noisy Data – Ram Head

Front view Rear view

Page 27: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

27/52Department of Computer and Information Science

Example movie file

Mannequin

Page 28: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

28/52Department of Computer and Information Science

Bunny data

• Bunny

Point data Tight Cocone Robust Cocone

Page 29: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

29/52Department of Computer and Information Science

Medial axis from point sample

Dey-Zhao SM02

• [Hoffman-Dutta 90],[Culver-Keyser-Manocha 99],[Giblin-Kimia 00], [Foskey-Lin-Manocha 03]

• Voronoi based[Attali-Montanvert-Lachaud 01]

• Power shape : guarantees topology, uses power diagram[Amenta-Choi-Kolluri 01]

• Medial : Approximates the medial axis as a Voronoi subcomplex and has converegence guarantee.[Dey-Zhao 02]

Page 30: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

30/52Department of Computer and Information Science

Medial Axis

• Medial Ball• Medial Axis -Sampling

Page 31: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

31/52Department of Computer and Information Science

Geometric Definitions

• Delaunay Triangulation

• Voronoi Diagram • Pole and Pole Vector• Tangent Polygon • Umbrella Up

Page 32: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

32/52Department of Computer and Information Science

Filtering conditions

• Medial axis point m• Medial angle θ• Angle and Ratio

Conditions

Our goal: : approximate the medial axis as a approximate the medial axis as a subset of Voronoi facets.subset of Voronoi facets.

Page 33: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

33/52Department of Computer and Information Science

Angle Condition

• Angle Condition [θ ]:

pqσ,tnpUσmax

2

Page 34: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

34/52Department of Computer and Information Science

Ratio Condition

• Ratio Condition []:

R

qpmin

pU

||||

Page 35: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

35/52Department of Computer and Information Science

Algorithm

)cloure(Output 11endfor10

endfor9endif8

Dual78 Condtion or Ratio Condition Angle satisfies if6

edgeDelaunayeachfor5; Compute4

eachfor3;2

;and Compute1

8

F

pqF:Fpq

UpqUPp

FDV

P

p

p

PP

)(M EDIAL

)cloure(Output 11endfor10

endfor9endif8

Dual78 Condtion or Ratio Condition Angle satisfies if6

edgeDelaunayeachfor5; Compute4

eachfor3;2

;and Compute1

8

F

pqF:Fpq

UpqUPp

FDV

P

p

p

PP

)(M EDIAL

Page 36: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

36/52Department of Computer and Information Science

Theorem

• Let F be the subcomplex computed by MEDIAL. As approaches zero:• Each point in F converges to a medial

axis point. • Each point in the medial axis is

converged upon by a point in F.

Page 37: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

37/52Department of Computer and Information Science

Experimental Results

Page 38: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

38/52Department of Computer and Information Science

Experimental Results

Page 39: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

39/52Department of Computer and Information Science

Experimental Results

Page 40: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

40/52Department of Computer and Information Science

Computation Time

• Pentium PC • 933 MHz CPU• 512 MB memory

• CGAL 2.3• C++

• O1 optimization

Page 41: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

41/52Department of Computer and Information Science

Medial Axis from a CAD model

CAD model

Point Sampling Medial Axis

Page 42: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

42/52Department of Computer and Information Science

Medial AxisMedial Axis

Medial Axis from a CAD model

CAD model

Point Sampling

Page 43: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

43/52Department of Computer and Information Science

Example movie file

Anchor Medial

Page 44: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

44/52Department of Computer and Information Science

Segmentation and matching

• Siddiqui-Shokoufandeh-Dickinson-Zucker 99 (Shock graphs) • Hilaga-Shinagawa-Kohmura-Kunni 01 (Reeb graph)• Osada-Funkhouser-Chazelle-Dobkin 01 (Shape distribution)• Bespalov-Shokoufandeh-Regli-Sun 03(spectral decomposition)• Dey-Giesen-Goswami 03 (Morse theory)

Page 45: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

45/52Department of Computer and Information Science

Segmentation and matchingDey-Giesen-Goswami 03

• Segment a shape into `features’• Match two shapes based on the

segmentation

Page 46: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

46/52Department of Computer and Information Science

Feature definition

Flow

Continuous

Discrete flow

Discretization

Page 47: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

47/52Department of Computer and Information Science

Anchor set

Shape :d

p xxpxh R allfor inf)(2

xpxA p minarg)(• Anchor set:

• Height fuinction:

Page 48: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

48/52Department of Computer and Information Science

Driver and critical points

• Driver : d(x) is the closest point on the anchor hull

• Critical points

• Anchor Hull : H(x) is convex hull of A(x)

Page 49: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

49/52Department of Computer and Information Science

Flow

• Vector field v :

)(

)()(

xdx

xdxxv

if x is regular and 0 otherwise

• Flow induced by v

Fix points of are the critical points of h

Page 50: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

50/52Department of Computer and Information Science

Features

• F(x) = closure(S(x)) for a maximum x

Page 51: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

51/52Department of Computer and Information Science

Flow by discrete set• Driver d(x): closest point on dual to the Voronoi

object containing x

• Vector field:

• This also induces a flow

)(

)()(

xdx

xdxxv

Page 52: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

52/52Department of Computer and Information Science

Stable manifolds

• Gabriel edges are stable manifolds of saddles

• Stable manifolds of maxima are shaded

Page 53: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

53/52Department of Computer and Information Science

Stable manifolds

• Feature F(x) = closure(S(x)) for a maximum x

Page 54: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

54/52Department of Computer and Information Science

Stable manifolds in 3D• Stable manifolds are not subcomplexes of Delaunay• We approximate the stable manifolds with Delaunay simplices

Page 55: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

55/52Department of Computer and Information Science

Algorithm for )(~

xF )(~

xF

Page 56: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

56/52Department of Computer and Information Science

Merging• Small perturbations create insignificant features• Sampling artifacts introduce more segmentations

• Merge stable manifolds

Page 57: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

57/52Department of Computer and Information Science

Results (2D)

Page 58: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

58/52Department of Computer and Information Science

Results (3D)

Page 59: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

59/52Department of Computer and Information Science

Results (3D)

Page 60: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

60/52Department of Computer and Information Science

Matching CAD models

Page 61: Tamal K. Dey The Ohio State University Computing Shapes and Their Features from Point Samples.

61/52Department of Computer and Information Science

Conclusions

Noisy samples: Reconstruction and segmentation

Improving segmentation and matching for CAD

models (requires understanding of non-

smoothness)

Software available from

http://www.cis.ohio-state.edu/~tamaldey/cocone.html

http://www.cis.ohio-state.edu/~tamaldey/segmatch.html

Acknowledgement: NSF, DARPA, ARO, CGAL