OpenSfM 取説
-
imagesフォルダが入った画像フォルダを作
-
り、imageフォルダに画像を入れる
-
OpenSfMの中のdataフォルダに先ほどの画像フォルダを入れる
-
以下のコマンドを実行
OpenSfMディレクトリ内で
bin/opensfm_run_all data/(画像フォルダ名)
-
undistorted->depthmaps内のmerged.plyに点群データ生成
データ閲覧方法
-
以下のコマンドを実行する
python3 viewer/server.py -d data/berlin
-
and then browse to http://localhost:8080
OpenSfM->openMVS
-
以下のコマンドを実行
OpenSfMフォルダ内で
bin/opensfm export_openmvs data/(画像file名)
これでscene.mvsの生成ができる
-
以下のコマンドを実行
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