Progressive Mirror Detection

Jiaying Lin, Guodong Wang, Rynson W. H. LauCVPR 2020

Abstract

Mirror detection is a critical yet challenging task in computer vision, as mirrors lack fixed visual signatures and instead mimic their surroundings. This paper presents a novel progressive mirror detection network that identifies mirrors by explicitly modeling the relational correspondence between objects and their reflections. We introduce two key components: the Relational Contextual Contrasted Local (RCCL) module for extracting correspondence features and the Edge Detection and Fusion (EDF) module for precise boundary localization. Furthermore, we contribute a new large-scale benchmark dataset comprising 6,461 mirror images. Experimental results demonstrate that our approach significantly outperforms existing state-of-the-art methods.

The "Semantic Chameleon" Problem

Mirrors are often described as "semantic chameleons" because they reflect the environment, making them difficult for standard neural networks to identify. For an AI, a mirror region might look identical to the objects it reflects, leading to errors in depth estimation, object detection, and autonomous navigation.

Typical input scenes containing mirrors and visually similar distractors like fireplaces.

Previous methods primarily relied on "contextual contrast"—the visual difference between the inside and outside of a mirror. However, this approach fails when contrast is low (e.g., an object close to its reflection) or when non-mirror architectural features like windows or fireplaces exhibit high contrast.

Methodology: RCCL and EDF Modules

To address these challenges, the proposed model moves beyond simple contrast to understand relational symmetry and explicit boundaries through a multi-stage pipeline.

Relational Contextual Contrasted Local (RCCL) Module

The RCCL module utilizes a Relational Feature Extractor (RFE) that searches in eight directions to find correspondences between pixels inside and outside the mirror. This mimics human perception, where we identify a mirror by noticing the "twin" of an object nearby. By focusing on relational correspondence rather than just contrast, the model can detect mirrors even in low-contrast scenarios.

Edge Detection and Fusion (EDF) Module

Mirror boundaries are often the only physical cue of their presence. The EDF module extracts multi-level features to predict a boundary map. By using explicit supervision (Canny edges from ground-truth masks), the network learns to respect physical boundaries, preventing the segmentation from "bleeding" into the surrounding scene.

A New Large-Scale Benchmark

A significant contribution of this work is the creation of a new, diverse mirror detection dataset. The existing Mirror Segmentation Dataset (MSD) was limited in scale and variety. The new benchmark includes:

  • 6,461 images, a substantial increase over previous datasets.
  • Diverse sources, curated from six major public datasets including ADE20K, COCO-Stuff, and SUNRGBD.
  • Increased complexity, featuring a wider variety of scenes, lighting conditions, and mirror types (e.g., concave mirrors).

Experimental Evaluation

The model was evaluated against several state-of-the-art (SOTA) methods, including the previous mirror-specific SOTA, MirrorNet.

Qualitative comparison of mirror detection results. From left to right: Input, Ground Truth, MirrorNet, and the proposed progressive model stages.

On the MSD dataset, the proposed model achieved an F-measure ($F_\beta$) of 0.898, significantly higher than MirrorNet's 0.857. Qualitatively, the model demonstrates superior performance in ignoring false positives like fireplaces and accurately capturing mirror boundaries in cluttered indoor environments.

Conclusion

By combining relational context modeling with explicit edge detection, the progressive mirror detection network provides a robust solution to a long-standing problem in computer vision. The introduction of a large-scale, diverse dataset further paves the way for future advancements in understanding reflective surfaces in complex scenes.

Summary updated

BibTeX
@inproceedings{lin2020progressive,
  author = {Jiaying Lin and Guodong Wang and Rynson W. H. Lau},
  title = {{Progressive Mirror Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=pJDzUxFYfZ5},
}
Figure