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

global shape matching
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

1

Global Shape Matching

Section 3.3: Articulated Matching using Graph Cuts

1

Global Shape Matching: Extrinsic Key Point Detection and Feature Descriptors

slide-2
SLIDE 2

2

Global Shape Matching: Articulated Matching using Graph Cuts

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

slide-3
SLIDE 3

3

Global Shape Matching: Articulated Matching using Graph Cuts

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
slide-4
SLIDE 4

4

Global Shape Matching: Articulated Matching using Graph Cuts

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

slide-5
SLIDE 5

5

Global Shape Matching: Articulated Matching using Graph Cuts

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
slide-6
SLIDE 6

6

Global Shape Matching: Articulated Matching using Graph Cuts

Basic Idea: Optimization

  • If we know the movement of each part (i.e. extract set
  • f transformations {T} )
  • Find an assignment of transformations to the points

that “minimizes registration error”

Transformations from finite set

Source Shape P Target Shape Q

slide-7
SLIDE 7

7

Global Shape Matching: Articulated Matching using Graph Cuts

Basic Idea: Optimization

Find the assignment of transformations in {T} to points in P, that maximizes:

} { , ) ,..., (

1 , ) ( , 1 ) ( 1 ) (

T x P P x x P

i n j i compatible j i n i single i n match

 

 

 

“Data” and “Smoothness” terms evaluate quality of assignment

Transformations from finite set

Source Shape P Target Shape Q

slide-8
SLIDE 8

8

Global Shape Matching: Articulated Matching using Graph Cuts

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!
slide-9
SLIDE 9

9

Global Shape Matching: Articulated Matching using Graph Cuts

Motion Sampling Illustration

Find transformations that move parts of the source to parts of the target Source Shape Target Shape

slide-10
SLIDE 10

10

Global Shape Matching: Articulated Matching using Graph Cuts

Motion Sampling Illustration

Find transformations that move parts of the source to parts of the target Source Shape Target Shape

Sampled Points

slide-11
SLIDE 11

11

Global Shape Matching: Articulated Matching using Graph Cuts

Motion Sampling Illustration

Find transformations that move parts of the source to parts of the target Source Shape Target Shape

slide-12
SLIDE 12

12

Global Shape Matching: Articulated Matching using Graph Cuts

Motion Sampling Illustration

Find transformations that move parts of the source to parts of the target

Translate Rotate and Translate Translate Rotations Translations

Source Shape Target Shape Transformation Space

slide-13
SLIDE 13

13

Global Shape Matching: Articulated Matching using Graph Cuts

Motion Sampling Illustration

Find transformations that move parts of the source to parts of the target s2 s1 t1 t2

s1t1 s2t1 s1t2 s2t2 Rotations Translations

Source Shape Target Shape Transformation Space

slide-14
SLIDE 14

14

Global Shape Matching: Articulated Matching using Graph Cuts

Basic idea

Find the assignment of transformations in {T} to points in P, that maximizes: A discrete labelling problem  Graph Cuts for optimization

} { , ) ,..., (

1 , ) ( , 1 ) ( 1 ) (

T x P P x x P

i n j i compatible j i n i single i n match

 

 

 

“Data” and “Smoothness” terms evaluate quality of assignment

Transformations from finite set

Source Shape P Target Shape Q

slide-15
SLIDE 15

15

Global Shape Matching: Articulated Matching using Graph Cuts

Data Term

For each mesh vertex: Move close to target How to measure distance to target?

  • Apply assigned transformation Tpi for all pi  P
  • Measure distance to closest point qj in target

pi

qj

Tpi

slide-16
SLIDE 16

16

Global Shape Matching: Articulated Matching using Graph Cuts

For each mesh edge: preserve length of edge

  • Both versions of Tpj(pj) moved pj close to the target
  • Disambiguate by preferring the one that preserves length

Smoothness Term

Original Length Transformed Length

V (pi , pj,Tpi ,Tpj) = │‖pi − pj‖ − ‖ Tpi(pi)− Tpj(pj) ‖ │ pi pj Tpi(pi) Tpj(pj) Tpj(pj)

slide-17
SLIDE 17

17

Global Shape Matching: Articulated Matching using Graph Cuts

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 Tpi ≠ Tqj

Tpi = Tqj No Penalty

Tqj Tqj(qj) Tqj Tqj(qj)

pi qj

Tpi Tpi(pi)

Tpi ≠ Tqj Constant Penalty

slide-18
SLIDE 18

18

Global Shape Matching: Articulated Matching using Graph Cuts

Optimization Using Graph Cuts

Data Smoothness argmin

Assignment from a set

  • f transformations

+

Source Target

Data

Source Target

Smoothness + + + 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]
slide-19
SLIDE 19

19

Global Shape Matching: Articulated Matching using Graph Cuts

Synthetic Dataset Example

Motion Segmentation (from Graph Cuts)

Source Target Aligned Result

Registration Error

1.5% 0%

slide-20
SLIDE 20

20

Global Shape Matching: Articulated Matching using Graph Cuts

Synthetic Dataset w/ Holes

Source Aligned Result

Distance (from Target) to the closest point (% bounding box diagonal) 5.3% 0%

Target

slide-21
SLIDE 21

21

Global Shape Matching: Articulated Matching using Graph Cuts

Arm Dataset Example

Source Noisy Target

Missing Data Missing Data

slide-22
SLIDE 22

22

Global Shape Matching: Articulated Matching using Graph Cuts

Arm Dataset Example

Aligned Result Motion Segmentation

5.4% 0%

Distance (from Target) to the closest point (% bounding box diagonal)

slide-23
SLIDE 23

23

Global Shape Matching: Articulated Matching using Graph Cuts

Performance

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

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

slide-24
SLIDE 24

24

Global Shape Matching: Articulated Matching using Graph Cuts

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

slide-25
SLIDE 25

25

Global Shape Matching: Articulated Matching using Graph Cuts

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!