You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-4Lines changed: 14 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,10 @@ The following steps are required to reproduce the point cloud results:
83
83
84
84
R-MVSNet point cloud results with full post-processing are also provided: [DTU evaluation point clouds](https://drive.google.com/open?id=1L0sQjIVYu2hYjwpwbWSN8k42QhkQDjbQ)
85
85
86
+
87
+
88
+
89
+
86
90
## File Formats
87
91
88
92
Each project folder should contain the following
@@ -98,7 +102,7 @@ Each project folder should contain the following
98
102
│ └── ...
99
103
└── pair.txt
100
104
```
101
-
If you want to apply R/MVSNet to your own data, please structure your data into such a folder.
105
+
If you want to apply R/MVSNet to your own data, please structure your data into such a folder. We also provide a script `colmap2mvsnet.py` to convert COLMAP SfM result to R/MVSNet input.
102
106
103
107
### Image Files
104
108
All image files are stored in the `images` folder. We index each image using an 8 digit number starting from `00000000`. The following camera and output files use the same indexes as well.
@@ -135,15 +139,20 @@ IMAGE_ID1 # index of reference image 1
135
139
...
136
140
```
137
141
142
+
### MVSNet input from COLMAP SfM
143
+
We provide a script to convert COLMAP SfM result to R/MVSNet input. After recovering SfM result and undistorting all images, COLMAP should generate a dense folder `COLMAP/dense/` containing an undistorted image folder `COLMAP/dense/images/` and a undistorted camera folder `COLMAP/dense/sparse/`. Then, you can use the following command to generate the R/MVSNet input:
The depth sample number will be automatically computed using the inverse depth setting. If you want to generate the MVSNet input with a fixed depth sample number (e.g., 256), you could specified the depth number via `--max_d 256`.
148
+
138
149
139
150
### Output Format
140
151
The ``test.py`` script will create a `depths_mvsnet` folder to store the running results, including the depth maps, probability maps, scaled/cropped images and the corresponding cameras. The depth and probability maps are stored in `.pfm` format. We provide the python IO for pfm files in the `preprocess.py` script, and for the c++ IO, we refer users to the [Cimg](http://cimg.eu/) library. To inspect the pfm format results, you can simply type `python visualize.py .pfm`.
141
152
142
153
## Todo
143
154
144
155
* Validation script
145
-
* View selection from Altizure/COLMAP/OpenMVG SfM output
146
-
* Depth sample selection from Altizure/COLMAP/OpenMVG SfM output
147
156
148
157
## Changelog
149
158
@@ -169,5 +178,6 @@ The ``test.py`` script will create a `depths_mvsnet` folder to store the running
169
178
### 2019 April 10
170
179
* Add [Baiduyun](https://pan.baidu.com/s/1Wb9E6BWCJu4wZfwxm_t4TQ#list/path=%2F) (code: s2v2) link for mainland China users
171
180
172
-
181
+
### 2019 April 29
182
+
* Add `colmap2mvsnet.py` script to convert COLMAP SfM result to MVSNet input, including depth range estimation and view selection
0 commit comments