Paint Mesh Cutting Lubin Fan Ligang Liu Kun Liu Zhejiang - - PowerPoint PPT Presentation

paint mesh cutting
SMART_READER_LITE
LIVE PREVIEW

Paint Mesh Cutting Lubin Fan Ligang Liu Kun Liu Zhejiang - - PowerPoint PPT Presentation

Paint Mesh Cutting Lubin Fan Ligang Liu Kun Liu Zhejiang University Outline Related work & Motivation Basic algorithm Graph cuts based optimization Paint mesh cutting system Global and local optimization Results


slide-1
SLIDE 1

Paint Mesh Cutting

Lubin Fan Ligang Liu Kun Liu

Zhejiang University

slide-2
SLIDE 2

Outline

  • Related work & Motivation
  • Basic algorithm

– Graph cuts based optimization

  • Paint mesh cutting system

– Global and local optimization

  • Results & conclusion

– Results – User study – Conclusion

slide-3
SLIDE 3

Motivation

  • How to cut out its tail?
slide-4
SLIDE 4

Motivation

  • Automatic algorithms

Year

Graph cuts

[Katz et al. 2003]

Hierarchical clustering

[Gelfand et al. 2004]

Spectral clustering

[Liu et al. 2004]

Core extraction

[Katz et al. 2005]

Primitive fitting

[Attene et al. 2006]

Random walks

[Lai et al. 2008]

Randomized cuts

[Golovinskiy et al.2008]

Survey

[Attene et al. 2006]

Survey

[Shamir et al. 2008]

Survey

[Chen et al. 2009]

slide-5
SLIDE 5

Motivation

  • Interactive tools for mesh segmentation

– Direct UI

Direct UI [Funkhouser et al. 2004, Chen et al. 2009]

slide-6
SLIDE 6

Motivation

  • Interactive tools for mesh segmentation

– Direct UI – Sketch-based UI

slide-7
SLIDE 7

Foreground/background Brushes (FBB) [Ji et al. 2006, Zhang et al. 2010]

Motivation

  • Interactive tools for mesh segmentation

– Direct UI – Sketch-based UI

slide-8
SLIDE 8

Cross-boundary Brushed (CBB) [Zheng et al. 2010]

Motivation

  • Interactive tools for mesh segmentation

– Direct UI – Sketch-based UI

slide-9
SLIDE 9

Motivation

  • Interactive tools for mesh segmentation

– Direct UI – Sketch-based UI

Foreground/background Brushes (FBB) [Ji et al. 2006, Zhang et al. 2010] Cross-boundary Brushes (CB) [Zheng et al. 2010]

slide-10
SLIDE 10

Related Work

  • Interactive image segmentation

– Paint Selection [Liu et al. 2009]

Demo here

slide-11
SLIDE 11

3D

Motivation

?

Paint Selection [Liu et al. 2009]

2D

Mesh Segmentation

slide-12
SLIDE 12

Motivation

  • Our Goal

– Easy and simple – Natural manner – Specify user intention intuitively – Instant feedback

What you paint is what you get!

slide-13
SLIDE 13

This Work

Demo: dinosaur

slide-14
SLIDE 14

This Work

Demo: camel

slide-15
SLIDE 15

Optimization

  • Minimize the Energy

     

 

,

,

d v s v u v v u

E L E l E l l

 

 

 

 

smoothness term, the penalty for assigning different labels to two adjacent vertices v and u.

 

,

s

E

 

d

E data term, the penalty of assigning a label lv to vertex v (1-foreground, 0-background).

slide-16
SLIDE 16

Data Term – Ed(·)

  • How to define the penalty in data term?

Foreground - 1 Background - 0

v

f v

L

b v

L

 

 

ln

f v f

L p M v    

 

 

ln

b v b

L p M v    

   

1

f b d v v v v v

E l l L l L     

 

M v

Surface Metric Probability

slide-17
SLIDE 17

Surface Metric

  • Shape diameter function(SDF) [Shamir et al. 2008]

– Rely on volume information – Insensitive to noise – Insensitive to pose variation

slide-18
SLIDE 18

Build SDF Models

slide-19
SLIDE 19

Build SDF Models

Foreground Background

 

f

p

 

b

p

Gaussian Mixture Model (GMM)

slide-20
SLIDE 20

Foreground Background

Data Term – Ed(·)

  • Data Term

 

d v

E l 

 

1 ,

v

l K  

f

v S  

 

1 ,

f b v v v v

l L l L    

  • therwise

 

 

ln

v f f

p L M v    

 

 

ln

v b b

p L M v    

slide-21
SLIDE 21

Energy Terms

  • Data Term
  • Smoothness Term

v u

v

n

u

n

 

, e v u

       

 

, ln 1 , ,

s v u v u

E l l l l n v u g v u        

 

1 , 2

v u

n v u    n n

   

min max min

, , e v u e g v u e e   

slide-22
SLIDE 22

Graph Cuts

Foreground (Source) Background (Sink) Min Cut

[Boykov and Jolly 2001]

slide-23
SLIDE 23

