200 likes | 336 Views
Object Detection by Matching. Longin Jan Latecki. ?. Contour-based object detection. Database shapes: ….. . Easy for Human Eyes. Everybody can find the swan in these images. Recall humans can draw a swan. We always draw edges.
E N D
Object Detection by Matching Longin Jan Latecki
? Contour-based object detection Database shapes: …..
Easy for Human Eyes • Everybody can find the swan in these images.
Recall humans can draw a swan • We always draw edges.
Problem: separating noise • Too much noise, and the computer can’t tell which edges belong to object of interest.
Object recognition process: Source: 2D image of a 3D object Object Segmentation Contour Extraction Contour Cleaning, e.g., Evolution Contour Segmentation Matching to database shapes
Object detection as matching database shapes to image edge segments Database shapes: ….. ? matching Edge detection Edge linking Contour grouping
Main challenges 1 . The contour of the desired object is typically fragmented over several pieces. 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
Problem formulation ? How to find the true contours of the target shape in the edge image? Key idea: Given a minimal required coverage of the model contour, we want to select non overlapping model fragments that maximize the configuration similarity to the corresponding image fragments.
All relevant edge fragments are mapped to their corresponding model fragments. Key idea: Build an association graph. Find maximum weight subgraph
Construction of Affinity Matrix The weighted affinity graph is denoted as G = (V, A). Each vertex of the graph corresponds to a partial match The affinity between node i and node j is based on their shape similarity.
Construction of Affinity Matrix High affinity: Low affinity:
Problem with Affinity Matrix Wrong matches may also have high affinity:
We use model and image location constraints to sparsify the Affinity Matrix
Maximal Cliques in a Weighted Graph A maximal clique is a subset of V with maximal average affinity between all pairs of its vertices. [ M. Pavan and M. Pelillo. PAMI 2007] In this example, the maximal clique has 4 nodes selected from over 500 nodes. Therefore, most clustering based approach may not succeed.
Computing Maximum Weight Subgraphs Indicator = selected maximal clique of vertices of V. In order to solve this combinational problem, we relax it to A vertex is selected as belonging to a MWS iff Each MWS corresponds to a local maximum of: Each local solution is not a final solution but a detection hypothesis. Tianyang Ma and Longin Jan Latecki. From Partial Shape Matching through Local Deformation to Robust Global Shape Similarity for Object Detection. CVPR 2011.