cdcseacave / openMVS

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

--sub-scene-area creates overlapping bounding boxes that cause duplicate areas in meshing #769

Open ghost opened 2 years ago

ghost commented 2 years ago

Scenes generated by --sub-scene-area create overlapping bounding boxes that cause duplicate areas that use fewer points to reconstruct when densified and meshed.

Does the current --sub-scene-area generate more scenes to cover neighboring cameras cut off by splitting?

Proposed fix outline: Merge all densified scenes and resplit points by memory criteria while saving points nearby using an expanded ROI and a non overlapping ROI for meshing to create a better seam.

For meshing and texturing cleaning options, merge all meshes using a mesh zipping algorithm that also equalizes seams.

-? [ --??? ] arg (=0) input filename containing the list of scenes to be merged (-1 - auto) or found with a known name incrementing within workspace prioritizing latest module. ????_####_dense.mvs < ????_####_dense_mesh.mvs < ????_####_dense_mesh_refine.mvs

Additional notes:

pierotofy commented 2 years ago

I don't think you can split the scene by memory criterias.