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)。
returns a rigid transformation that registers a moving point cloud to a fixed point cloud.tform = pcregrigid(moving,fixed)
[ additionally returns the transformed point cloud that aligns with the fixed point cloud.tform,movingReg] = pcregrigid(moving,fixed)
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
