Interactive Boundary Prediction for Object Selection

Hoang Le, Long Mai, Brian L. Price, Scott Cohen, Hailin Jin, Feng Liu

Introduction

Interactive object selection is a fundamental task in image editing and computer vision, traditionally split between region-based methods (scribbling) and boundary-based methods (tracing). While deep learning has significantly advanced region-based segmentation, boundary-based tools like the "Magnetic Lasso" have remained largely stagnant, relying on low-level image gradients that easily fail in textured or low-contrast environments.

This paper introduces an interaction-aware boundary prediction model that bridges this gap. By leveraging a convolutional encoder-decoder network, the system adaptively updates a boundary "cost map" based on user clicks, allowing for high-quality selections with far fewer interactions than traditional manual tracing.

An example of the interactive boundary selection process, where user clicks (red dots) guide the predicted boundary (green line).

Bridging the Semantic Gap

Traditional boundary tools are often "distracted" by background noise or complex textures because they lack semantic understanding. A user tracing a bird against a grassy background might find the tool snapping to blades of grass instead of the bird's tail. The authors address this by creating a tool that understands both image context and user intent.

Interaction-Adaptive Boundary Prediction

The core innovation is the Interaction-Adaptive Boundary Prediction Network. Unlike static edge detectors, this network generates a dynamic boundary map that evolves as the user adds control points.

  1. Input Representation: The network processes the RGB image alongside three "interaction maps." These maps represent user clicks as 2D Gaussian heatmaps at varying scales, allowing the model to sense both the precise location and the general area of user interest.
  2. Architecture: Utilizing a fully convolutional encoder-decoder (U-Net style) with skip-connections, the network is trained to output a semantically meaningful boundary map.
  3. Loss Functions: To ensure the map is optimized for path-finding, the authors employ a multi-component loss strategy:
  4. Global Boundary Loss for general edge detection.
  5. Local Selection-Sensitive Loss to ensure high accuracy near user clicks.
  6. Segmentation-Aware Loss to help the network distinguish the object's interior from its exterior.

Key Results and Comparisons

The model was evaluated on classic benchmarks like GrabCut and BSDS, as well as through user studies involving real-world images from the "Reddit Photoshop Requests" forum.

Qualitative comparison of the proposed method against state-of-the-art region-based (Deep GrabCut) and boundary-based (Deep Selection) methods. The fourth column shows the dynamic interaction-adaptive boundary map generated by the model.

Performance Highlights

  • Quantitative Superiority: On the GrabCut dataset, the method achieved a Boundary F-score of 0.9134, significantly outperforming other semantic edge detectors like RCF (0.8027) when used for path-finding.
  • Efficiency: Simulations showed that the method reaches high accuracy (IoU) with approximately half the number of clicks required by previous state-of-the-art boundary methods.
  • User Preference: In human trials, participants achieved better segmentation quality with significantly fewer mouse clicks compared to standard tools like Adobe Photoshop’s Magnetic Lasso.

Conclusion

By making boundary prediction adaptive to user interaction, this research demonstrates that deep learning can revitalize traditional tracing tools. The model's ability to ignore complex textures (like a zebra's stripes) while snapping to faint semantic edges represents a major step forward in interactive selection. Future work aims to integrate the path-finding and boundary prediction steps into a single, end-to-end trainable framework for even greater optimization.

Summary updated

BibTeX
@inproceedings{le2018interactive,
  author = {Hoang Le and Long Mai and Brian L. Price and Scott Cohen and Hailin Jin and Feng Liu},
  title = {{Interactive Boundary Prediction for Object Selection}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01264-9\_2},
}
Figure