Abstract
With the widespread application of 3D Gaussians in 3D scene representation, 3D scene segmentation methods based on 3D Gaussians have also gradually emerged. However, existing 3D Gaussian segmentation methods basically segment on the basis of Gaussian primitives. Due to the large variation range of the scale of 3D Gaussians, large-sized Gaussians that often span the foreground and background lead to jagged boundaries of segmented objects. To this end, we propose an online boundary trimming method, GaussianTrimmer, which is an efficient and plug-and-play post-processing method capable of trimming coarse boundaries for existing 3D Gaussian segmentation methods. Our method consists of two core steps:
- Generating uniformly and well-covered virtual cameras;
- Trimming Gaussian at the primitive level based on 2D segmentation results on virtual cameras. Extensive quantitative and qualitative experiments demonstrate that our method can improve the segmentation quality of existing 3D Gaussian segmentation methods as a plug-and-play method.
Introduction
3D Gaussian Splatting (3DGS) has emerged as a powerful representation for real-time 3D rendering. However, segmenting these scenes—for instance, isolating an object from its background—introduces a specific challenge known as the "boundary problem." Most current 3DGS segmentation methods assign labels to entire Gaussian primitives. Because these primitives vary significantly in scale, large Gaussians often straddle the boundary between the foreground object and the background.
When these straddling Gaussians are included in the object mask, they create jagged, imprecise boundaries that bleed into the background. This lack of precision limits the utility of 3DGS in applications requiring high-fidelity masks, such as robotic grasping or 3D scene editing.
Methodology
GaussianTrimmer is an efficient, plug-and-play post-processing method designed to refine these coarse boundaries. The pipeline operates in three distinct stages:
Virtual Camera Planning (VCP)
To ensure the segmentation model has the best possible view of the object, GaussianTrimmer generates a set of virtual cameras. These cameras are arranged in a spherical ring centered on the target object, providing comprehensive coverage that often surpasses the original training views.
Virtual View Segmentation (VVS)
The scene is rendered from these virtual viewpoints and processed using SAM2 (Segment Anything Model 2) to produce high-quality 2D masks. A key innovation here is Background Augmentation: by rendering nearby background Gaussians along with the object, the system provides SAM2 with the necessary visual context to produce more robust masks.
Boundary Gaussian Decomposition (BGD)
Finally, the system identifies the specific "straddling" Gaussians that contribute to the 2D mask boundaries. These Gaussians are physically decomposed—split in half along their principal axis. One half is assigned to the object and the other to the background, effectively "trimming" the 3D representation to match the precise 2D boundaries.
Evaluation and Results
The researchers evaluated GaussianTrimmer using the NVOS dataset for quantitative metrics and several real-world datasets (e.g., Mipnerf-360, IN2N) for qualitative assessment.
- Performance: The method is remarkably fast, completing the trimming process in approximately 766 milliseconds when using 5 virtual cameras.
- Accuracy Gains: GaussianTrimmer consistently improves the mean Intersection over Union (mIoU) of existing models. For instance, it raised the mIoU of the SA3D baseline from 89.3% to 94.7% in specific test cases, and improved overall benchmarks for methods like SAGD.
- Visual Fidelity: Qualitative results and CLIP-IQA scores indicate a significant reduction in jagged artifacts, leading to smoother and more complete object boundaries.
Conclusion
GaussianTrimmer addresses a fundamental limitation in 3D Gaussian segmentation. By introducing a fast, training-free decomposition step, it enables existing models to achieve much higher boundary precision, making 3DGS-based segmentation more viable for practical, high-precision applications.
Summary updated