crop_point_set {LOMAR} | R Documentation |
crop_point_set
Description
Retain points in the set that are within the given distance from the geometric median of the set. Using the geometric median is more robust than using the centre of mass (i.e. mean).
Usage
crop_point_set(point.set, size, center = NULL)
Arguments
point.set |
a point set as a matrix with columns x,y,z. |
size |
vector of distances from the target region centre along each axis. Points are discarded if they are outside the ellipsoid defined by size and centred on the given position. |
center |
(optional) coordinates of the centre of the target region. If not given, default to the geometric median of the point set. |
Value
point set as a matrix with columns x,y,z.
[Package LOMAR version 0.4.0 Index]