Introduction
Image segmentation is a fundamental "middle-level" task in computer vision, partitioning images into meaningful regions to simplify high-level tasks like object detection and tracking. Historically, researchers have faced a stark trade-off: high-accuracy methods (e.g., MCG or gPb-owt-ucm) are computationally expensive, often taking seconds per image, while high-speed methods (e.g., SLIC or EGB) rely on simple heuristics that frequently fail in complex real-world scenes.
Hierarchical Feature Selection (HFS) bridges this gap. It is a real-time system capable of processing 50 frames-per-second (FPS) on a single GPU, offering the speed of simple clustering with the accuracy of complex learning-based frameworks.
The HFS Pipeline
The HFS architecture is designed for maximum efficiency through data parallelism. The process consists of three primary stages:
- Initial Over-segmentation: The system begins with a GPU-accelerated implementation of Simple Linear Iterative Clustering (SLIC), which quickly generates thousands of small superpixel "seeds."
- Hierarchical Merging: Rather than a single-pass merge, HFS employs a multi-level hierarchy (typically three levels). At each level, adjacent regions are merged using an Efficient Graph-Based (EGB) approach.
- Learning-Based Feature Fusion: This stage optimizes the merging process by extracting simplistic, GPU-friendly features (CIELAB color, gradients, histograms, and variances) and using Linear SVM regressors to learn optimal feature weights for each specific level of the hierarchy.
Key Insights: Scale-Dependent Feature Importance
A core contribution of HFS is the observation that visual cues vary in importance across different scales. At a fine scale (early merging), color similarity is the dominant factor. As regions grow larger (later merging), texture and boundary strength become more significant indicators of region boundaries.
By training SVMs to adapt these weights dynamically, HFS avoids the pitfalls of static, hand-crafted heuristics. This modularity allows HFS to serve as a high-performance "plug-and-play" replacement for older algorithms in existing computer vision pipelines.
Experimental Results
HFS was evaluated on standard benchmarks including BSDS500, PASCAL VOC 2007, and MSRA10K.
- Performance: On an NVIDIA GTX 980 Ti, HFS achieves 50 FPS. With full data parallelism, throughput can exceed 200 FPS, making it orders of magnitude faster than state-of-the-art high-accuracy methods like gPb-owt-ucm (which requires ~86 seconds per image).
- Accuracy: On BSDS500, HFS reached an ODS F-measure of 0.71, significantly outperforming other real-time methods like standard SLIC (0.54) and EGB (0.61).
- Applications: When integrated into saliency detection pipelines, HFS achieved the lowest Mean Absolute Error (MAE) on the MSRA10K dataset among all tested methods.
Limitations and Future Work
While highly efficient, HFS's final output is constrained by the quality of the initial SLIC seeds; if a boundary is missed during over-segmentation, it cannot be recovered. Additionally, the EGB merging process does not strictly control region compactness, occasionally resulting in irregular shapes. Future iterations may explore more efficient neural edge extractors to further boost accuracy without sacrificing the real-time 50 FPS target.
Summary updated