local_densities {LOMAR}R Documentation

local_densities

Description

Compute local point density at each point of a point set

Usage

local_densities(X, k = NULL)

Arguments

X

point set, a N x D matrix

k

(optional) number of nearest neighbors used (defaults to all points).

Details

Local density is computed as in Ning X, Li F, Tian G, Wang Y (2018) An efficient outlier removal method for scattered point cloud data. PLOS ONE 13(8):e0201280. https://doi.org/10.1371/journal.pone.0201280

Value

vector of density value for each point


[Package LOMAR version 0.4.0 Index]