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
for samples on a surface or of an environment. Each point can also be represented with
additional information, such as the 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
sets options using one or more name-value arguments in addition to the previous syntax.
For example, ptCloud
= pointCloud(___,Name=Value
)Color=[1 0 0]
sets the color of the point cloud to
red.
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 |
findPointsInCylinder | Find points within a cylindrical region in a 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 ) |
Extended Capabilities
Version History
Introduced in R2015aSee Also
Functions
pccat
|pcalign
|pcshow
|pcwrite
|pcread
|pcmerge
|pcdenoise
|pcnormals
|pcfromkinect
|reconstructScene
|pcdownsample
|pctransform
|pcregistericp