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

CMVS memory error #28

Closed ManishSahu53 closed 6 years ago

ManishSahu53 commented 7 years ago

I have i7-7700K, 16GB Ram, 6GB 1060GTX. ./cmvs output 100 Trying to run cmvs command to make cluster but no matter how many number of images I choose it always goes out of memory. Even I have tried putting 1 images then also it goes out of memory. Can you help? I have processed in openMVG with 471 images(24MP each) geotagged.

pmoulon commented 7 years ago

Did you look where the crash is happening?

If I remember well the code is loading the image in memory and so it can be a problem with large project.

I would advise you to use https://github.com/openMVG/openMVG/blob/master/src/software/SfM/clustering/main_ComputeClusters.cpp and I think you already used it.

ManishSahu53 commented 7 years ago

Yes it get stuck in loading the images. I have 471 images (~24 MP each) I have used openMVG for clustering also. The problem I am facing with that option is of merging after point cloud generation. The point cloud generation doesnt have good quality at common region. How can I do overlapping clustering openMVG compute clusters option?

pmoulon commented 7 years ago

If you are just running CMVS you can certainly tweak the code in order to unload the image data pointer and so be able to still process your dataset.