HHKproject / osm-bundler

Automatically exported from code.google.com/p/osm-bundler
0 stars 0 forks source link

RunCMVS loops! #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a photoset of 30 photos
2. RunBundler.py
3. RunCMVS.py

What is the expected output? What do you see instead?
Expected is a finite process during RunCMVS, however RunCMVS does loop during: 
"subprocess.call([cmvsExecutable, "./", clustersize])" (/osmcmvs/__init__.py, 
line 109)

What version of the product are you using? On what operating system?
svn r52, both Linux and Windows

Please provide any additional information below.
It seems that the clustersize is way too small. Setting a clustersize of 100 
(or omitting the clustersize) fixes the problem. Default is 4.

Original issue reported on code.google.com by theunkno...@gmail.com on 16 Oct 2010 at 7:43

GoogleCodeExporter commented 8 years ago
Hi,

I have to set the cluster size as a parameter.
Dynamic or in the command line.

Thanks for the feedback !

Original comment by pmou...@gmail.com on 16 Oct 2010 at 10:46

GoogleCodeExporter commented 8 years ago
Know you could specify as a parameter in how many cluster you want to divide 
the initial point cloud.

http://code.google.com/p/osm-bundler/source/detail?r=54

Since we do not have vocation to fix the existing bug in CMVS. You could now 
try different value of cluster number... and find a not infinite loop solution.

Original comment by pmou...@gmail.com on 29 Dec 2010 at 3:32

GoogleCodeExporter commented 8 years ago
It appears to me that osm-bundler misunderstands the call signature for CMVS. A 
quick fix is to use the commandline option --ClusterToCompute as the maximum 
number of images per cluster.

The code sets this to 1 by default (line 34 in osmcmvs/__init__.py).

A quick fix is to run it as RunCMVS.py --ClusterToCompute=100 (This was 
originally the CMVS default which is changed by osm-cmvs).

I will attach a patch or code correction later. 

Original comment by mghe...@gmail.com on 10 Jan 2012 at 3:36