>> ptCloud = pcread('teapot.ply');>> gridStep = 0.1;>> ptCloudA = pcdownsample(ptCloud,'gridAverage',gridStep);>> disp(min(pdist(ptCloudA.Location)))� 0.0194557
MATLAB: How can i use ‘pcdownsampling’ from Computer Vision System Toolbox
distancedowndownsamplingMATLABminimumradiussampling
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:
Related Question
- How to use functions “fitgeotrans” and “transformPointsForward” instead of “cp2tform” and “tformfwd”
- How to create a pictogram in MATLAB
- How do you use ‘polynomial’, ‘piecewise linear’ or ‘lwm’ with the ‘fitgeotrans’ function
- How to change the axis limit when I have 2 axes in the figure
- When using the Computer Vision Toolbox and the “stereoParameters” object how to transform points in camera 1 coordinates to camera 2 coordinates
- How to programmatically replace a referenced model with a Subsystem in Simulink
- Can’t I find the “geographicToInstrinsic” function if I have the Mapping Toolbox installed
- How to specify the colors of multiple lines in a plot
Best Answer