cdcseacave / openMVS

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

How do texture reconstruction results avoid pixel - free regions #686

Open Jiatutu opened 3 years ago

Jiatutu commented 3 years ago

Obj file is used to generate orthophoto image after texture reconstruction. Some black(white) holes will appear and the pixel value is 0

My steps and execution parameters are as follows:

1、ReconstructMesh.exe scene.mvs --target-face-num 400000 --thickness-factor 0 2、TextureMesh.exe scene_mesh.mvs --export-type obj --empty-color 0

Here is my screenshot: 1、The obj file after file reconstruction image 2、Orthophonic image image

How can I avoid these holes? Are there parameters I can control?

cdcseacave commented 3 years ago

Which is command u use to generate the ortho image?

Jiatutu commented 3 years ago

Which is command u use to generate the ortho image?

I used Odm_orthophoto from the ODM open source library , is there any other way to generate orthophoto? I'm not sure if the problem is texture reconstruction or orthography。

CanCanZeng commented 3 years ago

OpenMVS can output orthophoto in texture mesh stage, you can check the help information or go through the code in TextureMesh.cpp @Jiatutu