Object-Driven Multi-Layer Scene Decomposition From a Single Image

Helisa Dhamo, Nassir Navab, Federico Tombari · DOI

Abstract

We present a novel method for decomposing a single RGB image into a Layered Depth Image (LDI). By adopting an object-driven approach with an adaptive number of layers, our model "hallucinates" the color and depth of occluded regions. This enables high-quality applications such as 3D photography and diminished reality (object removal) from a single snapshot.

Introduction

Human perception naturally fills in the gaps of occluded objects—we understand the full geometry of a chair even if its legs are partially hidden. In contrast, computer vision systems typically treat images as flat 2D arrays or 2.5D depth maps representing only the first visible surface. This limitation becomes apparent in tasks like 3D photo generation or object removal, where moving or deleting a foreground element leaves a "hole" with no underlying data.

Existing solutions often rely on generic inpainting or are restricted to a fixed number of layers (e.g., foreground and background). We propose an object-driven framework that decomposes a scene into its constituent components, predicting multiple layers of hidden content with semantic awareness.

Overview of the object-driven decomposition framework, enabling novel view synthesis and object removal.

Methods: Object-Driven Framework

Our pipeline breaks the scene down into individual components rather than treating it as a monolithic block. The system generates an adaptive number of layers based on the number of detected objects.

1. Object Completion (Network A)

Using instance masks from a detector like Mask R-CNN, the system isolates each object. A specialized encoder-decoder network processes the cropped RGB image, its mask, and semantic class (e.g., "sofa") to predict a full RGBA-D (Red, Green, Blue, Alpha, Depth) representation, including occluded parts.

2. Layout Prediction (Network B)

Simultaneously, a second network predicts the "empty" scene layout (walls, floor, ceiling). This network is trained using a Generative Adversarial Network (GAN) and perceptual loss to ensure the background is structurally sound and realistic.

3. Image Re-composition (Network C & MDP)

To ensure global consistency, we introduce Minimum Depth Pooling (MDP). This layer sorts all predicted objects and the layout by depth. Network C learns to adjust depth displacements to align layers globally, while a re-composition loss ensures that the stacked layers accurately recreate the original input image.

The proposed pipeline featuring Network A (object completion), Network B (background layout), and Network C (re-composition with Minimum Depth Pooling).

Datasets and Training

Since standard datasets lack ground truth for occluded regions, we utilized synthetic and real-world data:

  • SunCG: A large-scale synthetic dataset of 3D house models providing pixel-perfect ground truth for hidden geometry.
  • Stanford 2D-3D: A real-world dataset of scanned indoor environments used to validate performance on noisy, practical data.

To improve object shape understanding, Network A was pre-trained as an auto-encoder on unoccluded objects, teaching the latent space the canonical forms of various semantic classes.

Key Results and Insights

Our method significantly outperforms previous state-of-the-art models in both color and depth accuracy. On the SunCG dataset, the model achieved a Mean Pixel Error (MPE) of 0.473 for first-layer depth, a substantial improvement over the Tulsiani baseline (1.174).

Qualitatively, the "diminished reality" results are striking. When an object is removed, the background layer fills the gap with plausible textures—such as floor patterns continuing under furniture—rather than the blurry artifacts typical of standard inpainting.

Limitations

Despite its strengths, the system depends heavily on the initial object detector; missed detections result in omitted layers. Additionally, duplicate masks can lead to redundant layers. While geometric reconstruction is highly accurate, "hallucinated" textures can still appear slightly blurry compared to visible regions. Future work will focus on improving texture synthesis and global spatial reasoning.

Summary updated

BibTeX
@inproceedings{dhamo2019object,
  author = {Helisa Dhamo and Nassir Navab and Federico Tombari},
  title = {{Object-Driven Multi-Layer Scene Decomposition From a Single Image}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2019},
  doi = {10.1109/iccv.2019.00547},
}
Figure