問題タブ [lidar]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
matlab - Importing a large point cloud data file into MATLAB
I am a new MATLAB user with little programming experience (I have a mechanical engineering background) so I apologise in advance if this is a simple question!
I am trying to import a large point cloud file (.pts file extension) into MATLAB for processing. I'm lead to believe that the file contains a text header and 3 columns of integer data (x, y and z coordinates) - I managed to open the first part of the file as a text file and this is the case.
I cannot import the file directly into MATLAB as it is too large (875 million points) and can only import it 9000000 rows at a time, therefore I have written the script below to import the file (and consequently save) as 9000000x3 blocks, saved as MATLAB files (or another appropriate format).
Script:
#xA;The script runs fine and cycles through 5 iterations, importing 5 blocks of the data. Then, as it attempts to import the 6th chunk I get the following error:
#xA;I am unsure about what is causing the error, I believe it is relating to fread
command size, as I have experimented with various values such as 3, which enables just one block to be imported before the dimension mismatch error occurs.
Once more I apologise if I am missing something very basic, my understanding of programming techniques is very limited only having been introduced to it a couple of months ago.
geospatial - シェープファイル ポリゴンを使用した .las (LIDAR) ファイルのクリッピング
それぞれ数百万のポイントを含む LIDAR ファイルがあります。ポリゴンを含むシェープファイルでこれらの LIDAR ファイルをフィルタリングしようとしています。基本的には、ポリゴンを使用して各ポイント間で交差または包含を行っています。
私はライダーに慣れていないので、これらの空間クリッピング アクション用のオープン ソース ライブラリに関するすべての提案で十分です。
ascii - .las データセット (LIDAR) からの x、y、z 座標の抽出
分類された (植生) .las データセットのポイントクラウド内のポイントの裸の座標を抽出しようとしていました。
Arcgis を使用して属性テーブルを調べることは私が探しているものではないので、.las を ASCII などに「逆変換」してそれらの座標を取得できるかどうか自問していました。誰かが私の質問を理解してくれることを願っています。
編集: Arcmap 10.2 と呼ばれるシンプルなツールセットを使用して、必要なものを取得することができましたFeatureclass Z to ASCII (3d Analyst)
matlab - LIDAR データからのドローネ三角形分割の出力
3D 点群のメッシュを生成する必要があります。そこで、delaunay
関数を使用してポイントの三角形分割を実行しました。LIDAR データは、人間の頭部をスキャンした結果です。
2つの入力で使用delaunay
すると、出力が得られますが、完全ではありません。だから私は3つの入力を使用しました(X,Y,Z
)
しかし今、結果は悪化しています。何が問題なのかわからない?
これは私が書いた完全なコードです:
Head_cloud_point
X、Y、Z座標を持つファイルです。これらの座標を使用してメッシュを生成する必要があります。
batch-file - バッチ コマンドは、コマンド ラインに実装されている場合にのみ機能します
FUSION (LiDAR 処理) コマンドを使用して次のワークフローを実行するスクリプトがあります。
- LiDAR LAS ファイルをポリゴン境界にクリップして、ポリゴンごとに一意の LAS ファイルを作成します
- 実行
cloudmetrics
して、クリップされた LAS ファイルごとに点群情報を記録します
これは、手順 1 と 2 を実行するために作成したスクリプトです。
ファイルをダブルクリックしてこのスクリプトをファイルとして実行する.bat
と、コマンドである種の無限ループが作成されますpolyclipdata
。ただし、スクリプトをコマンド ラインで 1 行ずつ実装すると、ワークフローは必要なタスクを実行します。ここでどこが間違っていますか?
cloud - Lastools エラー: バージョン メジャーが範囲外です
lasinfo
.las ファイルを使用して実行すると、次のエラー メッセージが表示されます。
エラー: バージョン メジャーが範囲外です
何が原因で、どうすれば解決できますか?
cgal - 予期しないサーフェスの凸包を生成する 3D アルファ形状
CGAL で 3D アルファ形状関数を実行したところ、予期しない結果が得られました。私の入力データは、平らな領域にある 1 つの建物 (ボックス) を表す 3D ポイント (x、y、z) のセットでした (座標に多少のノイズがあります - 小さなもの)。結果として、建物 (壁と屋根) と地面を表すサーフェス三角形のみが得られると思いました。
しかし、結果として、サーフェスの凸包を形成する三角形が得られました。「最適なアルファ値」を変更してみましたが同じでした。
サーフェスの三角形のみを取得するために設定できるフィルタリング プロセスまたはパラメーターはありますか?