eigen_decomposition: Fast Eigenvalues decomposition for k nearest neighbors using a C++ function
Description
C++ helper function to compute eigenvalues for geometric feature
calculation.
Usage
eigen_decomposition(las, k, ncpu = 1L)
Value
The function returns for every point the 3 eigenvalues and the
third element of the third eigenvector. These values are needed to compute
planarity, linerity, verticality etc. in the add_geometry function
Arguments
- las
LAS element
- k
k nearest neighbors
- ncpu
number of cpu cores to use
Author
Julian Frey <julian.frey@iww.uni-freiburg.de>