CoCoGaussian: Leveraging Circle of Confusion for Gaussian Splatting from Defocused Images

Jungho Lee, Suhwan Cho, Taeoh Kim, Ho-Deok Jang, Minhyeok Lee, Geonho Cha, Dongyoon Wee, Dogyoon Lee, Sangyoun Lee

TL;DR

CoCoGaussian is a new framework that enables high-quality 3D scene reconstruction from blurry, defocused images by physically modeling the "Circle of Confusion" (CoC) within 3D Gaussian Splatting. It not only produces sharp 3D models from out-of-focus inputs but also allows users to retroactively adjust the focus and depth of field in rendered scenes.

What Problem Does This Paper Address?

Most 3D reconstruction methods, including the popular 3D Gaussian Splatting (3DGS), assume that input images are perfectly sharp. In the real world, however, cameras often capture images with defocus blur—where objects far from the focus plane appear blurry due to a large aperture or shallow depth of field.

Existing "deblurring" methods often treat this as a generic 2D image processing problem or rely on slow, implicit neural representations (like NeRF). These approaches often fail to capture the actual physics of how light passes through a lens, leading to artifacts or slow rendering speeds. CoCoGaussian aims to bridge this gap by integrating the physical principles of photography directly into the 3DGS optimization process.

Methods

The core innovation of CoCoGaussian is modeling the Circle of Confusion (CoC)—the blurry "spot" that a single point in space creates on a camera sensor when it's out of focus.

  1. Physical CoC Modeling: The authors use a standard thin-lens equation to calculate the CoC diameter based on the distance of a 3D Gaussian from the camera, the focus plane, and a learnable aperture parameter.
  2. CoC Gaussian Generation: For every "base" Gaussian in the scene, the model generates a set of $M$ additional "CoC Gaussians." These extra Gaussians are arranged to represent the shape and spread of the blur kernel (as seen in Figure 2).
  3. Adaptive Learning: To handle "unreliable depth" (common in shiny or transparent surfaces), they introduce a learnable scaling factor $\beta$. This allows the model to adjust the size of the blur kernel even if the estimated 3D position is slightly off.
  4. Weighted Rendering: During training, the model renders the base Gaussians and the CoC Gaussians separately. A shallow CNN then learns how to blend these images to match the blurry input training data.
The CoCoGaussian framework takes camera and Gaussian parameters to calculate CoC diameter and generate a set of Gaussians that model the blur kernel.

Datasets

The authors evaluated their method on three primary benchmarks:

  • Deblur-NeRF Synthetic Dataset: 5 scenes with simulated defocus blur.
  • Deblur-NeRF Real-World Dataset: 10 scenes captured with a Canon EOS RP, featuring real-world lighting and focus challenges.
  • DoF-NeRF Real-World Dataset: 7 scenes provided as triplets (all-in-focus, foreground focus, and background focus) to test reconstruction accuracy.
  • NeRF-LLFF: Used to test how well the model generalizes to standard all-in-focus images.

Key Insights and Ideas

  • 3D Blur is Better than 2D Blur: Instead of applying a 2D blur filter to a rendered image, CoCoGaussian models blur in 3D space. This ensures that the blur is "depth-aware" and physically consistent across different viewpoints.
  • The "Virtual Camera" Advantage: Because the model learns physical parameters like aperture size and focus distance, it effectively becomes a virtual camera. After training, you can render the scene with a "pinhole" setting to get a perfectly sharp image, or move the focus plane to highlight different objects (see Figure 4).
  • Robustness to "Floaters": By using the learnable scaling factor $\beta$, the model avoids creating "floaters" (stray bits of geometry) that often plague other deblurring methods when they encounter reflections or refractions.
By adjusting the learned parameters, users can customize the depth of field (top) or shift the focus plane (bottom) after the scene has been reconstructed.

Key Results

CoCoGaussian achieved state-of-the-art (SOTA) performance across nearly all metrics (PSNR, SSIM, and LPIPS).

  • Perceptual Quality: On the DoF-NeRF dataset, it reduced the LPIPS score (a measure of perceptual error) by approximately 0.04 compared to the previous best method (BAGS), a significant jump in visual fidelity.
  • Sharpness: Qualitatively, the method recovers fine details—like text on labels or sharp edges of objects—that other methods leave blurry or distorted (see Figure 3).
  • Efficiency: Despite the complex training, the final "sharp" rendering uses only the base Gaussians, meaning it maintains the real-time rendering speeds of standard 3DGS.
Figure 1. We propose CoCoGaussian, a novel framework for 3D scene reconstruction from defocused images. (a) With a large aperture, radiance from the focus plane appears as a small circle of confusion (green) on the image sensor, while radiance from greater depths results in larger circles (pink). (b) We visualize reconstructed Gaussians of CoCoGaussian, where the black dots indicate Gaussian means, while the gray dots represent Gaussian means forming the circle of confusion, which decreases in size near the focus plane. (c) The defocused image focuses on shallow depths, with circle size increasing with depth, as shown in (b). CoCoGaussian allows customization of defocused images by adjusting the depth of field or focus plane, while sharp images can be obtained by rendering without the circle of confusion.

Limitations and Future Work

The authors note that while their adaptive scaling factor $\beta$ helps with stability, it is currently constrained to prevent the model from collapsing during training. This means it primarily handles cases where the CoC diameter is overestimated. Future work could involve making this factor more flexible to handle underestimated diameters in highly complex scenes without sacrificing training stability. Additionally, extending this to handle motion blur alongside defocus blur is a natural next step.

Summary updated

BibTeX
@inproceedings{lee2025cocogaussian,
  author = {Jungho Lee and Suhwan Cho and Taeoh Kim and Ho-Deok Jang and Minhyeok Lee and Geonho Cha and Dongyoon Wee and Dogyoon Lee and Sangyoun Lee},
  title = {{CoCoGaussian: Leveraging Circle of Confusion for Gaussian Splatting from Defocused Images}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.01501},
}
Figure