How to change the color of model obtained from pcfitsphere
조회 수: 2(최근 30일)
표시 이전 댓글
댓글: Shaurab Show 2021년 3월 10일
I am beginner to Matlab and would like some suggestion on how to change the colour of the model (obtained form [model,inlierIndices,outlierIndices] = pcfitsphere(ptCloudIn,maxDistance)) as it is making the analysis of the point cloud and the sphere extremely difficult.
Thanks in advance
댓글 수: 0
Mehmed Saad 2021년 3월 10일
title('Original Point Cloud')
maxDistance = 0.01;
roi = [-inf,0.5,0.2,0.4,0.1,inf];
sampleIndices = findPointsInROI(ptCloud,roi);
[model,inlierIndices] = pcfitsphere(ptCloud,maxDistance,...
globe = select(ptCloud,inlierIndices);
Now if you want to change the color of figure and axis just wirte
i am setting it to white, you can chose your color
댓글 수: 4
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!