Git Product home page Git Product logo

umitkacar / gaussian-grouping Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lkeab/gaussian-grouping

0.0 0.0 0.0 40.01 MB

Gaussian Grouping for open-world Anything reconstruction, segmentation and editing.

Home Page: https://arxiv.org/abs/2312.00732

License: Apache License 2.0

Shell 0.36% C++ 0.28% Python 18.42% C 0.02% CSS 0.01% Cuda 1.14% HTML 0.15% CMake 0.02% Jupyter Notebook 79.58% Dockerfile 0.03%

gaussian-grouping's Introduction

Gaussian Grouping

Gaussian Grouping: Segment and Edit Anything in 3D Scenes
arXiv 2023
ETH Zurich

We propose Gaussian Grouping, which extends Gaussian Splatting to jointly reconstruct and segment anything in open-world 3D scenes via lifting 2D SAM. It also efficiently supports versatile 3D scene editing tasks. Refer to our paper for more details.

image

Updates

๐Ÿ”ฅ๐Ÿ”ฅ 2024/01/16: We released the LERF-Mask dataset and evaluation code.

2024/01/06: We released the 3D Object Removal & Inpainting code.

2023/12/20: We released the Install Notes and Training & Rendering code.

Introduction

The recent Gaussian Splatting achieves high-quality and real-time novel-view synthesis of the 3D scenes. However, it is solely concentrated on the appearance and geometry modeling, while lacking in fine-grained object-level scene understanding. To address this issue, we propose Gaussian Grouping, which extends Gaussian Splatting to jointly reconstruct and segment anything in open-world 3D scenes. We augment each Gaussian with a compact Identity Encoding, allowing the Gaussians to be grouped according to their object instance or stuff membership in the 3D scene. Instead of resorting to expensive 3D labels, we supervise the Identity Encodings during the differentiable rendering by leveraging the 2D mask predictions by SAM, along with introduced 3D spatial consistency regularization. Comparing to the implicit NeRF representation, we show that the discrete and grouped 3D Gaussians can reconstruct, segment and edit anything in 3D with high visual quality, fine granularity and efficiency. Based on Gaussian Grouping, we further propose a local Gaussian Editing scheme, which shows efficacy in versatile scene editing applications, including 3D object removal, inpainting, colorization and scene recomposition.

image

Application Overview

Local Gaussian Editing scheme: Grouped Gaussians after training. Each group represents a specific instance / stuff of the 3D scene and can be fully decoupled. image

3D Object Removal

Our Gaussian Grouping can remove the large-scale objects on the Tanks & Temples dataset, from the whole 3D scene with greatly reduced artifacts. Zoom for better view.

github_object_removal1_short.mp4

3D Object Inpainting

Comparison on 3D object inpainting cases, where SPIn-NeRF requires 5h training while our method with better inpainting quality only needs 1 hour training and 20 minutes tuning.

github_inpainting_case1_short.mp4
github_inpainting_case2.mp4

3D Object Style Transfer

Comparison on 3D object style transfer cases, Our Gaussian Grouping produces more coherent and natural transfer results across views, with faithfully preserved background.

3d_object_style_transfer_case_short.mp4

3D Open-world Segmentation

Our Gaussian Grouping approach jointly reconstructs and segments anything in full open-world 3D scenes. The masks predicted by Gaussian Grouping contains much sharp and accurate boundary than LERF.

github_3d_seg_case_short.mp4

3D Multi-Object Editing

Our Gaussian Grouping approach jointly reconstructs and segments anything in full open-world 3D scenes. Then we concurrently perform 3D object editing for several objects.

github_multi_editing_case-2.mp4

Installation

You can refer to the install document to build the Python environment.

Training and Masks Rendering

Then refer to the train document to train your own scene.

Open-Vocabulary Segmentation

For evaluation on the LERF-Mask dataset proposed in our paper, you can refer to the dataset document.

3D Object Removal and Inpainting

You can select the 3D object for removal and inpainting after training. Details are in the edit removal inpaint document.

Citation

If you find Gaussian Grouping useful in your research or refer to the provided baseline results, please star โญ this repository and consider citing ๐Ÿ“:

@article{gaussian_grouping,
  title={Gaussian Grouping: Segment and Edit Anything in 3D Scenes},
  author={Ye, Mingqiao and Danelljan, Martin and Yu, Fisher and Ke, Lei},
  journal={arXiv preprint arXiv:2312.00732},
  year={2023}
}

gaussian-grouping's People

Contributors

lkeab avatar ymq2017 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.