PCA-based normal estimation using k nearest neighbors.
Usage
px_estimate_normals(cloud, k_neighbors = 30L, radius = NULL, orient = TRUE)
Arguments
- cloud
A px_cloud.
- k_neighbors
Integer — neighbors for local PCA.
- radius
Numeric or NULL — radius search instead of k-NN.
- orient
Logical — consistently orient normals after estimation.
Value
The input cloud with normals field populated.