Fan Shape Model for object detection

Xinggang Wang, Xiang Bai, Tianyang Ma, Wenyu Liu, Longin Jan Latecki

Abstract

The Fan Shape Model (FSM) is a flexible framework for object detection that represents shapes as a collection of "rays" emanating from a central point, analogous to the slats of a folding fan. By enforcing the structural order of these rays while allowing for local deformations, the model achieves high tolerance for shape variation and fragmented edges. Furthermore, FSM enables rapid scale estimation without the need for traditional image pyramids. This paper demonstrates the model's effectiveness on the ETHZ Shape Classes and PASCAL VOC datasets, particularly in handling highly deformable categories like giraffes.

Introduction

Shape-based object detection faces three primary challenges in computer vision:

  1. Intra-class Variation: Objects within the same category, such as animals, often exhibit significant pose deformation that rigid templates cannot capture.
  2. Edge Quality: Real-world images often suffer from noise or low contrast, leading to fragmented contours. Most detectors rely on clean edge-linking, which fails in these conditions.
  3. Scale Variance: Searching for objects at multiple scales typically requires computationally expensive image pyramids or repeated model resizing.

The Fan Shape Model (FSM) addresses these hurdles by treating shape detection as a flexible matching problem that preserves topology rather than rigid geometry.

The Fan Shape Model

The core concept of FSM is the representation of an object as a set of rays, similar to a folding fan. While the slats can stretch or rotate, their relative order remains fixed.

Representation

An object is modeled as a set of rays $R_i = (\theta_i, d_i, \alpha_i)$, where:

  • $\theta_i$ is the angle from a reference center $O$.
  • $d_i$ is the distance from the center.
  • $\alpha_i$ is the local edge orientation at point $p_i$.
Geometric representation of a single ray $p_i$ relative to the object center $O$.

Learning and Matching

The model learns the statistical distribution of these parameters from training data. Using Dynamic Programming, FSM finds correspondences between training samples to understand how specific parts (e.g., a giraffe's head) typically move or stretch. During detection, the model enforces structural constraints such as "Contour Support" (verifying edge connectivity between rays) and "Distance Consistency" (ensuring natural spacing between parts) to filter out clutter.

Fast Scale Estimation

Unlike traditional methods that utilize a sliding window across an image pyramid, FSM employs a voting scheme for scale estimation. For a potential object center, edge pixels "vote" for the most likely scale based on their distance from that center. The final detection score is only calculated at the scale receiving the most votes, significantly reducing computational overhead.

Experimental Results

The authors evaluated FSM on the ETHZ Shape Classes (Applelogos, Bottles, Giraffes, Mugs, and Swans) and PASCAL VOC.

Robustness to Deformation and Clutter

FSM achieved a state-of-the-art Average Precision (AP) of 0.832 for the "Giraffes" category, which is notoriously difficult due to extreme neck and leg flexibility. The mean AP across all ETHZ classes was 0.869, outperforming the popular Deformable Part Model (DPM) of the time.

Detection results across various categories showing (a) original image, (b) edge map, (c) grouped edges, and (d) final detections.

As shown in the results, the model remains robust even when edge detectors produce fragmented results. By working directly on raw edge pixels rather than requiring perfectly linked segments, FSM maintains high performance in cluttered environments.

Conclusion

The Fan Shape Model offers a robust and efficient alternative to rigid template matching. By prioritizing topological order over rigid coordinates and utilizing a novel scale voting mechanism, FSM handles significant shape deformation and poor edge quality while maintaining high detection speeds. Future work may involve integrating structural constraints directly into the detection phase to further enhance robustness against occlusion and complex backgrounds.

Summary updated

BibTeX
@inproceedings{wang2012fan,
  author = {Xinggang Wang and Xiang Bai and Tianyang Ma and Wenyu Liu and Longin Jan Latecki},
  title = {{Fan Shape Model for object detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2012},
  doi = {10.1109/cvpr.2012.6247670},
}
Figure