System Overview

  • Progressive expansion algorithm
  • Goal

– simple and easy to use – instant feedback (usually under 0.1 sec.) – expand the foreground continuously

Initial Global Optimization Progressive Local Optimization Final Global Optimization

Start to draw a stroke Stop painting

slide-24
SLIDE 24

Initial Global Optimization

Algorithm

  • Compute SDF values.
  • Construct global graph.
  • Build the background

GMM model pb(·) with 4 components.

  • Build the foreground

GMM model pf(·) with 2 components.

  • Apply the graph cuts
  • ptimization.
slide-25
SLIDE 25

Progressive Local Optimization

slide-26
SLIDE 26

Progressive Local Optimization

slide-27
SLIDE 27

Progressive Local Optimization

Algorithm

  • Construct local graph.
  • Build pf (·) with 1

components.

  • Update background

sample vertices.

  • Update pb (·).
  • Apply graph cuts
  • ptimization to local

graph.

slide-28
SLIDE 28

Progressive Local Optimization

Algorithm

  • Construct local graph.
  • Build pf (·) with 1

components.

  • Update background

sample vertices.

  • Update pb (·).
  • Apply graph cuts
  • ptimization to local

graph.

slide-29
SLIDE 29

Final Global Optimization

Algorithm

  • Update pf (·) with 2

components.

  • Update pb(·) with 4

components.

  • Apply the graph cuts
  • ptimization.
slide-30
SLIDE 30

Flow Chart

Original Model Initial Global Optimization Final Global Optimization Progressive Local Optimization

slide-31
SLIDE 31

Implementation Details

slide-32
SLIDE 32

Implementation Details

  • Cutting boundary refinement

– Boundary smoothing by snakes on mesh [Ji et al. 2006]

slide-33
SLIDE 33

Implementation Details

  • Cutting boundary refinement
  • Background painting

 

d v

E l 

 

1 ,

v

l K  

f

v S  

 

1 ,

f b v v v v

l L l L    

  • therwise

,

v

l K 

b

v S  

slide-34
SLIDE 34

Implementation Details

  • Cutting boundary refinement
  • Background painting
  • Speedup

– Computation of SDF values

  • Interpolation using the Poisson equation [Kovacic et al. 2010]

– Graph cuts optimization

  • Parallel graph-cut method [Srandmark et al. 2010]
slide-35
SLIDE 35

Results

Demo: armadillo

slide-36
SLIDE 36

Results

Demo: patch: bunny

slide-37
SLIDE 37

Results

  • Independent on specific brushes
slide-38
SLIDE 38

Results

  • Insensitive to pose variation
slide-39
SLIDE 39

Results

10% 40%

  • Insensitive to noise

10% 30%

slide-40
SLIDE 40

Results

  • Running time

Model # Vertex T1 (ms) T2 (ms) T3 (ms) Dino 28,150 53 10 178 Woman 5,691 8 6 27 Airplane 6,797 12 5 24 Armadillo 25,193 36 10 120 Bunny 34,835 54 11 248

* T1 , T2 , T3 denote the computation time of the three steps in our algorithm, i.e., the initial global optimization, averaged local

  • ptimization, and the final global optimization, respectively.

< 100 ms

slide-41
SLIDE 41

Results

  • More
slide-42
SLIDE 42

User Study

  • Three sketch-based user interface algorithms

– Foreground/background brushes (FBB) [Ji et al. 2006] – Cross boundary brushes (CBB) [Zheng et al. 2010] – Foreground brushes (FB) - Paint Mesh Cutting

FBB CBB FB

slide-43
SLIDE 43

User Study

  • Assignment

– 16 participants – 16 models – Each participant test 6 models by using 3 algorithms respectively. – A short questionnaire

  • Accuracy
  • Efficiency
  • User intention
  • The favorite algorithm

Corpus

slide-44
SLIDE 44

Analysis

  • Interaction time

Averaged time and standard error

  • f user interactions

Averaged time and standard error

  • f the segmentation algorithm
slide-45
SLIDE 45

Analysis

  • Accuracy

– Region-based measure [McGuinness et al. 2010]

  • Subjective evaluation

1 2 1 2 1 2

( , ) S S BJI S S S S 

Comparison of accuracy for three tools: averaged BJI value and standard error. Order Algorithm 1 FB 2 CBB 3 FBB

slide-46
SLIDE 46

Limitations & Future Work

  • It is difficult to cut out the partial part for smooth

surfaces.

  • User need to specify many strokes to cut out some

semantic parts from highly-detailed regions.

slide-47
SLIDE 47

Conclusion

  • Novel tool for interactive mesh segmentation
  • Obtain the cutting results instantly
  • Provide users a favorable experience on cutting mesh

surfaces

  • What you paint is what you get!
slide-48
SLIDE 48

Thanks!

slide-49
SLIDE 49

Acknowledgements

  • Funding agencies:

– National Natural Science Foundation of China (61070071) – 973 National Key Basic Research Foundation of China (No. 2009CB320801)

  • Jie Xu for video narration