OpenSfM 取説

  1. imagesフォルダが入った画像フォルダを作

  2. り、imageフォルダに画像を入れる

  3. OpenSfMの中のdataフォルダに先ほどの画像フォルダを入れる

  4. 以下のコマンドを実行

   OpenSfMディレクトリ内で

   bin/opensfm_run_all data/(画像フォルダ名)

 

  1. undistorted->depthmaps内のmerged.plyに点群データ生成

データ閲覧方法

  1. 以下のコマンドを実行する

python3 viewer/server.py -d data/berlin

  1. and then browse to http://localhost:8080 

OpenSfM->openMVS

 
  1. 以下のコマンドを実行

OpenSfMフォルダ内で

bin/opensfm export_openmvs data/(画像file名)

これでscene.mvsの生成ができる

  1. 以下のコマンドを実行

cd OpenSfM/data/(画像ファイル)/undistorted/openmvs

 

/home/orbitalc/openMVS_build/bin/DensifyPointCloud scene.mvs #mvsの作成

 

/home/orbitalc/openMVS_build/bin/ReconstructMesh scene_dense.mvs

 

/home/orbitalc/openMVS_build/bin/RefineMesh scene_dense_mesh.mvs --max-face-area 16

 

/home/orbitalc/openMVS_build/bin/TextureMesh scene_dense_mesh_refine.mvs