local_densities: local_densities

View source: R/utils.R

local_densitiesR 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


LOMAR documentation built on March 18, 2022, 6:05 p.m.