Abstract
As a fundamental data format representing spatial information, depth map is widely used in signal processing and computer vision fields. Massive amount of high precision depth maps are produced with the rapid development of equipment like laser scanner or LiDAR. Therefore, it is urgent to explore a new compression method with better compression ratio for high precision depth maps. Utilizing the wide spread deep learning environment, we propose an end-to-end learning-based lossless compression method for high precision depth maps. The whole process is comprised of two sub-processes, named pre-processing of depth maps and deep lossless compression of processed depth maps. The deep lossless compression network consists of two sub-networks, named lossy compression network and lossless compression network. We leverage the concept of pseudo-residual to guide the generation of distribution for residual and avoid introducing context models. Our end-to-end lossless compression network achieves competitive performance over engineered codecs and has low computational cost.
Introduction
Depth maps are essential for autonomous driving and 3D vision, but as sensors like LiDAR become more precise, the data they produce grows exponentially. High-precision depth maps differ significantly from natural RGB images: they have a much wider data range (often 16-bit or higher), consist of large smooth areas punctuated by sharp edges, and contain only a single channel.
Existing lossless compression methods generally fall into two categories: engineered codecs (e.g., PNG, BPG, LZMA) and learning-based methods. Engineered codecs are often not optimized for the specific statistical properties of high-precision depth data. Conversely, most state-of-the-art learning-based lossless models rely on auto-regressive context models (like PixelCNN), which predict pixels sequentially. This leads to a computational complexity of $O(W \cdot H)$, making them too slow for real-time applications. This paper proposes a framework that achieves high compression ratios with $O(1)$ complexity.
Methodology
Pre-processing: The MSB/LSB Split
Feeding high-precision depth maps (with ranges up to $2^{18}$) directly into a neural network is inefficient. To address this, the framework employs a pre-processing stage where each pixel is split into Most Significant Bytes (MSB) and Least Significant Bytes (LSB) using a predefined divisor. These components are concatenated, simplifying the data distribution for the model to learn.
Deep Compression Architecture and Pseudo-Residuals
The core architecture consists of two primary sub-networks: a Lossy Compression Network and a Lossless Compression Network. The lossy network produces a reconstructed depth map ($\tilde{x}$), which serves as a base layer. The lossless network then handles the residual ($r$), which is the difference between the original and the reconstruction.
To model the distribution of the actual residual without the bottleneck of a context model, the authors introduce the "pseudo-residual" ($r_{est}$). By passing the reconstructed map ($\tilde{x}$) through the lossy network a second time to generate a simulated reconstruction ($\tilde{x}_{sim}$), the difference ($\tilde{x} - \tilde{x}_{sim}$) provides a "hint" of the likely error distribution. This allows the network to predict the probability distribution of the actual residual in a single forward pass.
Finally, a Laplace Mixture Model (LMM) estimates the probability of the residuals, which is then utilized for arithmetic coding.
Experimental Results
The method was evaluated on the DIODE (Dense Indoor/Outdoor DEpth) and SemanticKITTI datasets. On DIODE, the proposed method achieved a compression rate of 3.7514 bits per pixel (bpp), outperforming PNG (5.2862 bpp) and the best non-learned image codec, FILF (4.0304 bpp). On SemanticKITTI, it achieved 7.3725 bpp, significantly beating other learned models like SReC.
Beyond compression ratios, the model demonstrates high efficiency. It processes a $256 \times 64$ crop in approximately 0.04 seconds on an NVIDIA RTX 2080 Ti, confirming its suitability for high-throughput, real-world applications.
Conclusion
By replacing slow auto-regressive context modeling with a pseudo-residual guidance mechanism, this framework provides an efficient, end-to-end solution for lossless depth map compression. The approach effectively handles the high dynamic range of LiDAR data while maintaining the parallel processing advantages of deep learning models.
Summary updated