On the Error Analysis of 3D Gaussian Splatting and an Optimal Projection Strategy

Letian Huang, Jiayang Bai, Jie Guo, Yuanqi Li, Yanwen Guo · DOI

TL;DR

This paper identifies and analyzes projection errors in 3D Gaussian Splatting (3D-GS), a popular real-time rendering technique. They propose a novel "Optimal Gaussian Splatting" projection strategy that minimizes these errors, leading to significantly improved rendering quality and reduced artifacts, especially in challenging scenarios like wide-angle views.

What Problem Does This Paper Address?

3D Gaussian Splatting (3D-GS) has revolutionized real-time neural rendering by representing scenes with explicit 3D Gaussians, offering impressive speed and quality. However, a fundamental limitation arises from how these 3D Gaussians are projected onto a 2D image plane. The standard approach uses a local affine approximation of the projective transformation, which is not perfectly accurate for Gaussians. This approximation introduces projection errors that can lead to visual artifacts, particularly in scenarios with wide fields of view or short focal lengths. While many improvements have focused on other aspects of 3D-GS, the core issue of projection error has remained largely unaddressed, impacting the ultimate realism of the rendered images.

Methods

The core of this paper lies in a detailed theoretical analysis of the projection error in 3D-GS.

  • Error Function Derivation: The authors start by analyzing the residual error from the first-order Taylor expansion of the projection function. They derive a mathematical expression for this error, showing its dependence on the Gaussian's mean position.
  • Optimization and Optimal Projection: By treating the error as a function of the Gaussian's mean and using function optimization techniques, they identify the conditions under which this error is minimized. This leads to their proposed "Optimal Gaussian Splatting" strategy. Instead of projecting all Gaussians onto a single image plane (z=1), their method projects each Gaussian onto a tangent plane that is perpendicular to the line connecting the Gaussian's mean to the camera center.
  • Unit Sphere Based Rasterizer: To implement this optimal projection, they introduce a "Unit Sphere Based Rasterizer." This approach projects Gaussians onto tangent planes on a unit sphere, and then rays are cast from the camera to this sphere to retrieve pixel colors, enabling adaptation to various camera models.

Datasets

The authors evaluate their method on a total of 13 real scenes. They specifically mention using:

  • The complete set of scenes from the Mip-NeRF360 dataset [2], which is considered state-of-the-art for NeRF rendering quality.
  • Two scenes from the Tanks & Temples dataset [18].
  • Two scenes provided by Hedman et al. [14].

They also mention testing on a non-pinhole camera dataset, MATTERPORT [5], to demonstrate adaptability.

Key Insights and Ideas

  • Projection Error is Fundamental: The paper highlights that the local affine approximation in standard 3D-GS is a significant source of rendering artifacts, not just a minor inaccuracy.
  • Error Correlates with Gaussian Mean: The derived error function shows a direct relationship between the projection error and the position of the 3D Gaussian's mean.
  • Optimal Projection Plane: The key insight is that projecting onto a tangent plane specific to each Gaussian, oriented correctly with respect to the camera and the Gaussian's mean, minimizes projection error. This is a departure from the uniform projection plane used in standard 3D-GS.
  • Wide-Angle and Short Focal Lengths Exacerbate Errors: The analysis and experiments show that projection errors become much more pronounced and detrimental as the field of view increases (shorter focal lengths), leading to more severe artifacts.
  • Adaptability Beyond Pinhole Cameras: The proposed projection strategy is inherently more flexible and can be readily adapted to various camera models (fisheye, panoramic) by modifying the image-to-camera space transformation.

Key Results

  • Improved Rendering Quality: The proposed "Optimal Gaussian Splatting" method consistently achieves higher rendering quality, as evidenced by improved PSNR, SSIM, and LPIPS scores across various datasets. For instance, in quantitative comparisons, their method outperforms the original 3D-GS, particularly in challenging scenarios.
  • Reduced Artifacts: Qualitative results (shown in figures) demonstrate a significant reduction in artifacts such as blurriness, needle-like structures, and cloud-like Gaussians, leading to more realistic and detailed renderings.
  • Robustness to Focal Length: The method shows significantly greater robustness to decreasing focal lengths (wider fields of view) compared to standard 3D-GS, maintaining quality where the original method degrades substantially.
  • Maintained Real-time Performance: The authors state that their method does not affect real-time rendering performance, as it involves minor code modifications and avoids dense point sampling.
  • Adaptability: The method successfully renders scenes using fisheye and panoramic camera models, where standard 3D-GS struggles or fails.

Limitations and Future Work

  • Constant Covariance Assumption: The error analysis primarily assumes a constant covariance for the Gaussians. The paper suggests that the influence of Gaussian covariance on projection errors requires further investigation.
  • Training Time Increase: While rendering performance is maintained, there's a slight increase in training time due to the subsequent transformation to the image plane after projection. The authors suggest optimizing CUDA code to mitigate this.
  • Exploring Gaussian Splatting Potential: The paper concludes by suggesting further exploration of Gaussian Splatting as an explicit representation technique for scenes.

Summary updated

Abstract

3D Gaussian Splatting has garnered extensive attention and application in real-time neural rendering. Concurrently, concerns have been raised about the limitations of this technology in aspects such as point cloud storage, performance, and robustness in sparse viewpoints, leading to various improvements. However, there has been a notable lack of attention to the fundamental problem of projection errors introduced by the local affine approximation inherent in the splatting itself, and the consequential impact of these errors on the quality of photo-realistic rendering. This paper addresses the projection error function of 3D Gaussian Splatting, commencing with the residual error from the first-order Taylor expansion of the projection function. The analysis establishes a correlation between the error and the Gaussian mean position. Subsequently, leveraging function optimization theory, this paper analyzes the function’s minima to provide an optimal projection strategy for Gaussian Splatting referred to Optimal Gaussian Splatting, which can accommodate a variety of camera models. Experimental validation further confirms that this projection methodology reduces artifacts, resulting in a more convincingly realistic rendering.
BibTeX
@inproceedings{huang2024error,
  author = {Letian Huang and Jiayang Bai and Jie Guo and Yuanqi Li and Yanwen Guo},
  title = {{On the Error Analysis of 3D Gaussian Splatting and an Optimal Projection Strategy}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72643-9\_15},
}
Figure