cdcseacave / openMVS

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

How can I disable image selection or adjust the criteria for non-deterministic results. #542

Open huikang opened 4 years ago

huikang commented 4 years ago

Hi, I am using openMVS as a pre-step to a 3D reconstruction process. However, the image selection results enacted by openMVS seems non-derterministic.

That is sometimes the results of openMVS is an empty set. Then I run the process again on the same set of images, it selects the right set of images.

My question is that how can I eliminate this non-derterministic results. Thanks.

cdcseacave commented 4 years ago

There is no such thing coded in OpenMVS. It should generate always the same image sets. The only non-deterministic reason is using multi-thread, you can disable it using --max-threads 1. If you get anything but the same image sets at each run, then there is a problem in how you call it, etc, or a bug I never encountered before.

huikang commented 4 years ago

@cdcseacave , thanks for your response. Just two follow up questions

Preparing images for dense reconstruction completed: 46 images (2s889ms)
Selecting images for dense reconstruction completed: 0 images (18ms)

Thanks.