Gaussian Splatting from VGGSfM and Mast3r, and their comparison
Python
233
15 commits
updated Aug 23, 2024
This project aims to explore Gaussian Splatting using two different wild deep-based camera-pose & 3D pointcloud reconstruction methodologies: VGGSfM and Mast3r. The objective is to compare their performances and understand the advantages and limitations of each approach.
VGGSfM: Results of (2D) Gaussian Splatting using VGGSfM.
Mast3r: Implementation and results of (2D) Gaussian Splatting using Mast3r.
Related Blog Post: Radiance Fields from Deep-based Structure-from-Motion
You should install Viser and plyfile
pip install viser==0.1.29
pip install plyfile
python colmap_from_mast3r.py --images_dir <path/to/images> --save_dir <path/to/save/colmaps> --model_path <path/to/mast3r/model/ckpt>
python colmap_vis.py --images_dir <path/to/images> --colmap_path <path/to/colmaps/>
I tested on NLE_tower in MASt3R, and my custom data; penguin and guitar. Each dataset includes 5, 10, and 27 images respectively.
1) COLMAP PointCloud
| MASt3R | VGGSfM |
|---|---|
![]() | ![]() |
2) Radiance Fields Reconstruction
| MASt3R | VGGSfM |
|---|---|
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
MASt3R is not suitable for inverse rendering but provides denser and more diverse point cloud reconstructions compared to VGGSfM. VGGSfM's accurate camera pose reconstruction, utilizing Bundle Adjustment, makes it more suitable for inverse rendering. Specifically, VGGSfM's camera pose has less than 0.01 angular distance error compared to COLMAP, while MASt3R's pose has over 0.1 angular distance error.
| COLMAP | VGGSfM |
|---|---|
![]() | ![]() |
As discussed in InstantSplat and issue #2, MASt3R (and VGGSfM) poses can serve as a good initial point of the camera pose optimization during radiance fields training (BARF-likes method) . Below is the toy experiment of MASt3R + further camera pose optimization (Using Splatfacto):
https://github.com/user-attachments/assets/d5b7ba98-7d51-4b20-a81e-6f5e4c00a79d
VGGSfM introduces a fully differentiable SfM pipeline, designed to integrate deep learning models into every stage of the SfM process. This method includes:
MASt3R enhances stereo matching by integrating dense local feature prediction and fast reciprocal matching upon Dust3r baseline. It focuses on leveraging stereo vision to improve 3D point and camera parameter estimation.
Gaussian Splatting from VGGSfM and Mast3r, and their comparison
Python
233
15 commits
updated Aug 23, 2024
This project aims to explore Gaussian Splatting using two different wild deep-based camera-pose & 3D pointcloud reconstruction methodologies: VGGSfM and Mast3r. The objective is to compare their performances and understand the advantages and limitations of each approach.
VGGSfM: Results of (2D) Gaussian Splatting using VGGSfM.
Mast3r: Implementation and results of (2D) Gaussian Splatting using Mast3r.
Related Blog Post: Radiance Fields from Deep-based Structure-from-Motion
You should install Viser and plyfile
pip install viser==0.1.29
pip install plyfile
python colmap_from_mast3r.py --images_dir <path/to/images> --save_dir <path/to/save/colmaps> --model_path <path/to/mast3r/model/ckpt>
python colmap_vis.py --images_dir <path/to/images> --colmap_path <path/to/colmaps/>
I tested on NLE_tower in MASt3R, and my custom data; penguin and guitar. Each dataset includes 5, 10, and 27 images respectively.
1) COLMAP PointCloud
| MASt3R | VGGSfM |
|---|---|
![]() | ![]() |
2) Radiance Fields Reconstruction
| MASt3R | VGGSfM |
|---|---|
![]() | ![]() |
![]() | ![]() |
![]() | ![]() |
MASt3R is not suitable for inverse rendering but provides denser and more diverse point cloud reconstructions compared to VGGSfM. VGGSfM's accurate camera pose reconstruction, utilizing Bundle Adjustment, makes it more suitable for inverse rendering. Specifically, VGGSfM's camera pose has less than 0.01 angular distance error compared to COLMAP, while MASt3R's pose has over 0.1 angular distance error.
| COLMAP | VGGSfM |
|---|---|
![]() | ![]() |
As discussed in InstantSplat and issue #2, MASt3R (and VGGSfM) poses can serve as a good initial point of the camera pose optimization during radiance fields training (BARF-likes method) . Below is the toy experiment of MASt3R + further camera pose optimization (Using Splatfacto):
https://github.com/user-attachments/assets/d5b7ba98-7d51-4b20-a81e-6f5e4c00a79d
VGGSfM introduces a fully differentiable SfM pipeline, designed to integrate deep learning models into every stage of the SfM process. This method includes:
MASt3R enhances stereo matching by integrating dense local feature prediction and fast reciprocal matching upon Dust3r baseline. It focuses on leveraging stereo vision to improve 3D point and camera parameter estimation.