Extract scan context descriptor from point cloud
extracts a scan context descriptor from a point cloud,
descriptor
= scanContextDescriptor(ptCloud
)ptCloud
.
A scan context descriptor is a 2-D global feature descriptor of a point cloud that can be used to detect loop closures. The function computes the descriptor by first binning points from a 3-D point cloud scan into concentric radial and azimuthal bins, and then selecting the maximum z-height of points in each bin.
specifies options using one or more name-value pair arguments.descriptor
= scanContextDescriptor(ptCloud
,Name,Value
)
The scan context descriptor function assumes that the sensor is mounted roughly horizontally and that the input point cloud is in the sensor coordinate system.
To determine loop closure candidates, compare the distance between two scan
context descriptors using the scanContextDistance
function.