TL;DR
This paper tackles the challenge of automatically segmenting foreground objects in videos, especially when they are temporarily occluded. They achieve this by leveraging structure and motion recovery to track features across occlusions, using this information to initialize a graph-cut based segmentation algorithm. This enables realistic integration of virtual objects into real-world video by ensuring they are correctly occluded by foreground scene elements.
What Problem Does This Paper Address?
Integrating virtual objects into existing video footage is a powerful technique in movie production. However, for this to look realistic, virtual objects must be correctly occluded by foreground elements in the real scene. Traditionally, this foreground segmentation is a manual and time-consuming process. Existing methods for structure and motion recovery often struggle with occlusions, leading to broken feature tracks and inaccurate scene reconstructions. This paper aims to bridge this gap by developing an automatic foreground segmentation method that leverages the information from structure and motion recovery, specifically by handling occlusions.
Methods
The core of the approach lies in a robust feature tracking system that can handle significant occlusions. They combine:
- SIFT (Scale-Invariant Feature Transform) matching: Used for establishing correspondences between non-consecutive frames, crucial for bridging large gaps caused by occlusions.
- KLT (Kanade-Lucas-Tomasi) tracker: Used for tracking features within consecutive frames, providing high accuracy and fewer outliers for short-term tracking.
This feature tracking is integrated into a structure and motion recovery pipeline, specifically an extended bundle adjustment that incorporates non-consecutive correspondences. This process reconstructs 3D object points and camera poses.
The key novelty is how this recovered 3D information is used for segmentation. When a feature track is discontinued due to occlusion, the reprojected 3D object point of that feature in the current frame is identified as a foreground occlusion point. This information, along with a similarity constraint (using color histograms) to verify true occlusion, is used to automatically generate foreground/background strokes. These strokes then initialize a graph-cut based segmentation algorithm (specifically, a contracted graph approach for efficiency). This algorithm minimizes an energy function to produce the final foreground regions.
Datasets
The paper evaluates their approach on two video sequences:
- Playground sequence: (1280 x 720 pixels, 98 frames) featuring a child on a swing.
- Bus sequence: (1280 x 720 pixels, 270 frames) recorded from a moving bus with various foreground objects like trees and signs.
No new datasets were introduced.
Key Insights and Ideas
- Occlusions are valuable information: Instead of treating occlusions as a problem to be overcome, the authors leverage them as a direct source of information for foreground segmentation.
- Bridging the gap between 3D reconstruction and 2D segmentation: The paper effectively uses the output of a 3D structure and motion recovery pipeline (3D object points) to initialize a 2D image segmentation process.
- Automatic initialization for graph cuts: The method eliminates the need for manual user strokes to initialize the segmentation, making the process fully automatic.
- Robustness to camera motion: The approach is designed to work with arbitrary and free camera movements.
Key Results
The paper demonstrates that their approach can successfully segment foreground objects, even in challenging sequences with significant occlusions and complex scene content. The resulting foreground segmentation is used to achieve realistic occlusion of integrated virtual objects in video sequences. The authors claim the computational expense for evaluating occlusion information and segmentation is marginal, with segmentation taking less than a second per image.
Limitations and Future Work
The authors acknowledge a few limitations:
- Misleading segmentation due to appearance similarity: Background regions that visually resemble foreground objects (e.g., a fence looking like a swing rack) can be incorrectly classified as foreground.
- Motion blur: Strong motion blur can lead to isolated foreground objects or incorrect boundary classifications.
They suggest that for cases where the automatic segmentation is not satisfactory, users can manually add strokes to guide the segmentation process, which can then be refined. Future work could focus on improving robustness to these specific error cases.
Summary updated