Top Banner
Object Detection by Matching Longin Jan Latecki
19

Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Dec 18, 2015

Download

Documents

Philomena Wood
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Object Detection by Matching

Longin Jan Latecki

Page 2: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Contour-based object detection

?

Database shapes: …..

Page 3: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

3

Easy for Human Eyes

• Everybody can find the swan in these images.

Page 4: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

4

Recall humans can draw a swan

• We always draw edges.

Page 5: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

5

Computer can also capture edges

Page 6: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Humans can detect shapes given only edges

Page 7: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

7

Problem: separating noise

• Too much noise, and the computer can’t tell which edges belong to object of interest.

Page 8: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

8

Object recognition process:

Source:2D image of a 3D object

Matching to database shapes

Contour Segmentation

Contour Extraction

Object Segmentation

Contour Cleaning, e.g., Evolution

Page 9: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Object detection as matching database shapes to image edge segments

Database shapes: …..

Contour groupingEdge detection Edge linking

?matching

Page 10: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Main challenges

2 . Part of the true contour of the target object may be wrongly connected to part of a background contour resulting in a single edge fragment

1 . The contour of the desired object is typically fragmented over several pieces.

Page 11: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

How to find the true contours of the target shape in the edge image?

Problem formulation

?

Key idea:Given a minimal required coverage of the model contour,we want to select non overlapping model fragments that maximizethe configuration similarity to the corresponding image fragments.

Page 12: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

All relevant edge fragments are mapped to their corresponding model fragments.

Key idea:1. Build an association graph.2. Find maximum weight

subgraph

Page 13: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Construction of Affinity Matrix

Each vertex of the graph corresponds to a partial match

The affinity between node i and node j is based on their shape similarity.

jv

iv

( , )A i j

The weighted affinity graph is denoted as G = (V, A).

Page 14: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Construction of Affinity Matrix

High affinity:

Low affinity:

Page 15: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Problem with Affinity Matrix

Wrong matches may also have high affinity:

Page 16: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

We use model and image location constraints to sparsify the Affinity Matrix

Page 17: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Maximal Cliques in a Weighted GraphA maximal clique is a subset of V with maximal average affinity between all pairs of its vertices.

In this example, the maximal clique has 4 nodes selected from over 500 nodes. Therefore, most clustering based approach may not succeed.

[ M. Pavan and M. Pelillo. PAMI 2007]

Page 18: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

In order to solve this combinational problem, we relax it to

A vertex is selected as belonging to a MWS iff v V 0vx

Each MWS corresponds to a local maximum of:

Each local solution is not a final solution but a detection hypothesis.

Indicator = selected maximal clique of vertices of V.

Computing Maximum Weight Subgraphs

{0,1}NX

1: 0 and 1NX R X X

( ) Tf X X AX

Tianyang Ma and Longin Jan Latecki. From Partial Shape Matching through Local Deformation to Robust Global Shape Similarity for Object Detection.CVPR 2011.

Page 19: Object Detection by Matching Longin Jan Latecki. Contour-based object detection Database shapes: …..

Object detection examples