Shape recognition by bag of skeleton-associated contour parts

Wei Shen, Yuan Jiang, Wenjing Gao, Dan Zeng, Xinggang Wang

Introduction

Shape recognition remains a fundamental challenge in computer vision, particularly when dealing with objects that exhibit significant non-rigid deformation or articulation. Traditional approaches typically fall into two categories: contour-based methods, which focus on the external boundary, and skeleton-based methods, which capture the internal topological structure. While contour-based methods excel at capturing fine geometric details, they often struggle with pose variations. Conversely, skeleton-based methods are robust to bending but frequently lack the descriptive power required for high-accuracy classification.

This paper presents a novel framework, Bag of Skeleton-associated Contour Parts (BSCP), which achieves a principled fusion of these two representations. By embedding local "thickness" information derived from the skeleton directly into a contour-based descriptor, the proposed method bridges the gap between boundary geometry and internal volume.

Methodology: Skeleton-Contour Association

The core innovation of the BSCP framework is the Skeleton-associated Shape Context (SSC) descriptor. Unlike the standard Shape Context, which only considers the spatial distribution of points on a contour, the SSC incorporates a third dimension: local thickness.

The process begins with Skeleton-Contour Association. For every point on the object's boundary, the algorithm identifies its corresponding point on the internal skeleton. This association allows the system to assign a "thickness" value—the radius of the maximal inscribed circle at that skeletal point—to each contour point.

Visualization of the skeleton-contour association process, showing the mapping between the boundary (green) and the internal skeleton (red).

By integrating this thickness data, the SSC descriptor becomes a 3D tensor that captures how the object's volume changes relative to its boundary. This "early fusion" approach allows the subsequent classifier to learn the complex relationships between shape geometry and internal structure simultaneously.

Feature Encoding and Classification

The framework employs a Bag of Features (BoF) pipeline to transform local descriptors into a global shape representation:

  1. Fragment Extraction: The contour is partitioned into overlapping fragments.
  2. Locality-constrained Linear Coding (LLC): These fragments are encoded into "shape codes" using a learned dictionary.
  3. Spatial Pyramid Matching (SPM): To preserve spatial layout, the shape is divided into multi-scale regions, and features are pooled within each region.
  4. Classification: A linear Support Vector Machine (SVM) is used for final category prediction.

Experimental Evaluation

The researchers evaluated the BSCP method across three challenging benchmarks: MPEG-7, the Animal dataset, and ETH-80. These datasets contain a wide variety of silhouettes, ranging from simple tools to highly articulated animals.

Sample silhouettes from the evaluation datasets, illustrating the diversity and complexity of shapes handled by the BSCP framework.

Performance Highlights

  • Animal Dataset: The method achieved a state-of-the-art accuracy of 89.04%, outperforming the previous best (Contextual BoW) by over 3%. This result is particularly significant given the high intra-class variation and diverse poses present in the dataset.
  • MPEG-7: The system reached 98.41% accuracy, effectively "solving" this classic benchmark and surpassing other hybrid methods.
  • ETH-80: BSCP achieved 93.05%, demonstrating robustness to perspective changes in 3D objects.

The system also maintains high computational efficiency, with descriptor computation taking approximately 25ms and classification requiring only 17.5ms per shape.

Conclusion

The Bag of Skeleton-associated Contour Parts framework demonstrates that low-level fusion of skeletal and contour information significantly enhances shape recognition performance. By using thickness as a proxy for structural robustness, the SSC descriptor remains resilient to non-rigid deformations. While the method's performance is currently tied to the quality of the skeletonization process, it sets a new standard for silhouette-based object recognition.

Summary updated

BibTeX
@article{shen2016shape,
  author = {Wei Shen and Yuan Jiang and Wenjing Gao and Dan Zeng and Xinggang Wang},
  title = {{Shape recognition by bag of skeleton-associated contour parts}},
  journal = {Pattern Recognition Letters},
  year = {2016},
  doi = {10.1016/j.patrec.2016.02.002},
}
Figure