andre-schulz / mvs-texturing

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

texrecon.exe fails to load any images #9

Closed elenzil closed 4 years ago

elenzil commented 4 years ago

Howdy -

I'm using the most recent versions of andre-schulz/ mve and mvs-texturing (hashes below), and following the instructions for the windows cmake branch. I adapt the CMakeLists.txt in mve/3rdParty to use a more recent snapshot of glew, per this discussion. Things seem to build without complaint.

However upon running texrecon.exe, it tells me Could not load image header … Cannot determine image format for the first image and then exits. More specifically, jpeg and yields this result, while it png works.

An archived build of texrecon.exe does not have this issue w/ the same command-line. Unfortunately I don't have the details which went into building that instance.

mve hash:           https://github.com/andre-schulz/mve/tree/3d8faf43f0bd9e00ac3aae0c5c9fb4fb46d8585d
mvs-texturing hash: https://github.com/andre-schulz/mvs-texturing/tree/c48a6900a4d32a045f4d4fd288ae4f78d7e3e162
elenzil commented 4 years ago

This seems like an issue with me not getting the right DLLs. Perhaps a documentation issue. Will update when I understand things more.

elenzil commented 4 years ago

it looks like CMake found libjpeg in my install of Anaconda, rather than jpeg62 from MVE-0.1.1-win64.zip.

elenzil commented 4 years ago

uninstalling anaconda and rebuilding, it now choose jpeg62 instead of libjpeg.