Skip to contents

Constructor for aerial LiDAR data. Sets platform to "aerial" and provides appropriate defaults for ground classification, tree segmentation, and metrics computation.

Usage

px_aerial(
  xyz,
  intensity = NULL,
  classification = NULL,
  rgb = NULL,
  normals = NULL,
  return_number = NULL,
  number_of_returns = NULL,
  flight_altitude_m = NULL,
  metadata = list()
)

Arguments

xyz

Numeric matrix with 3 columns (x, y, z).

intensity

Numeric vector of intensity values, or NULL.

classification

Integer vector of ASPRS classification codes, or NULL.

rgb

Integer matrix with 3 columns (R, G, B), or NULL.

normals

Numeric matrix with 3 columns (nx, ny, nz), or NULL.

return_number

Integer vector of return numbers, or NULL.

number_of_returns

Integer vector of total returns, or NULL.

flight_altitude_m

Numeric scalar, flight altitude in meters, or NULL.

metadata

Named list of acquisition metadata.

Value

An object of class c("px_aerial", "px_cloud").

Examples

xyz <- matrix(rnorm(300), ncol = 3)
cloud <- px_aerial(xyz)