For 3. my only consolation is that it's easy to convert MxNx3 to a 2D matrix (MxN)x3 with reshape(A,[],3), whereas there are a few more steps starting from a Mx3xN...
Usefulness of "organized point cloud"
4 ビュー (過去 30 日間)
古いコメントを表示
I thought it was smart to use Matlab's "organized point cloud" format to keep the data sorted by "frames". But I have a multiple concerns that seem to make it much less useful than anticipated.
- Since it is a matrix I need all frames to have the same number of points. Which means I need to initialize it with a bunch of NaN to the size of the largest frame before populating it with the point cloud data...
- Most Matlab Point Cloud Processing Toolbox functions don't seem to handle organized point clouds: pcFitPlane or pcRegRigid...
- Why the MxNx3 format and not Mx3xN?? This makes it a pain to populate the matrix frame by frame since I cannot simply assign a Mx3 matrix to a MxNx3 one. It forces me to use permute or some time consuming functions like that.
回答 (1 件)
Don Zheng
2017 年 7 月 19 日
編集済み: Don Zheng
2017 年 7 月 19 日
" An organized point cloud dataset is the name given to point clouds that resemble an organized image (or matrix) like structure, where the data is split into rows and columns. Examples of such point clouds include data coming from stereo cameras or Time Of Flight cameras. The advantages of a organized dataset is that by knowing the relationship between adjacent points (e.g. pixels), nearest neighbor operations are much more efficient, thus speeding up the computation and lowering the costs of certain algorithms in PCL."
Based on that, an organized point cloud format might be more suitable for a dense point cloud (e.g., a depth point cloud captured from a stereo camera). In that case, the number of points in the cloud is considered equivalent to the frame size. As long as the frame size does not change, the number of points stays the same.
As for your second item, I believe that 'pcFitPlane' and 'pcRegRigid' take pointCloud objects, which can be constructed from either organized and unorganized point cloud format.
As for item 3, I am not sure if there is a confusion about 'N'. I believe that 'N' represents the number of columns. Based on your description, 'N' seemed to be related to the number of frames. Theoretically, if you have an unorganized (or sparse) point cloud without pixel coordinates, you cannot convert it to an organized point cloud.
参考
カテゴリ
Help Center および File Exchange で Point Cloud Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!