Skip to contents

Constructor for UAV LiDAR or photogrammetric point clouds. Sets platform to "uav" with defaults appropriate for oblique perspectives and variable point density.

Usage

px_uav(
  xyz,
  intensity = NULL,
  classification = NULL,
  rgb = NULL,
  normals = NULL,
  return_number = NULL,
  number_of_returns = NULL,
  is_photogrammetric = FALSE,
  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.

is_photogrammetric

Logical, TRUE if derived from SfM/photogrammetry rather than LiDAR. Affects noise model defaults.

metadata

Named list of acquisition metadata.

Value

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

Examples

xyz <- matrix(rnorm(300), ncol = 3)
cloud <- px_uav(xyz, is_photogrammetric = TRUE)