on visual similarity based 3d model retrieval · based approach geometry alignment and then...

22
1 1 On Visual Similarity Based 3D Model Retrieval Ming Ouhyoung, Ding-Yun Chen Xiao-Pei Tian Edward Yu-Te Shen Department of Computer Science and Information Engineering National Taiwan University November 18, 2003 2 Outline l Introduction l Previous works l Our proposed approach l 3D shape search engine l Experimental results l Conclusion & future work

Upload: others

Post on 18-Jul-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

1

1

On Visual Similarity Based 3D Model Retrieval

Ming Ouhyoung, Ding-Yun Chen ���� Xiao-Pei TianEdward Yu-Te Shen �

Department of Computer Science and Information EngineeringNational Taiwan University

November 18, 2003

2

Outline

l Introduction

l Previous works

l Our proposed approachl 3D shape search engine

l Experimental resultsl Conclusion & future work

Page 2: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

2

3

Introduction

4

Online demo

l 3D models in the database

l http://3d.csie.ntu.edu.tw

Page 3: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

3

5

Motivation

l Content-based retrieval for multimedia has become important

l The lack of meaningful description for automatic matching

l Development of 3D modelling and digitizingtechnology

l Fast 3D model generation via modifying retrieved models: Virtual Sculptor DEMO

6

Problem statement

l Similarity between two given 3D objectsl Features and distance metric

SearchKey

SearchKey

Similarity

Page 4: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

4

7

Previous Works

8

Topology matching for fully automatic similarity estimation of 3D shapes

l M. Hilaga et al., ACM SIGGRAPH, 2001.l Geometry-based and topology-based approach

l For each vertex of the object, calculate a sum of the geodesic distance from this vertex to others

l Reeb graph, where each node represents a region according to the value

l Construct multi-resolutional Reeb graph by grouping adjacent regions

Page 5: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

5

9

Spherical harmonic descriptor

l Funkhouser et al., ACM Trans. on Graphics, Jan. 2003l Geometry-based and shape-based approachl Transform 3D model to concentric spheresl Frequency components by spherical harmonics (Fourier

transformation in spherical coordinates)l Combining these different signatures over the different

radii to get the descriptor

10

Overview of 3D model retrieval systems

Projected image-based approach

Geometry-based approach

Geometry alignment and then matching by image

Shape-based

Shape-based

Topology-based

Page 6: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

6

11

Our proposed approach

12

The main idea of our approach

l If two 3D models look similar, they look similar from all viewing angles

A BA B B1

B2 B3 B4

Page 7: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

7

13

Design issues

l Correctness, discriminationl Efficiency, automation

l Robustnessl Similarity transformation: translation, rotation and scaling

l Connectivity changes: re-meshing, sub-division and simplification

l Model degeneracy: missing, wrongly oriented normals, intersecting, disjoint and overlapping polygons

l Noise, deformation, etc.

l Scopel Static objects

l Not for articulated creatures

14

Cameras on a regular dodecahedron

l A dodecahedron is a polyhedron with 12 faces and 20 vertices

l A regular dodecahedron has most vertices from all regular convex polyhedrons

l 60 different rotations when matching (3 * 20 = 60)

Page 8: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

8

15

Matching between two 3D models (I)

l Two 3D models with different translation, rotation and scaling

x

y

z

x

y

z

16

Matching between two 3D models (II)

l Translation and scaling roughly in 3D space

l The error in translation and scaling will be diminished by 2D image matching

x

y

z

x

y

z

x

y

z1

1

1

x

y

z1

1

1

Page 9: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

9

17

Matching between two 3D models (III)

1

2

3

4

5

……

……

1

2

3

4

5

1

2

3

4

5

1

2

3

4

5

18

5

1

2

3

4

Matching between two 3D models (IV)

……

……12345

1

2

3

4

5

1

2

3

4

5

……

1

2

3

4

5

Page 10: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

10

19

Matching between two 3D models (V)

……

……12345

1

2

3

4

5

1

2

3

4

5

2

1

54

3

……

1

2

3

4

5

20

Matching between two 3D models (VI)

……

5

43

1

2

……12345

1

2

3

4

5

1

2

3

4

5

Minimum error from all corresponding 2D shapes

……

1

2

3

4

5

Page 11: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

11

21

To be more robust in rotation(I)

22

To be more robust in rotation(II)

1-160

1-10600

10-105460

Different rotation:(Mx(N-1)+1)x60

Page 12: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

12

23

Image metricsl Integrated region-based and contour-based

approachl Zernike moment (35 coefficients)l Fourier Descriptor (10 coefficients)

Trace Contour

Dis

tanc

