cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.31k stars 907 forks source link

Strange issue with fusing depth maps for scenes generated by --sub-scene-area #771

Open ghost opened 2 years ago

ghost commented 2 years ago

After commit 461ad36, I tried building again after clearing old versions of CUDA Toolkit and it worked for a while but yesterday I suddenly ran into an issue with fusing depth maps for scenes generated by --sub-scene-area. It loads the scene, prepares, and selects but it ends without exporting anything.

"C:\Users\3XH6R\Documents\Photogrammetry\MvgMvsPipeline.py" %1 %1 --1 p NORMAL --steps 0 1 2 3 4 6 5 11 12
del %1\mvs\scene_dense.*
DensifyPointCloud %1\mvs\scene.mvs --sub-scene-area 660000 -w %1\mvs
xcopy "C:\Users\3XH6R\Documents\Photogrammetry\Densify.ini" %1\mvs
FOR %%f IN (%1\mvs\scene_*.mvs) DO (
  DensifyPointCloud %1\mvs\%%~nnf.mvs --dense-config-file Densify.ini --number-views-fuse 2 -w %1\mvs
)
:: %%~fnf path to file
:: %%~xnf file name with extension
:: %%~nnf file name only
:: 0 1 2 3 4 6 5 11 12

Dataset: https://www.mediafire.com/file/1fg9bqkrl6qv2st/Snails.zip/file DensifyPointCloud: --fusion-mode 1 Densify.ini: Optimize = 0 and Estimation Geometric Iters = 0

Version 2.0 commit 5d877f0

Windows 11 x64 3700X | RTX 2080 | 32GB Visual Studio Community 2019 16.11.11 | MSVC v142 | Windows 11 SDK 10.0.22 CUDA Toolkit 11.6 Update 1 v11 CMake 3.23.0-rc2

ghost commented 2 years ago

Commit 14a1959 Fusing is working again. Image size 4000x3000 - drone_dataset_sheffield_cross Downscale of 1 2000x1500 is fusing together but not downscale of 0.

dense mesh

PaulLiuYZ commented 2 years ago

how can you join the sub-mesh together?

cdcseacave commented 2 years ago

pls try latest develop, it should solve this problem