lasfilters

0th

Percentile

Predefined filters

Select only some returns

Usage
lasfilterfirst(.las)

lasfilterfirstlast(.las)

lasfilterfirstofmany(.las)

lasfilterground(.las)

lasfilterlast(.las)

lasfilternth(.las, n)

lasfiltersingle(.las)

lasfilterfirstofmany(.las)

Arguments
.las

An object of class LAS

n

the position in the return sequence

Details

  • lasfilterfirst Select only the first returns.

  • lasfilterfirstlast Select only the first and last returns.

  • lasfilterground Select only the returns classified as ground according to LAS specification v1.3.

  • lasfilterlast Select only the last returns i.e. the last returns and the single returns.

  • lasfilternth Select the returns from their position in the return sequence.

  • lasfilterfirstofmany Select only the first returns from pulses which returned multiple points.

  • lasfiltersingle Select only the returns which return only one point.

Value

An object of class LAS

See Also

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Other lasfilters: lasfilter

Aliases
  • lasfilters
  • lasfilterfirst
  • lasfilterfirstlast
  • lasfilterfirstofmany
  • lasfilterground
  • lasfilterlast
  • lasfilternth
  • lasfiltersingle
  • lasfilterfirstofmany
Examples
# NOT RUN {
LASfile <- system.file("extdata", "Megaplot.laz", package="lidR")
lidar = readLAS(LASfile)

firstReturns  = lidar %>% lasfilterfirst
groundReturns = lidar %>% lasfilterground
# }
Documentation reproduced from package lidR, version 1.3.0, License: GPL-3

Community examples

Looks like there are no examples yet.