weighted_returns_point_cloud: Assign a weight to each point in a point cloud depending on...

View source: R/weighted_returns_point_cloud_function.R

weighted_returns_point_cloudR Documentation

Assign a weight to each point in a point cloud depending on total count points in voxel column

Description

Function that normalizes return weights in point clouds by dividing the value 1 by the total count of returns in a voxel column of a given horizontal resolution, e.g. if there are 4 returns in one vertical column each gets a weight of 0.25

Usage

weighted_returns_point_cloud(pc, cell.size = 1)

Arguments

pc

Data frame of the point cloud with first 3 columns representing X-, Y- and Z-coordinates

cell.size

Horizontal side length of one spatial subunit (voxel column width in X- and Y-direction)

Value

Data frame of the point cloud with additional column "ReturnWeight"

Author(s)

Nikolai Knapp

Examples

in progress

niknap/slidaRtools documentation built on Oct. 16, 2024, 3:53 p.m.