nmoehrle / mvs-texturing

Algorithm to texture 3D reconstructions from multi-view stereo images
Other
931 stars 328 forks source link

failed to generate a texture reconstruction #201

Closed citystrawman closed 1 year ago

citystrawman commented 1 year ago

Hi, I am new to mvs-texturing and What I want to do is generate a texture for my .ply mesh file which generated from colmap

As the website http://www.gcc.tu-darmstadt.de/home/proj/texrecon/ is not available now, so all the information I have is the prompt from executing ./texrecon that tells me how to set the arguments:

./texrecon (built on Sep  7 2022, 10:55:32)

Textures a mesh given images in form of a 3D scene.

Usage: ./texrecon [options] IN_SCENE IN_MESH OUT_PREFIX

IN_SCENE := (SCENE_FOLDER | BUNDLE_FILE | MVE_SCENE::EMBEDDING)

....

As I understood, IN_SCENE can be either a SCENE_FOLDER or a BUNDLE_FILE or MVE_SCENE::EMBEDDING, I used a .nvm file (exported from colmap) as IN_SCENE;

As for IN_MESH , I used fused.ply generated from colmap, thus I put the command as ./texrecon ~/mvs-texturing/test/tutorial3.nvm ~/mvs-texturing/test/fused.ply recon, however it gave following errors:

./texrecon (built on Sep  7 2022, 10:55:32)
Load and prepare mesh:
Reading PLY: 101042 verts... done.
Generating texture views:
NVM: Loading file...
NVM: Number of views: 0
NVM: Number of features: 101042
NVM: 101042 strange points not seem by any camera!
No proper input scene descriptor given.
A input descriptor can be:
BUNDLE_FILE - a bundle file (currently onle .nvm files are supported)
SCENE_FOLDER - a folder containing images and .cam files
MVE_SCENE::EMBEDDING - a mve scene and embedding