learning 3d mesh segmentation and labeling evangelos kalogerakis, aaron hertzmann, karan singh...

41
Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand Upper leg Lower leg Foot

Post on 21-Dec-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Learning 3D mesh segmentation and labeling

Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh

University of Toronto

HeadTorsoUpper armLower armHand

Upper legLower legFoot

Page 2: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Goal: mesh segmentation and labeling

Input Mesh

Labeled Mesh

Training Meshes

Head

Neck

Torso

Leg

Tail

Ear

Page 3: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Related work: mesh segmentation

[Mangan and Whitaker 1999, Shlafman et al. 2002,

Katz and Tal 2003, Liu and Zhang 2004, Katz et al. 2005, Simari et al. 2006, Attene et al. 2006, Lin et al. 2007, Kraevoy et al. 2007, Pekelny and Gotsman 2008, Golovinskiy and Funkhouser 2008, Li et al. 2008, Lai et al. 2008, Lavoue and Wolf 2008, Huang et al. 2009, Shapira et al. 2010]

Surveys: [Attene et al. 2006, Shamir 2008, Chen et al. 2009]

Page 4: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Related work: mesh segmentation

Shape Diameter[Shapira et al. 10]

Randomized Cuts[Golovinskiy and Funkhouser 08]

Random Walks[Lai et al. 08]

Normalized Cuts[Golovinskiy and Funkhouser 08]

Page 5: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Is human-level segmentation even possible without higher-level cues?

[X. Chen et al. SIGGRAPH 09]

Page 6: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Is human-level segmentation even possible without higher-level cues?

[X. Chen et al. SIGGRAPH 09]

Page 7: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Image segmentation and labeling

[Konishi and Yuille 00, Duygulu et al. 02, He et al. 04, Kumar and Hebert 03, Anguelov et al. 05, Tu et al.05, Schnitman et al. 06, Lim and Suter 07, Munoz et al. 08,…]

Textonboost [Shotton et al. ECCV 06]

Page 8: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Related work: mesh segmentation & labeling

Multi-objective segmentation and labeling[Simari et al. 09]

Consistent segmentation of 3D meshes [Golovinskiy and Funkhouser 09]

Page 9: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Learn from examplesSignificantly better results than state-of-the-artNo manual parameter tuning Can learn different styles of segmentationSeveral applications of part labeling

Learning mesh segmentation and labeling

Page 10: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Labeling problem statement

C = { head, neck, torso, leg, tail, ear }

c1

Head

Neck

Torso

Leg

Tail

Ear

c2

c4

c3

1 2 3, , c c c C

Page 11: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Unary term

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 12: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Face features

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 13: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Face Area

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 14: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Pairwise Term

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 15: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Edge Features

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 16: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Edge Length

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 17: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Conditional Random Field for Labeling

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Unary term

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 18: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Feature vector

x

surface curvaturesingular values from PCAshape diameter distances from medial

surfaceaverage geodesic distancesshape contextsspin imagescontextual label features

375 35| | P( | ) C cx x

Page 19: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Learning a classifier

x2

x1

Head

Neck

Torso

Leg

Tail

Ear

{( , )} i icx

Page 20: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Learning a classifier

x2

x1

Head

Neck

Torso

Leg

Tail

Ear

?

{( , )} i icxWe use the Jointboost classifier [Torralba et al. 2007]

Page 21: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Unary term

1( ; ) log P( | )c c x x

P( | )head x P( | )neck x P( | )ear x

P( | )torso x P( | )leg x P( | )tail x

Page 22: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Unary Term

Most-likely labels argmax ( | )

cP c x

Classifier entropy( | ) log ( | )

c

P c P cx x

Page 23: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Our approach

1 2,

* argmin ( ; ) ( , ; )i i ij i jj

c c l c c

i ij

cx y

Pairwise Term

Input Mesh

Labeled Mesh

Head

Neck

Torso

Leg

Tail

Ear

Page 24: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Pairwise Term

Geometry-dependent term

2 2( , '; , ) ( ) ( , ')c c G L c c y y

Page 25: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

2 2( , '; , ) ( ) ( , ')c c G L c c y y

Pairwise Term

Label compatibility term

0 .45 .07 1

.45 0 1

.07 0( , ')

1 1 0 1 .56

1 0

.56 0

L c c

Head

Neck

Ear

Torso

Leg TailHeadNeckEarTorsoLeg

Tail

Page 26: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Full CRF result

Head

Neck

Torso

Leg

Tail

Ear

Unary term classifier

Full CRF result

Page 27: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Learning

Learn unary classifier and G(y) with Joint Boosting [Torralba et al. 2007]

Hold-out validation for the rest of parameters

Page 28: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Dataset used in experiments

We label 380 meshes from the Princeton Segmentation Benchmark

Each of the 19 categories is treated separately

[Chen et al. 2009]AntennaHead

ThoraxLeg

Abdomen

Page 29: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Quantitative Evaluation

Labeling• 6% error by surface area• No previous automatic method

Segmentation• Our result: 9.5% Rand Index error• State-of-the art: 16% [Golovinskiy and

Funkhouser 08]

• With 6 training meshes: 12%• With 3 training meshes: 15%

Page 30: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Labeling results

Page 31: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Segmentation Comparisons

Shape Diameter[Shapira et al.

10]

Randomized Cuts

[Golovinskiy and Funkhouser 08]

Our approach

Page 32: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Segmentation Comparisons

Shape Diameter[Shapira et al.

10]

Randomized Cuts

[Golovinskiy and Funkhouser 08]

Our approach

Page 33: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Learning different segmentation styles

Training Meshes

Test Meshes

Head

Torso

Leg

Tail

Ear

Neck

Head

Middle TorsoBack TorsoFront LegBack Leg

Front Torso

Tail

Page 34: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Generalization to different categories

HeadWingBodyTail

HeadNeckTorsoLeg

Page 35: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Torso

Leg

Failure cases

Face

NeckHair

Nose

HandleCup

Page 36: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Adjacent segments with the same label are merged

Limitations

Head

TorsoUpper armLower armHand

Upper legLower legFoot

Page 37: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Limitations

Results depend on having sufficient training data

HandleCup

Top

Spout

19 training meshes

3 training meshes

Page 38: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Many features are sensitive to topology

Limitations

Head

TorsoUpper armLower armHand

Upper legLower legFoot

Page 39: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Applications: Character Texturing, RiggingEar

HeadTorsoBackUpper armLower armHandUpper legLower legFootTail

Page 40: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Summary

• Use prior knowledge for 3D mesh segmentation and labeling

• Based on a Conditional Random Field model• Parameters are learned from examples• Applicable to a broad range of meshes• Significant improvements over the state-of-

the-art

Page 41: Learning 3D mesh segmentation and labeling Evangelos Kalogerakis, Aaron Hertzmann, Karan Singh University of Toronto Head Tors o Upper arm Lower arm Hand

Thank you!

Acknowledgements: Xiaobai Chen, Aleksey Golovinskiy, Thomas Funkhouser, Szymon Rusinkiewicz , Olga Veksler, Daniela Giorgi, AIM@SHAPE, David Fleet, Olga Vesselova, John Hancock

Our project web page:http://www.dgp.toronto.edu/~kalo/papers/LabelMeshes/