#author("2024-03-06T10:11:36+09:00","default:ait-survey","ait-survey")
#author("2024-03-06T10:12:51+09:00","default:ait-survey","ait-survey")
点群処理:主たるオープンソースは以下あたりでしょうか?
-[[Open3D:http://www.open3d.org/]]:PythonおよびC++
--詳解3次元点群処理に体系的に説明がある.その[[コード:https://github.com/3d-point-cloud-processing/3dpcp_book_codes]]もある.
--[[詳解3次元点群処理:https://www.kspub.co.jp/book/detail/5293430.html]]に体系的に説明がある.その[[コード:https://github.com/3d-point-cloud-processing/3dpcp_book_codes]]もある.
-[[Point Cloud Library (PCL):https://pointclouds.org/]]:C++(Pythonもちょっとあり?)
-[[Lastools:https://lastools.github.io/]]:C++?or C?or Python?ところでlibLASとはどう違うのか?~
 lasmerge -i file1.las file2.las file3.las -o out.las
-[[potree:https://github.com/potree/potree/]]
-[[PDAL:https://pdal.io/]] 大容量は弱いか?lazファイルをマージできなかった.でも,[[ダウンサンプリング:https://pdal.io/en/2.6.0/stages/filters.voxeldownsize.html]]はできた(詳細レベルはできなかった).[[crop:https://pdal.io/en/2.6.0/stages/filters.crop.html]]はできそう.処理内容次第か?~
 pdal pipeline crop.json
そして
 {
  "pipeline": [
    "20171214_MT_geored_S802.laz",
    {
      "type": "filters.voxeldownsize",
      "cell":0.1,
      "mode":"center"
    },
    "outttt.laz"
  ]
 }



しかし,私の経験では,大規模点群になると,どれも動かなくなる場合があり(potreeは大丈夫?)?[[彼ら:http://www.ahm.co.at/]]は,[[特別なデータモデル:https://www.fiberbundle.net/]]を定義し[[HDF:https://www.hdfgroup.org/]]の利用でそれを克服している.
----
*PCL [#iae74699]
[[ここ:https://github.com/PointCloudLibrary/pcl]]のをghでダウンロードし,Ubuntu 20.04 on WSL2-CLIONで使用.~
CMakeでビルド設定を生成後,以下でビルド.
 ninja -C cmake-build-debug/ -j 10
ToolsのCMakeLists.txtへの記述例
 # pcl_xyzrgb2rgb 実行可能ファイルを追加
 PCL_ADD_EXECUTABLE(pcl_xyzrgb2rgb COMPONENT tools SOURCES pcl_xyzrgb2rgb.cpp)
 target_link_libraries(pcl_xyzrgb2rgb pcl_common pcl_io)
Viewerがなぜか落ちます
*Open3D [#t748dad4]
[[ビルド方法:http://www.open3d.org/docs/release/compilation.html#ubuntu-macos]]~
ちなみにCLIONが行うCMakeはエラーがでます。~
%%下記のエラーが出現.%%
 survey@SURVEY-C20:/mnt/c/Users/survey/Documents/Open3D$ ninja -C cmake-build-debug/ -j 10
 ninja: Entering directory `cmake-build-debug/'
 ninja: error: 'curl/src/ext_curl/lib/libcurl.a', needed by 'bin/ConvertPointCloud', missing and no known rule to make it
*Potree [#pd6723a0]
PotreeのGitHubは[[ここ:https://github.com/potree/potree]]~
ちなみに,Jetbrains製品では,WebStormで動かすのがいいか?~
でも,PotreeConverterはC++なのでCLion(も)か?~
PotreeConverterのGitHubは[[ここ:https://github.com/potree/PotreeConverter]]~
エックスサーバー(VPD)に載せれるのか?~
[[この:http://potree.org/potree/examples/cesium_retz.html]]
Cesium上でのオーバレイ機能に興味があります,~
Potreeで可視化するためにはPotreeConverter(ソースはC++)での変換が必要.~
可視化は,(potreeのディレクトリにて)npm startして,http://localhost:1234/examples/ をブラウザで開く.~
(ここで,npmはNode Package Managerの略.Node.jsのパッケージ(ライブラリ)を管理するためのツールです.)~
----
以下に,可視化したい点群データの設定情報を示します.~
&ref(potree2_1s.jpg);~
上のソースは,examplesディレクトリにあるhtmlファイルです.~
&ref(potree2_data2_1.jpg);~
[[Potreeライセンスの解釈]]

[[測量研究室-愛知工業大学工学部土木工学科(Survey Lab., AIT)]]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS