global shape matching
play

Global Shape Matching Section 3.3: Articulated Matching using Graph - PowerPoint PPT Presentation

Global Shape Matching Section 3.3: Articulated Matching using Graph Cuts Global Shape Matching: Extrinsic Key Point Detection and Feature Descriptors 1 1 Articulated Shape Matching Feature-based matching alone is not enough to find


  1. Global Shape Matching Section 3.3: Articulated Matching using Graph Cuts Global Shape Matching: Extrinsic Key Point Detection and Feature Descriptors 1 1

  2. Articulated Shape Matching Feature-based matching alone is not enough to find correspondences • Good for narrowing down search space In this section: Leverage this idea to perform articulated shape matching Global Shape Matching: Articulated Matching using Graph Cuts 2

  3. Correspondence Problem Classification How many meshes? • Two: Pairwise registration • More than two: multi-view registration Initial registration available? • Yes: Local optimization methods • No: Global methods Class of transformations? • Rotation and translation: Rigid-body (multiple parts) • Non-rigid deformations Global Shape Matching: Articulated Matching using Graph Cuts 3 3

  4. Basic Idea Two main steps 1. Motion Sampling: Find small set of transformations describing surface movement 2. Optimization: Figure out where to apply which transformation so that the surfaces match Global Shape Matching: Articulated Matching using Graph Cuts 4

  5. Basic Idea: Motion Sampling • Each feature match guesses how that point moved • Each match = a rigid transformation candidate • Property of articulated shapes: each rigid part moves according to a single rigid transformation • Many transformation candidates will be the same! • Use voting scheme to group similar transformations Global Shape Matching: Articulated Matching using Graph Cuts 5

  6. Basic Idea: Optimization • If we know the movement of each part (i.e. extract set of transformations {T} ) • Find an assignment of transformations to the points that “minimizes registration error” Transformations from finite set Target Shape Q Source Shape P Global Shape Matching: Articulated Matching using Graph Cuts 6

  7. Basic Idea: Optimization Find the assignment of transformations in {T} to points in P, that maximizes: n n     ( match ) ( single ) ( compatible ) P ( x ,..., x ) P P , x { T } 1 n i i , j i   i 1 i , j 1 “Data” and “Smoothness” terms evaluate quality of assignment Transformations from finite set Target Shape Q Source Shape P Global Shape Matching: Articulated Matching using Graph Cuts 7

  8. How to find transformations? Global search / feature matching strategy [CZ08] • Sample transformations in advance by feature matching • Inspired by partial symmetry detection [MGP06] • Covered later in the course! Global Shape Matching: Articulated Matching using Graph Cuts 8

  9. Motion Sampling Illustration Find transformations that move parts of the source to parts of the target Source Shape Target Shape Global Shape Matching: Articulated Matching using Graph Cuts 9

  10. Motion Sampling Illustration Find transformations that move parts of the source to parts of the target Sampled Points Source Shape Target Shape Global Shape Matching: Articulated Matching using Graph Cuts 10

  11. Motion Sampling Illustration Find transformations that move parts of the source to parts of the target Source Shape Target Shape Global Shape Matching: Articulated Matching using Graph Cuts 11

  12. Motion Sampling Illustration Find transformations that move parts of the source to parts of the target Rotations Translate Translations Rotate and Translate Translate Source Shape Target Shape Transformation Space Global Shape Matching: Articulated Matching using Graph Cuts 12

  13. Motion Sampling Illustration Find transformations that move parts of the source to parts of the target s1  t1 s1  t2 Rotations s1 t1 Translations t2 s2 s2  t2 s2  t1 Source Shape Target Shape Transformation Space Global Shape Matching: Articulated Matching using Graph Cuts 13

  14. Basic idea Find the assignment of transformations in {T} to points in P, that maximizes: n n     ( match ) ( single ) ( compatible ) P ( x ,..., x ) P P , x { T } 1 n i i , j i   i 1 i , j 1 “Data” and “Smoothness” terms evaluate quality of assignment A discrete labelling problem  Graph Cuts for optimization Transformations from finite set Target Shape Q Source Shape P Global Shape Matching: Articulated Matching using Graph Cuts 14

  15. Data Term For each mesh vertex: Move close to target How to measure distance to target? • Apply assigned transformation T pi for all p i  P • Measure distance to closest point q j in target q j p i T pi Global Shape Matching: Articulated Matching using Graph Cuts 15

  16. Smoothness Term For each mesh edge: preserve length of edge V (p i , p j ,T pi ,T pj ) = │‖ p i − p j ‖ − ‖ T pi (p i ) − T pj (p j ) ‖ │ Original Length Transformed Length • Both versions of T pj (p j ) moved p j close to the target • Disambiguate by preferring the one that preserves length T pi (p i ) p i p j T pj (p j ) T pj (p j ) Global Shape Matching: Articulated Matching using Graph Cuts 16

  17. Symmetric Cost Function Swapping source / target can give different results • Optimize {T} assignment in both meshes • Assign {T} on source vertices, {T -1 } on target vertices • Enforce consistent assignment: penalty when T pi ≠ T qj T qj ( q j ) T qj T qj ( q j ) q j T qj p i T pi ( p i ) T pi T pi ≠ T qj Constant Penalty T pi = T qj No Penalty Global Shape Matching: Articulated Matching using Graph Cuts 17

  18. Optimization Using Graph Cuts argmin Data + Smoothness + Source Source Assignment from a set Data + Smoothness + of transformations Target Target Symmetric Consistency Source & Target • Data and smoothness terms apply to both shapes • Additional symmetric consistency term • Weights to control relative influence of each term • Use “graph cuts” to optimize assignment • [Boykov, Veksler & Zabih PAMI ’01] Global Shape Matching: Articulated Matching using Graph Cuts 18

  19. Synthetic Dataset Example Source Target Aligned Result 1.5% 0% Motion Segmentation (from Graph Cuts) Registration Error Global Shape Matching: Articulated Matching using Graph Cuts 19

  20. Synthetic Dataset w/ Holes Source Target 5.3% 0% Aligned Result Distance (from Target) to the closest point (% bounding box diagonal) Global Shape Matching: Articulated Matching using Graph Cuts 20

  21. Arm Dataset Example Missing Data Missing Data Source Noisy Target Global Shape Matching: Articulated Matching using Graph Cuts 21

  22. Arm Dataset Example 5.4% 0% Distance (from Target) to the closest point (% bounding box diagonal) Aligned Result Motion Segmentation Global Shape Matching: Articulated Matching using Graph Cuts 22

  23. Performance Dataset #Points # Labels Matching Clustering Pruning Graph Cuts Horse 8431 1500 2.1 min 3.0 sec (skip) 1.6 sec 1.1 hr Arm 11865 1000 55.0 sec 0.9 sec 12.4 min 1.2 hr Hand (Front) 8339 1500 14.5 sec 0.7 sec 7.4 min 1.2 hr Hand (Back) 6773 1500 17.3 sec 0.9 sec 9.4 min 1.6 hr Graph cuts optimization is most time-consuming step • Symmetric optimization doubles variable count • Symmetric consistency term introduces many edges Performance improved by subsampling • Use k-nearest neighbors for connectivity Global Shape Matching: Articulated Matching using Graph Cuts 23

  24. Pros/Cons Pro: Feature matching is insensitive to initial pose Con: May fail to sample transformations properly when too much missing data / non-rigid motion Con: Hard assignment of transformations Source Target Registration Global Shape Matching: Articulated Matching using Graph Cuts 24

  25. Conclusions Global shape matching for articulated shapes • Features provide candidate transformations describing surface movement • Optimize the assignment of transformations using graph cuts • No marker, template, segmentation information needed • Robust to occlusion & missing data Thank you for listening! Global Shape Matching: Articulated Matching using Graph Cuts 25

Recommend


More recommend