paint mesh cutting
play

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


  1. Paint Mesh Cutting Lubin Fan Ligang Liu Kun Liu Zhejiang University

  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

  3. Motivation • How to cut out its tail?

  4. Motivation • Automatic algorithms Random walks Primitive fitting Hierarchical [Lai et al. 2008] Survey [Attene et al. 2006] clustering Graph cuts [Chen et al. 2009] [Gelfand et al. 2004] Randomized cuts [Katz et al. 2003] [Golovinskiy et al.2008] Year Survey Spectral Core [Shamir et al. 2008] clustering extraction [Liu et al. 2004] [Katz et al. 2005] Survey [Attene et al. 2006]

  5. Motivation • Interactive tools for mesh segmentation – Direct UI Direct UI [Funkhouser et al. 2004, Chen et al. 2009]

  6. Motivation • Interactive tools for mesh segmentation – Direct UI – Sketch-based UI

  7. Motivation • Interactive tools for mesh segmentation – Direct UI – Sketch-based UI Foreground/background Brushes (FBB) [Ji et al. 2006, Zhang et al. 2010]

  8. Motivation • Interactive tools for mesh segmentation – Direct UI – Sketch-based UI Cross-boundary Brushed (CBB) [Zheng et al. 2010]

  9. Motivation • Interactive tools for mesh segmentation – Direct UI – Sketch-based UI Foreground/background Brushes (FBB) Cross-boundary Brushes (CB) [Ji et al. 2006, Zhang et al. 2010] [Zheng et al. 2010]

  10. Related Work • Interactive image segmentation – Paint Selection [Liu et al. 2009] Demo here

  11. Motivation 2D 3D Mesh Segmentation ? Paint Selection [Liu et al. 2009]

  12. Motivation • Our Goal – Easy and simple – Natural manner – Specify user intention intuitively – Instant feedback What you paint is what you get!

  13. This Work Demo: dinosaur

  14. This Work Demo: camel

  15. Optimization • Minimize the Energy            E L E l E l l , d v s v u       v v u ,   data term , the penalty of assigning a label l v to E d vertex v (1- foreground , 0- background ).   smoothness term , the penalty for assigning different E , s labels to two adjacent vertices v and u.

  16. Data Term – E d (·) • How to define the penalty in data term? Foreground - 1          f b E l l L 1 l L d v v v v v f L         v f L ln p M v v f Probability         v b L ln p M v v b b L v   M v Surface Metric Background - 0

  17. Surface Metric • Shape diameter function(SDF) [Shamir et al. 2008] – Rely on volume information – Insensitive to noise – Insensitive to pose variation

  18. Build SDF Models

  19. Build SDF Models Gaussian Mixture Model (GMM)   p f Foreground   p b Background

  20. Data Term – E d (·) • Data Term       1 l K , f v S   v  E l d v       f b l L 1 l L , otherwise v v v v                 f b L ln p M v L ln p M v v f v b Foreground Background

  21. Energy Terms • Data Term • Smoothness Term                   E l l , l l ln 1 n v u , g v u , s v u v u      1   e v u , e n n     v u n v u , min g v u ,  2 e e max min n u u n v   e v u , v

  22. Graph Cuts Foreground (Source) Min Cut Background (Sink) [Boykov and Jolly 2001]

  23. System Overview • Progressive expansion algorithm Initial Global Progressive Local Final Global Optimization Optimization Optimization Start to draw a stroke Stop painting • Goal – simple and easy to use – instant feedback (usually under 0.1 sec.) – expand the foreground continuously

  24. Initial Global Optimization Algorithm • Compute SDF values. • Construct global graph. • Build the background GMM model p b (·) with 4 components. • Build the foreground GMM model p f (·) with 2 components. • Apply the graph cuts optimization.

  25. Progressive Local Optimization

  26. Progressive Local Optimization

  27. Progressive Local Optimization Algorithm • Construct local graph. • Build p f (·) with 1 components. • Update background sample vertices. • Update p b (·) . • Apply graph cuts optimization to local graph.

  28. Progressive Local Optimization Algorithm • Construct local graph. • Build p f (·) with 1 components. • Update background sample vertices. • Update p b (·) . • Apply graph cuts optimization to local graph.

  29. Final Global Optimization Algorithm • Update p f (·) with 2 components. • Update p b (·) with 4 components. • Apply the graph cuts optimization.

  30. Flow Chart Initial Global Final Global Progressive Local Original Model Optimization Optimization Optimization

  31. Implementation Details

  32. Implementation Details • Cutting boundary refinement – Boundary smoothing by snakes on mesh [Ji et al. 2006]

  33. Implementation Details • Cutting boundary refinement • Background painting       1 l K , f v S v     E l   l K , b v S d v v       f b l L 1 l L , otherwise v v v v

  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]

  35. Results Demo: armadillo

  36. Results Demo: patch: bunny

  37. Results • Independent on specific brushes

  38. Results • Insensitive to pose variation

  39. Results • Insensitive to noise 10% 40% 10% 30%

  40. Results • Running time < 100 ms Model # Vertex T 1 (ms) T 2 (ms) T 3 (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 * T 1 , T 2 , T 3 denote the computation time of the three steps in our algorithm, i.e., the initial global optimization, averaged local optimization, and the final global optimization, respectively.

  41. Results • More

  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

  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 Corpus • The favorite algorithm

  44. Analysis • Interaction time Averaged time and standard error Averaged time and standard error of the segmentation algorithm of user interactions

  45. Analysis • Accuracy – Region-based measure [McGuinness et al. 2010] 0 0 S S  1 2 BJI S S ( , ) 1 2 0 0 S S 1 2 • Subjective evaluation Order Algorithm Comparison of accuracy for 1 FB three tools: averaged BJI 2 CBB value and standard error. 3 FBB

  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.

  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!

  48. Thanks!

  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

Recommend


More recommend