e

lRobust from translation, rotation and scaling

24

2D Zernike Moments

l Teague proposed Zernike moments based on orthogonal Zernike polynomials

l Teague, J. Opt. Soc. Am. 70 (8), 1980

l Rotation invariantl Khotanzad et al, IEEE PAMI, 12 (5), 1990

l Translation invariant

l Chong et al Pattern Recognition 36, 2003, pp.1765-1773

Page 13: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

13

25

2D Zernike moments

26

Zernike polynomials of order p, with repetition q

Page 14: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

14

27

Trace contour for rendered image

l Erosion operation to connect the separated parts

l Thinning, but don’t remove the rendered pixels

Erosion

Thinning

28

Steps Extracting the Descriptors

l Translation and scaling l Render images from the camera positionsl Totally 100 images are rendered because of 10

Descriptors.l Descriptors for a 3D model are extracted from the 100

images as Zernike Descriptors and Fourier Descriptors

Page 15: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

15

29

Retrieval from a large database

l Iterative early rejection of non-relevant 3D models

l Only parts of the images and coefficients are compared

l 6 iterations in totall 1st~5th iteration: Zernike momentl 6th iteration: Fourier descriptorl The threshold of removing models is set as the mean

of the similarity

30

Speed of 3D shape search engine

Retrieval results from user drawn 2D shapes

Retrieval results from interactively searching by selecting a 3D model

2 seconds0.1 seconds

(>10,000 3D models)

Page 16: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

16

31

Experimental results

32

Ground truth data set

l 3DCAFE, downloaded in Dec. 2001l All 1833 3D modelsl Classified class

l 47 class (category of airplane, car, chair, etc.)l 549 3D models

l Miscellaneous classl 1284 3D models

64 models 52 models 61 models 15 models 13 models

Page 17: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

17

33

“Precision” vs. “Recall” diagram

relevant all

retrievedcorrectly relevant Recall =

retrieved all

retrievedcorrectly relevant Precision =

1

1

Recall0

Precision

ideal

Precision

Recall

1

1/4

3/4

2/4

4/8

3/4

5/15

4/4

Input: Retried models by similarity:

34

00.10.20.30.40.50.60.70.80.9

1

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Recall

Pre

cisi

on

Our ApproachMultiple View Descriptor3D HarnomicsShape 3D Descriptor

Performance evaluation on NTU data

l Our Approachl Multiple View Descriptor: MPEG-7 international standardl 3D Harmonics: ACM Trans. on Graphics, Jan. 2003.l Shape 3D Descriptor: MPEG-7 international standard

22% better 43% better95% better

Page 18: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

18

35

Precision Recall Plot for PSBblue line:ours, red: the spherical harmonicsData provided by Phil Shilane

36

Visualization of the similarity matrix, Data provided by Phil Shilane

YELLOW, RED, BLACK: similarity values in decreasing order

Page 19: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

19

37

00.10.20.30.40.5

0.60.70.80.9

1

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1

Recall

Prec

isio

n

OriginalSimilarity TransformationNoiseDecimation

Robustness evaluation

l Similarity transformation: rotations(0º ~ 360º), translation(-10 ~ +10 times of l ) and scaling(a factor between -10 and +10)

l Noise: translating -3%~+3% times of l in x, y, or z direction

l Decimation: deleting 20% of the polygons

38

Shape 3D Descriptor

l Curvature histograml Discrimination: different models have the same curvature

histograml Model degeneracy

Page 20: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

20

39

3D Harmonics

l Voxelizationl Shape near the

center of mass has larger effects

40

Multiple View Descriptor (PCA based)

l Based on Principal Component Analysis (PCA)l Principal axes are not good enough at aligning

orientations of different models within the same class

Page 21: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

21

41

Timing statistics in computing the similarity matrix

l The average time is 0.0013 second to compare two shape descriptors

l The average storage is 4700 bytes for a single shape descriptor

l The average time is 3.25 seconds to compute each shape descriptor

l on a PC with Pentium 4 CPU 2.4GHz, 256MB RAM and NVIDIA GeForce 2 MX

42

Future works

l More image metrics

l Cocktail approach

l Training / learning mechanisml Partial matching

Page 22: On Visual Similarity Based 3D Model Retrieval · based approach Geometry alignment and then matching by image Shape-based Shape-based Topology-based. 6 11 Our proposed approach 12

22

43

Conclusion

l A 3D model retrieval system is proposed based on visual similarity

l The new metric for 3D models is proposed

l Robustness, efficiency, discrimination, etc.l 3D shape search engine for practical use

l http://3d.csie.ntu.edu.tw

44

Thank You