TL;DR
This paper introduces a novel inter-frame predictive contour coding framework designed specifically for the lossless compression of dynamic semantic maps. By exploiting temporal correlations between adjacent frames to predict object boundaries (contours) rather than just pixels, the method achieves a 3.0% average bitrate reduction over state-of-the-art intra-frame methods with minimal computational overhead.
What Problem Does This Paper Address?
Semantic maps—images where every pixel is assigned a categorical label (e.g., "road," "car," "pedestrian")—are critical for autonomous driving and video scene understanding. As these maps become increasingly dynamic and high-resolution, the cost of storing and transmitting them grows.
Standard image and video codecs like FLIF or HEVC-SCC often struggle with semantic maps because these maps have unique properties: a very limited number of colors (labels) and extremely sharp, structurally significant boundaries. While recent "contour-based" methods have shown promise by encoding these boundaries instead of pixel values, they have primarily focused on intra-frame redundancy (spatial patterns within a single map). They largely ignore the temporal redundancy—the fact that objects and their boundaries don't change drastically from one frame to the next in a video sequence.
Methods
The authors propose a framework that treats semantic maps as a collection of "blobs" (connected regions with the same label) and predicts their evolution over time. The process, illustrated in the system schematic below, involves several key steps:
- Blob Identification: The encoder scans the current frame ($X_i$) to identify all blobs.
- Position and Label Prediction: For each blob, the encoder looks for a corresponding blob in the previous reference frame ($X_{i-1}$) with the same label and a nearby position. If found, it only needs to encode the small displacement (position difference) rather than the full label index.
- Inter-Frame Chain Coding: This is the core innovation. The contours of blobs are represented using Three-Orthogonal Chain Codes (3OT), which describe the boundary as a sequence of directional moves. Instead of encoding these moves from scratch, the encoder performs a form of "motion estimation" on the chain codes themselves. It searches for a matching segment in the reference frame's contour and encodes a disparity displacement ($d$).
- Mode Selection: For every blob, the encoder calculates the estimated bit cost for both "Intra" (encoding the contour independently) and "Inter" (predictive) modes, choosing the most efficient one.
- Skip Coding: The framework retains a "skip" mechanism for shared boundaries between adjacent blobs, ensuring that a single boundary isn't encoded twice.
An example of how these chain codes are predicted and encoded is shown in Figure 2:
Datasets
The researchers evaluated their framework using the VSPW (Video Scene Parsing in the Wild) dataset. This is a large-scale benchmark for dynamic semantic segmentation, featuring a wide variety of indoor and outdoor scenes with different camera motions (static, slowly moving, and fast-moving).
Key Insights and Ideas
- Contour-Level Motion Compensation: The most significant "aha" moment is applying the concept of motion compensation—usually a pixel-based operation—directly to the structural representation of the image (the chain codes). This captures the "flow" of object boundaries more naturally than block-based pixel matching.
- Structural Efficiency: By focusing on blobs and contours, the method preserves the "lossless" nature of the compression perfectly, which is vital for downstream AI tasks that rely on exact label boundaries.
- Sensitivity to Motion: The effectiveness of inter-frame coding is highly dependent on camera dynamics. The authors found that sequences with static or slow-moving cameras yielded much higher compression gains than those with fast, erratic motion, where temporal correlation is weaker.
Key Results
The proposed method was compared against several heavyweights, including FLIF, HEVC-SCC, and the authors' previous state-of-the-art intra-only contour codec.
- Bitrate Reduction: The inter-frame framework achieved an average bitrate reduction of 3.0% over the intra-only version.
- Superiority over Standard Codecs: It consistently outperformed FLIF and HEVC-SCC across all tested sequences. For example, on sequence 112 (static camera), the proposed method required only 127,567 bytes, compared to 269,805 for FLIF and 234,689 for HEVC-SCC.
- Complexity Trade-off: While the decoding time increased slightly (from 0.48s to 0.73s per frame) due to the prediction process, the encoding time remained nearly identical to the intra-only version, making it a viable candidate for real-time applications.
Limitations and Future Work
The authors note that the gains diminish in sequences with very fast camera motion, as the disparity estimation becomes less accurate. Furthermore, the current framework is designed for 2D video slices. The authors suggest that future work could involve extending these predictive contour techniques to dynamic 3D semantic maps (such as those used in LiDAR-based autonomous driving), where the structural redundancy exists across three spatial dimensions plus time.
Summary updated