Extracting the "skeleton" of an object—a thin, centered representation of its shape—is a classic problem in computer vision with applications ranging from object recognition to image synthesis. However, doing this in natural, cluttered images is notoriously difficult. Traditionally, you either need a perfect segmentation of the object first (the "shape") or a massive amount of labeled training data.
In this paper, the authors propose a clever workaround: Image Co-skeletonization. Instead of looking at one image in isolation, they look at a collection of related images and solve for both the skeleton and the segmentation at the same time.
TL;DR
This paper introduces a coupled framework that performs object skeletonization and segmentation jointly across a collection of images. By exploiting the "commonness" of objects across a dataset, the two tasks inform each other—skeletons act as seeds for segmentation, while segments provide the necessary shape for skeletonization—leading to state-of-the-art results in unsupervised, weakly-supervised, and supervised scenarios.
What Problem Does This Paper Address?
Skeletonization in the wild is a "chicken and egg" problem. To get a good skeleton, you generally need a clean segmentation of the object. To get a clean segmentation, you often need good internal "seeds" or scribbles to distinguish the object from the background.
Furthermore, single-image skeletonization lacks prior knowledge. If an algorithm looks at one photo of a cheetah, it might struggle to distinguish a tail from a blade of grass. However, if it looks at ten photos of cheetahs, it can identify the recurring structural "commonness" that defines a cheetah's skeleton. The authors aim to bridge the gap between these two tasks using "joint processing."
Methods
The core of the paper is a coupled optimization framework. The authors define an energy function that balances three main factors:
- Inter-image Priors: Using dense correspondence (specifically SIFT Flow), the algorithm "warps" skeletons and segments from neighboring similar images to the current image. This allows the model to learn from the "commonness" of the object category.
- Interdependence: This is the "synergy" term. It ensures the skeleton is a valid subset of the segmentation's medial axis and that the segmentation's appearance model (GMM) is built using the skeleton pixels as high-confidence foreground seeds.
- Smoothness: Standard spatial constraints to ensure the resulting segments are contiguous and the skeletons aren't overly "noisy" or branched.
To handle large datasets, they introduce Key Prior Propagation. Instead of comparing every image to every other image (which is computationally expensive), they cluster images and align them to a single "key image" per cluster, reducing the computational complexity from quadratic to linear.
Datasets
The authors evaluated their method on several benchmarks:
- WH-SYMMAX: A standard dataset containing horse images.
- CO-SKEL: A preliminary dataset with 26 categories and 348 images.
- CO-SKELARGE (New): The authors introduced this new, more challenging benchmark. it contains nearly 1,800 images across 38 categories, including animals, vehicles, and man-made structures. It provides ground-truth annotations for both skeletons and segmentations.
Key Insights and Ideas
- The Power of "Commonness": By looking at multiple images of the same category, the algorithm can ignore random background noise that doesn't repeat across the set, effectively "filtering" for the object's true structure.
- Dense vs. Sparse Matching: Skeleton points often lie in homogeneous regions (like the middle of a brown horse's torso) where traditional feature matching fails. By using dense correspondence (SIFT Flow), the method preserves structural relationships even when local textures are uninformative.
- Skeleton Pruning as Energy Minimization: Rather than just "thinning" a shape, the authors treat skeletonization as a pruning problem where branches are removed if they don't significantly contribute to the reconstruction of the overall shape.
- Skeletons as Better Seeds: Unlike a simple bounding box, a skeleton provides a high-confidence "spine" of foreground pixels, which makes the subsequent GrabCut-based segmentation much more robust.
Key Results
- Versatility: The method works across all supervision levels. In the unsupervised mode (no labels at all), it significantly outperformed baselines on the SK-506 and SK-LARGE datasets.
- Quantitative Gains: In weakly-supervised tests, the method achieved a higher F-measure ($F^5$ score of 0.643 on WH-SYMMAX) compared to baselines that performed the tasks sequentially.
- Efficiency: The "Key Prior Propagation" technique provided a 3x speedup in processing time with only a marginal drop in performance (from 0.545 to 0.532 F-measure on WH-SYMMAX).
- Qualitative Quality: The resulting skeletons are notably smoother and more representative of the actual object topology compared to traditional medial axis transforms, which often produce "noisy" branches from imperfect shapes.
Limitations and Future Work
While powerful, the method has a few hurdles:
- Saliency Dependence: The initial "guess" relies on saliency maps. If the object of interest isn't the most salient thing in the image, the optimization might start in the wrong place.
- Warping Challenges: If two images have vastly different viewpoints or scales, SIFT Flow might fail to align them correctly, leading to poor priors.
- Occlusion: If an object is partially hidden (e.g., a person behind a desk), the resulting skeleton may look "broken" or incomplete because the algorithm tries to fit the skeleton to the visible shape.
Future work could involve integrating deeper semantic features to improve the initial alignment and handling more extreme pose variations.
Summary updated