Abstract
Interactive object segmentation has great practical importance in computer vision. Many interactive methods have been proposed utilizing user input in the form of mouse clicks and mouse strokes, and often requiring a lot of user intervention. In this paper, we present a system with a far simpler input method: the user needs only give the name of the desired object. With the tag provided by the user we do a text query of an image database to gather exemplars of the object. Using object proposals and borrowing ideas from image retrieval and object detection, the object is localized in the target image. An appearance model generated from the exemplars and the location prior are used in an energy minimization framework to select the object. Our method outperforms the state-of-the-art on existing datasets and on a more challenging dataset we collected.
Introduction
Image segmentation is a cornerstone of digital photo editing, yet it has historically presented a trade-off between tedious manual intervention and limited automation. Interactive methods like GrabCut require precise strokes, while automatic semantic segmentation often relies on massive pre-labeled datasets and fixed vocabularies. Saliency-based methods, meanwhile, are typically restricted to the most visually prominent objects in a frame.
This paper introduces a "tag-based" interactive segmentation system that bridges these gaps. By allowing a user to select an object simply by typing its name (e.g., "dog" or "person"), the system leverages natural language to understand intent without requiring pre-trained detectors for every possible object class.
Methodology
The proposed pipeline utilizes a "search, localize, and refine" strategy to achieve high-quality segmentation from minimal input:
- Exemplar Gathering: Upon receiving a tag, the system performs a text-based query (e.g., via Google Images) to retrieve "positive exemplars" of the object. It also utilizes "negative exemplars" from general background images to help distinguish the target object from its surroundings.
- Object Proposals: The target image is decomposed into hundreds of candidate regions, or "object proposals," likely to contain distinct objects.
- Localization via Retrieval: Each proposal is treated as a query against the exemplar database. Using a spatially-constrained similarity measure, the system identifies which proposals most likely contain the desired object.
- Mask Transfer: The system uses SIFT flow to warp masks from the retrieved exemplars onto the target image, creating a "location prior"—a rough map of the object's position.
- Energy Minimization: Finally, the location prior and an appearance model (Gaussian Mixture Models) are combined in a Graph Cut framework. This ensures the final segmentation adheres to the actual edges and colors of the object in the target image.
Experimental Evaluation
The authors evaluated the system across three main benchmarks:
- MSRC Dataset: A standard segmentation benchmark where the system was tested on 9 common classes.
- Object Discovery Dataset: Used to evaluate "cosegmentation" capabilities for airplanes, cars, and horses.
- ImageNet-dog: A new, more challenging dataset introduced by the authors consisting of 100 images where dogs are often small, non-salient, or obscured by cluttered backgrounds.
Key Results
- Performance: On the MSRC dataset, the method achieved an average accuracy of 67.3%, outperforming state-of-the-art cosegmentation methods. On the Object Discovery airplane category, it scored 64.27%, significantly beating the previous best of 55.81%.
- Robustness: Qualitative results demonstrate the system's ability to segment non-salient objects—such as a tiny dog in a park—where traditional saliency-based algorithms typically fail.
- On-the-Fly Learning: By querying the web in real-time, the system effectively "learns" what an object looks like without needing a pre-existing detector for every possible category.
Limitations and Future Work
While effective, the system's performance is inherently tied to the quality of image search results; noisy text-query returns can lead to a noisy localization prior. Additionally, extremely deformable or articulated objects may be difficult to warp accurately using SIFT flow. Future research may focus on integrating this technology into natural language interfaces to allow for complex, hands-free editing commands.
Summary updated