matlab點雲處理函數


1. pcread: 輸入文件名,返回pointCloud類(用於存儲點雲)。eg: pcloud = pcread(“filename.ply”) 
2. pcshow: 輸入pointCloud類,展示該點雲圖。eg: pcshow(pcloud) 
3. pcshowpair: 輸入兩個pointCloud類,一起展示兩個點雲圖。eg: pcshowpair(pcloud1,pcloud2)。 
4. pcregrigid: ICP算法求取兩個點雲圖之間的轉移矩陣,輸入兩個點雲圖,返回一個轉移矩陣。eg: trans = pcregrigid(moving_pcloud, fixed_pcloud)。 

tform = pcregrigid(moving,fixed) returns a rigid transformation that registers a moving point cloud to a fixed point cloud.

[tform,movingReg] = pcregrigid(moving,fixed) additionally returns the transformed point cloud that aligns with the fixed point cloud.
5. pctransform: 旋轉一個點雲圖,輸入一個需要旋轉的點雲圖,以及旋轉矩陣,返回旋轉之后的點雲圖。eg: tranformed_cloud=pctransform(pcloud,trans)。 
6. findNearestNeighbors: 在給定點雲圖中尋找指定點的k個最近鄰,返回在點雲圖中的索引值以及距離。eg: [indice, dist] = findNearestNeighbors(pcloud, pointCloud.Location, k) 

https://blog.csdn.net/yep3666/article/details/83149384


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM