pmoulon / CMVS-PMVS

This software (CMVS) takes the output of a structure-from-motion (SfM) software as input, then decomposes the input images into a set of image clusters of managable size. An MVS software can be used to process each cluster independently and in parallel, where the union of reconstructions from all the clusters should not miss any details that can be otherwise obtained from the whole image set. CMVS should be used in conjunction with an SfM software Bundler and an MVS software PMVS2 (PMVS version 2).
http://opensourcephotogrammetry.blogspot.com/
939 stars 464 forks source link

Added missing define for cmvslib. Fixes a crash in cmvs if multiple clus... #10

Closed rhiestan closed 9 years ago

rhiestan commented 9 years ago

...ters are to be generated.

When I changed CMakeLists.txt last time, I added -DNUMBITS=64 to thirdParty/graclus1.2 (as suggested by CMVS documentation at http://www.di.ens.fr/cmvs/documentation.html), but forgot to add it also to base/cmvs. This leads to idxtype being defined differently in cmvslib compared to graclus, which results in a crash if multiple clusters are to be generated.

pmoulon commented 9 years ago

:+1: