Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/weiyithu/NerfingMVS
[ICCV 2021 Oral] NerfingMVS: Guided Optimization of Neural Radiance Fields for Indoor Multi-view Stereo
https://github.com/weiyithu/NerfingMVS
3d-reconstruction 3dvision computer-vision deep-learning multi-view-stereo neural-radiance-fields
Last synced: about 1 month ago
JSON representation
[ICCV 2021 Oral] NerfingMVS: Guided Optimization of Neural Radiance Fields for Indoor Multi-view Stereo
- Host: GitHub
- URL: https://github.com/weiyithu/NerfingMVS
- Owner: weiyithu
- License: mit
- Created: 2021-08-11T03:05:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-06T15:27:37.000Z (about 1 month ago)
- Last Synced: 2024-11-06T16:34:09.211Z (about 1 month ago)
- Topics: 3d-reconstruction, 3dvision, computer-vision, deep-learning, multi-view-stereo, neural-radiance-fields
- Language: Python
- Homepage:
- Size: 15.3 MB
- Stars: 434
- Watchers: 11
- Forks: 58
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-NeRF - Torch - view Stereo](https://openaccess.thecvf.com/content/ICCV2021/papers/Wei_NerfingMVS_Guided_Optimization_of_Neural_Radiance_Fields_for_Indoor_Multi-View_ICCV_2021_paper.pdf)| (Papers / NeRF Related Tasks)
- awesome-NeRF - Torch - view Stereo](https://openaccess.thecvf.com/content/ICCV2021/papers/Wei_NerfingMVS_Guided_Optimization_of_Neural_Radiance_Fields_for_Indoor_Multi-View_ICCV_2021_paper.pdf)| (Papers / NeRF Related Tasks)
README
# NerfingMVS
### [Project Page](https://weiyithu.github.io/NerfingMVS) | [Paper](https://arxiv.org/abs/2109.01129) | [Video](https://youtu.be/i-b5lPnYipA) | [Data](https://drive.google.com/drive/folders/1X_w57Q_MIFlI3lzhRt7Z8C5X9tNS8cg-?usp=sharing)> NerfingMVS: Guided Optimization of Neural Radiance Fields for Indoor Multi-view Stereo
> [Yi Wei](https://weiyithu.github.io/), [Shaohui Liu](http://b1ueber2y.me/), [Yongming Rao](https://raoyongming.github.io/), [Wang Zhao](https://github.com/thuzhaowang), [Jiwen Lu](http://ivg.au.tsinghua.edu.cn/Jiwen_Lu/), [Jie Zhou](https://scholar.google.com/citations?user=6a79aPwAAAAJ&hl=en&authuser=1)
> ICCV 2021 (Oral Presentation)
## Installation
- Pull NerfingMVS repo.
```
git clone --recursive [email protected]:weiyithu/NerfingMVS.git
```
- Install python packages with anaconda.
```
conda create -n NerfingMVS python=3.7
conda activate NerfingMVS
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 -c pytorch
pip install -r requirements.txt
```
- We use COLMAP to calculate poses and sparse depths. However, original COLMAP does not have fusion mask for each view. Thus, we add masks to COLMAP and denote it as a submodule. Please follow https://colmap.github.io/install.html to install COLMAP in `./colmap` folder (Note that do not cover colmap folder with the original version).## Usage
- Download 8 ScanNet scene data used in the paper [here](https://drive.google.com/file/d/1eY85_adVY-Z8y4XUG8mi31TJzAfdx59M/view?usp=sharing) and put them under `./data` folder. We also upload final results and checkpoints of each scene [here](https://drive.google.com/file/d/137zj7McxulcoDINZ3i1woQcvu2HxrM0X/view?usp=sharing).
- Run NerfingMVS
```
sh run.sh $scene_name
```
The whole procedure takes about 3.5 hours on one NVIDIA GeForce RTX 2080 GPU, including COLMAP, depth priors training, NeRF training, filtering and evaluation. COLMAP can be accelerated with multiple GPUs.You will get per-view depth maps in `./logs/$scene_name/filter`. Note that these depth maps have been aligned with COLMAP poses. COLMAP results will be saved in `./data/$scene_name` while others will be preserved in `./logs/$scene_name`## Run on Your Own Data!
- Place your data with the following structure:
```
NerfingMVS
|───data
| |──────$scene_name
| | | train.txt
| | |──────images
| | | | 001.jpg
| | | | 002.jpg
| | | | ...
|───configs
| $scene_name.txt
| ...
```
`train.txt` contains names of all the images. Images can be renamed arbitrarily and '001.jpg' is just an example. You also need to imitate ScanNet scenes to create a config file in `./configs`. Note that `factor` parameter controls the resolution of output depth maps. You also should adjust `depth_N_iters, depth_H, depth_W` in `options.py` accordingly.
- Run NerfingMVS without evaluation
```
sh demo.sh $scene_name
```
Since our work currently relies on COLMAP, the results are dependent on the quality of the acquired poses and sparse reconstruction from COLMAP.## Acknowledgement
Our code is based on the pytorch implementation of NeRF: [NeRF-pytorch](https://github.com/yenchenlin/nerf-pytorch). We also refer to [mannequin challenge](https://github.com/google/mannequinchallenge).
## Citation
If you find our work useful in your research, please consider citing:
```
@inproceedings{wei2021nerfingmvs,
author = {Wei, Yi and Liu, Shaohui and Rao, Yongming and Zhao, Wang and Lu, Jiwen and Zhou, Jie},
title = {NerfingMVS: Guided Optimization of Neural Radiance Fields for Indoor Multi-view Stereo},
booktitle = {ICCV},
year = {2021}
}
```