cdcseacave/openMVS

Texture Error

oym050922021 opened this issue · 0 comments

Describe the bug
Thank you very much for the open-source code.
The final result is not correct during texture mapping.
What is the reason please?

To Reproduce
Steps to reproduce the behavior:

  1. ./InterfaceCOLMAP -i /root/Ouyangmei/ACMMP/datasets/fishing_spot_0840_0841_ds35/dense
    -o /root/Ouyangmei/ACMMP/openmvs/scene.mvs --image-folder
    /root/Ouyangmei/ACMMP/datasets/fishing_spot_0840_0841_ds35/dense/images

  2. ./DensifyPointCloud scene.mvs --fusion-mode -1 -w /root/Ouyangmei/ACMMP/openmvs

  3. ./ReconstructMesh scene_dense.mvs -p scene_dense.ply -w /root/Ouyangmei/ACMMP/openmvs

  4. ./TextureMesh scene_dense.mvs -m scene_dense_mesh.ply -o scene_dense_mesh_texture.mvs -w /root/Ouyangmei/ACMMP/openmvs

Expected behavior
The output of the TextureMesh command is:

(neuralangelo) root@h2-01:~/Ouyangmei/openMVS/make/bin# ./TextureMesh scene_dense.mvs -m scene_dense_mesh.ply -o scene_dense_mesh_texture.mvs -w /root/Ouyangmei/ACMMP/openmvs
17:36:47 [App ] OpenMVS x64 v2.3.0
17:36:47 [App ] Build date: Feb 4 2024, 14:11:42
17:36:47 [App ] CPU: 12th Gen Intel(R) Core(TM) i5-12600K (16 cores)
17:36:47 [App ] RAM: 31.09GB Physical Memory 8.00GB Virtual Memory
17:36:47 [App ] OS: Linux 5.15.0-92-generic (x86_64)
17:36:47 [App ] Disk: 123.84GB (454.37GB) space
17:36:47 [App ] SSE & AVX compatible CPU & OS detected
17:36:47 [App ] Command line: TextureMesh scene_dense.mvs -m scene_dense_mesh.ply -o scene_dense_mesh_texture.mvs -w /root/Ouyangmei/ACMMP/openmvs
17:36:48 [App ] MapSMtoCores for SM 8.6 is undefined; default to use 64 cores/SM
17:36:48 [App ] CUDA device 0 initialized: NVIDIA GeForce RTX 3070 Ti (compute capability 8.6; memory 7.79GB)
17:36:48 [App ] Camera model loaded: platform 0; camera 0; f 0.194x0.194; poses 56
17:36:48 [App ] Scene loaded from interface format (16ms):
56 images (56 calibrated) with a total of 28.08 MPixels (0.50 MPixels/image)
59703 points, 0 vertices, 0 faces
17:36:48 [App ] Mesh loaded: 39509 vertices, 78929 faces (4ms)
Initialized views 56 (100%, 449ms)
17:36:50 [App ] Assigning the best view to each face completed: 78929 faces (1s912ms)
17:36:51 [App ] Generating texture atlas and image completed: 456 patches, 8192 image size, 1 textures (1s276ms)
17:36:51 [App ] Mesh texturing completed: 39509 vertices, 78929 faces (3s197ms)
17:36:54 [App ] Mesh saved: 39509 vertices, 78929 faces (3s85ms)
17:36:54 [App ] MEMORYINFO: {
17:36:54 [App ] VmPeak: 8812820 kB
17:36:54 [App ] VmSize: 7408032 kB
17:36:54 [App ] } ENDINFO

Screenshots
The 3d reconstruction model is as follows. The 3d model was viewed using MeshLab software.
texture

The png images is as follows.
texture-1

Desktop (please complete the following information):

  • OS: ubuntu22.04,cuda11.7
  • OpenMVS: 2.3.0

Additional context
the result of colmap+acmmp is:
acmmp