pointCloud
Object for storing 3-D point cloud
Description
The pointCloud
object creates point cloud data from a set of
points in 3-D coordinate system The points generally represent the
x,y, and z geometric coordinates of
a samples surface or an environment. Each point can also be represented with additional
information, such as RGB color. The point cloud data is stored as an object with the
properties listed in Properties. Use Object Functions to retrieve, select, and remove desired
points from the point cloud data.
Creation
Description
Input Arguments
Output Arguments
Properties
Object Functions
findNearestNeighbors | Find nearest neighbors of a point in point cloud |
findNeighborsInRadius | Find neighbors within a radius of a point in the point cloud |
findPointsInROI | Find points within a region of interest in the point cloud |
removeInvalidPoints | Remove invalid points from point cloud |
select | Select points in point cloud |
copy | Copy array of point cloud objects |
Examples
Tips
The pointCloud
object is a handle
object. If you want to create a separate copy of a point cloud, you can use
the MATLAB®
copy
method.
ptCloudB =
copy (ptCloudA ) |
If you want to preserve a single copy of a point cloud, which can be modified by point cloud functions, use the same point cloud variable name for the input and output.
ptCloud =
pcFunction(ptCloud ) |