Co-Fusion: Real-time Segmentation, Tracking and Fusion of Multiple Objects

Martin Rünz, Lourdes Agapito · DOI

TL;DR

Co-Fusion is a real-time RGB-D SLAM system that doesn't just map the background; it segments, tracks, and builds dense 3D models of multiple moving objects simultaneously. By treating dynamic elements as independent models rather than noise, it enables robots to understand and interact with changing environments at a high-level, object-centric scale.

What Problem Does This Paper Address?

Traditional Simultaneous Localization and Mapping (SLAM) systems are built on a "static world" assumption. When something moves in the frame—a person walking by or a car driving past—the system typically treats those pixels as outliers to be ignored. While this keeps the background map clean, it leaves the robot blind to the most important parts of its environment: the things it might need to avoid or interact with.

Existing attempts to handle dynamic scenes often fall short by being too slow for real-time use, requiring manual initialization of objects, or only being able to track a single moving entity. Co-Fusion aims to bridge this gap by providing a dense, multi-object SLAM framework that discovers, tracks, and reconstructs unknown moving objects on the fly.

Methods

The core of Co-Fusion is a multiple model fitting approach. Instead of one global map, the system maintains a list of "active models" (currently visible) and "inactive models" (previously seen but now out of view).

The pipeline for each new frame follows three main steps:

  1. Tracking: The system estimates the 6-degree-of-freedom (6DOF) pose for every active model independently. It does this by minimizing a joint objective function that combines geometric alignment (Iterative Closest Point) and photometric consistency (color matching).
  2. Segmentation: This is the "secret sauce" that assigns pixels to specific models. Co-Fusion uses two strategies:
  3. Motion Cues: A Conditional Random Field (CRF) labels pixels based on which motion model they fit best. If a cluster of pixels doesn't fit any existing model, the system "spawns" a new one.
  4. Semantic Cues: The system can integrate deep-learning-based segmentation (like SharpMask) to identify objects by class (e.g., "car" or "cup"), allowing it to track objects even when they are temporarily stationary.
  5. Fusion: Once pixels are labeled, their depth and color data are fused into the corresponding 3D model using a surfel-based representation. Surfels (surface elements) are more memory-efficient than traditional volumetric grids, which is crucial when maintaining multiple independent models.
The Co-Fusion pipeline: Tracking, Segmentation, and Fusion.

Datasets

The authors evaluated Co-Fusion using both synthetic and real-world data:

  • Synthetic Sequences: They introduced two new benchmarks, ToyCar3 and Room4, which include Kinect-like noise and ground truth for both trajectories and object segmentation.
  • Real-world Data: The Esone1 sequence features real objects (a head, a gnome, and a dice) tracked with an OptiTrack motion capture system and scanned with a high-accuracy 3D scanner for ground truth geometry.
  • Virtual KITTI: Used to demonstrate the effectiveness of the semantic segmentation branch in outdoor driving scenarios.

Key Insights and Ideas

  • Object-Level Awareness: Moving from a "cloud of points" to a "collection of objects" is a paradigm shift. It allows a robot to understand that a teddy bear is a single entity, even if it's being handed from one person to another (see Figure 3).
  • Handling "Ghosting": A common problem in dynamic SLAM is that moving objects leave "holes" or "ghosts" in the background map. Co-Fusion explicitly detects these high-error regions and cleans them from the background model as the object moves away.
  • Dual-Cue Robustness: By combining motion and semantics, the system overcomes the limitations of each. Motion can't segment a static object, and semantics might miss an unknown object type; together, they provide a much more complete picture.
Handover sequence showing how the system separates the teddy bear from the arms as they move independently.

Key Results

  • Real-Time Performance: The system achieves approximately 12 frames per second while tracking up to 5 different objects. The tracking and fusion run on the GPU, while segmentation is handled by the CPU.
  • Reconstruction Accuracy: In the Esone1 real-world test, the system achieved average reconstruction errors as low as 3.2mm.
  • Superiority over Static SLAM: Compared to ElasticFusion (a leading static SLAM system), Co-Fusion significantly reduces reconstruction error in dynamic scenes because it doesn't try to force moving objects into the static background map.

Limitations and Future Work

  • Rigidity Constraint: The current system assumes all objects are rigid. It struggles with non-rigid deformations, such as a person changing their posture or flowing clothing.
  • Scalability: While 12 FPS is impressive, performance degrades as the number of objects increases. Future work could involve further optimizing the multi-model tracking to handle dozens of objects.
  • Segmentation Latency: High-quality semantic segmentation is computationally expensive. In the current implementation, running deep-learning models every frame can become a bottleneck.

Summary updated

BibTeX
@inproceedings{runz2017co,
  author = {Martin Rünz and Lourdes Agapito},
  title = {{Co-Fusion: Real-time Segmentation, Tracking and Fusion of Multiple Objects}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2017},
  url = {https://openreview.net/forum?id=TmBQM9GqEwy},
}

Loading related content...

Figure