mapillary / OpenSfM

Open source Structure-from-Motion pipeline
https://www.opensfm.org/
BSD 2-Clause "Simplified" License
3.34k stars 852 forks source link

failed to do reconstructions #143

Closed xialang2012 closed 7 years ago

xialang2012 commented 7 years ago

Hi @paulinus , please see this dataset if possible, I have failed to get correct result with errors. as below

2017-02-15 23:36:35,363 Good tracks: 12431 2017-02-15 23:36:36,203 Starting incremental reconstruction 2017-02-15 23:36:36,566 0 partial reconstructions in total.

You can find it here. http://modis-typechoupload.stor.sinaapp.com/image.zip

Those images are satellite images for the same area. More parameters I used to run OpenSfM

processes: 8           
depthmap_min_consistent_views: 2     
depthmap_save_debug_files: yes     
feature_min_frames: 8000     
feature_process_size: 4096   
paulinus commented 7 years ago

Hi @xialang2012, thanks for testing.

There seems to be no change of perspective between those images. They all appear to be taken from the same place or to have been rectified to look like that.

For SfM to work, images taken from different points of view are required. If you have access to the original, unrectified, satelite images you can try running on those.

xialang2012 commented 7 years ago

There should be slight changes of each perspective between those images. The result shown in Softscan here

qq 20170217105635

but the dense points produced by the Softscan is quite poor.

paulinus commented 7 years ago

If there's any change of perspective, it is tiny and not visible to the naked eye. Standard SfM methods won't work for that case. So OpenSfM will not produce any output. Sorry.

You should try with images with larger baseline (say 5 degrees).

Not sure what Softscan does. It might just be outputting a flat surface.

xialang2012 commented 7 years ago

Thanks, I will try another dataset.