pcsegplanes
Syntax
Description
[
segments a point cloud into planar surfaces. labels
,numPlanes
] = pcsegplanes(ptCloud
)pcsegplanes
assigns an
integer planar surface label to each point in the point cloud, and returns the
labels
of all points. The function also returns the number of
segmented planar surfaces.
The function uses the robust statistics approach for detecting planes. For more information on this approach, see [1].
[
additionally returns the normals of the segmented surface planes. labels
,numPlanes
,planeNormals
] = pcsegplanes(ptCloud
)
[___] = pcsegplanes(
specifies options using one or more name-value arguments in addition to any combination of
arguments from previous syntaxes. For example, ptCloud
,Name=Value
)MinNumPoints=100
sets the
minimum number of points that must be present to fit a planar surface to
100
.
Examples
Input Arguments
Output Arguments
References
[1] Araújo, Abner M. C., and Manuel M. Oliveira. “A Robust Statistics Approach for Plane Detection in Unorganized Point Clouds.” Pattern Recognition 100 (April 2020): 107115. https://doi.org/10.1016/j.patcog.2019.107115.
Version History
Introduced in R2024b