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.

  • 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 that return only one point.

Value

An object of class LAS

See Also

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

Other lasfilters: lasfilterduplicates, lasfiltersurfacepoints, lasfilter

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

firstReturns  = lasfilterfirst(lidar)
groundReturns = lasfilterground(lidar)
# }
Documentation reproduced from package lidR, version 2.0.0, License: GPL-3

Community examples

Looks like there are no examples yet.