How can i use 'pcdownsampling' from Computer Vision System Toolbox?
Show older comments
I would like to downsample a cloud of points such as no points is within a given distance of each other. In other word, I would like to downsample such that the minimum distance between the remaining point is higher than a threshold value. Using the 'gridAverage' method, the minimum distance between point is not higher than the 'gridStep', as shown here:
>> ptCloud = pcread('teapot.ply');
>> gridStep = 0.1;
>> ptCloudA = pcdownsample(ptCloud,'gridAverage',gridStep);
>> disp(min(pdist(ptCloudA.Location)))
� 0.0194557
Accepted Answer
More Answers (0)
Categories
Find more on Feature Detection and Extraction 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!