2015-12-21 211 views
0

我已經使用Matlab R2015b圖像處理工具箱從原始雲(.ply圖像)中切出了一個點雲(30%)。當我將切片雲保存爲新的點雲時。保存切片點雲 - Matlab

切片和原始的背景都保存。我怎麼能只切片部分保存爲一個新的點雲(.ply)

stepSize = 1; 
indices = 1:stepSize:(cloudImage.Count)/2; 
pt = select(cloudImage, indices); 
pcwrite(cloudSliced,'half','PLYFormat','binary'); 

Save Red Part only

回答

0

從你的代碼看起來切片點雲存儲在pt。 所以它應該是

pcwrite(pt,'half','PLYFormat','binary');