Object for storing 3-D point cloud
ThepointCloud
object creates point cloud data from a set of points in 3-D coordinate system The points generally represent thex,y, andzgeometric 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 inProperties. UseObject Functionsto retrieve, select, and remove desired points from the point cloud data.
creates aptCloud
= pointCloud(xyzPoints
,Name,Value
)pointCloud
object with properties specified as one or moreName,Value
pair arguments. For example,pointCloud(xyzPoints,'Color',[0 0 0])
sets theColor
property of the pointxyzPoints
as [0 0 0]. Enclose each property name in quotes. Any unspecified properties have default values.
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 handle objects |
ThepointCloud
object is ahandle
对象。如果你想创建一个单独的副本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 ) |