Exporting COLMAP to CMP-MVS

513 views
Skip to first unread message

Oleksii Martens

unread,
Feb 11, 2017, 4:02:33 PM2/11/17
to COLMAP
Hi Johannes,
I am working on the reconstruction of the specific objects of complex geometric form. I used to use VisualSFM - CMP-MVS pipeline. 
Recently, I was looking to improve the quality of my models with global SFM. And I found your "Structure-from-Motion Revisited" paper. 
I just have tested the COLMAP on my dataset. The resulting sparse model is really impressive. Now I am trying to export it to the CMP-MVS input format. 
I followed the tutorial https://colmap.github.io/tutorial#dense-reconstruction:
Extras>Undistortion>CMP-MVS
COLMAP output is not producing the ".ini" file while exporting. I'm a bit confused with using the COLMAP output as CMP-MVS input because CMP-MVS expects the ".ini" input.  
Can you advice how to use the COLMAP output as CMP-MVS input, please

Johannes Schönberger

unread,
Feb 22, 2017, 10:55:07 AM2/22/17
to COLMAP
Seems like the CMP-MVS support is broken at the moment. I created a ticket on Github and hope to fix it soon. I'll try to remember updating this thread here then.

Oleksii Martens

unread,
Feb 22, 2017, 12:40:15 PM2/22/17
to COLMAP
Colmap & CMP-MVS & PMVS
1. I have managed to run CMP-MVS on Colmap output. As I remember, I just created the mvs.ini file with my parameters. 
Conclusion 1: After running the CMP-MVS on Colmap output, I've realized that it is not worthy. CMP-MVS output was the same as I could get after running CMP-MVS on VisualSFM output (which would work faster).

2. I tried to use the same Colmap output for running pmvs-2. Initially, this idea did not work out because pmvs-2 requires different data structure than Colmap produces. So, I changed the Colmap output according to pmvs-2 documentation (http://www.di.ens.fr/pmvs/documentation.html). 
Conclusion 2: Running pmvs-2 did not produce a high-quality dense model as I expected to have out of the high-density point cloud 

For CMP-MVS:


mvs.ini

[global]
dirName="D:\path\data\"
prefix=""
imgExt="jpg"
ncams=139
width=1884
height=1059
scale=1
workDirName="_tmp"
doPrepareData=TRUE
doPrematchSifts=TRUE
doPlaneSweepingSGM=TRUE
doFuse=TRUE
nTimesSimplify=10

[uvatlas]
texSide=4096
scale=1

[prematching]
minAngle=3.0

[grow]
minNumOfConsistentCams=6

[filter]
minNumOfConsistentCams=2

[hallucinationsFiltering]
useSkyPrior=FALSE
doLeaveLargestFullSegmentOnly=FALSE
doRemoveHugeTriangles=TRUE

[largeScale]
doGenerateAndReconstructSpaceMaxPts=TRUE
doGenerateSpace=TRUE
planMaxPts=3000000

[generateVideoFrames]
nintermed=20

[DEM]
demW=8000
demH=8000

#EOF

Oleksii Martens

unread,
Feb 22, 2017, 12:58:39 PM2/22/17
to COLMAP
MESHING --> 3D MODEL reconstruction suggestions??

I am currently working on meshing a point cloud produced by Colmap. My object of interests looks similar to this photo:
Image result for columns structure

I have an awesome point cloud after running Colmap. But at the same time, the standard Colmap meshing (Poisson surface reconstruction I guess) messes up a point cloud model (the screenshot is attached).

Do you have any suggestion of what tools can I use to produce a decent 3D model based on a dense point cloud?


MeshedModel.png
Reply all
Reply to author
Forward
0 new messages