Learn R Programming

Unmanned Aerial Vehicle R Tools

The uavR tools consist of two packages:

  • mission planning uavRmp (CRAN)
  • remote sensing toolbox uavRst (CRAN)

Unmanned Aerial Vehicle Remote Sensing Toolbox - uavRst

The uavRstanalysis toolbox package is far from being mature. You will need for most of the uavRst functions a bunch of third party software. The most comfortable way to fulfill these requirements is to install QGIS, GRASS- and SAGA-GIS. Following the excellent provided by the RQGIS team will give you a good first try to ensure a smooth working environment.

Most of the LiDAR related operations can be done by the great R package lidR. However for some of the basic point cloud related operations you will need to install the LAStool software. The LAStools toolset is available at the rapidlasso homepage. Please download it and unzip it as usual. For Windows systems it is by default expected that you put it at C:/LASTools, running Linux at ~/apps/LASTools.

Note: For running LAStools tools under Linux you first need to install wine.

In addition you need to install the link2GI package. In case of any problems drop an issue or try to use the actual github hosted version of the package.

Nevertheless all mentioned software packages have to be installed correctly on your the OS. Most of it tested under Windows and Linux and should run... The most easiest way to obtain a fairly good runtime enviroment is to setup Linux as a dual boot system or in a VB.

A full list of necessary libaries and binaries beyond R will hopefully (soon) be provided.

Wiki

You will find some tutorials and examples at the uavRst Wiki. Please feel free to participate.

Installation

The master branch is a github mirror for the CRAN version.

To install the actual development version from github you need to have installed the devtools package.

devtools::install_github("gisma/uavRst", ref = "develop")

Copy Link

Version

Install

install.packages('uavRst')

Monthly Downloads

6

Version

0.5-4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Chris Reudenbach

Last Published

December 30th, 2019

Functions in uavRst (0.5-4)

get_counts

counts pixel values according to their classes
otbtex_gray

Calculates Gray scale morphological operations for a given kernel size.
grass2tif

converts GRASS raster to Geotiff
so2shp

writes shapefiles from sf or sp* objects
line_maxpos

applies a line to a raster and returns the position of the maximum value.
chmseg_GWS

seeded region growing tree crown segmentation based on 'SAGA GIS'
otbtex_hara

OTB wrapper for Haralick's simple, advanced and higher order texture features.
raster2sdat

writes raster* objects to the SAGA format
r2saga

converts R raster* objects to SAGA raster
shp2so

reads shapefiles as sf or sp objects
glcm_texture

Calls the glcm package with useful settings
grass2shape

converts GRASS vector to shape file
pc_2D_fdtm

Create a Digital Terrain Model from UAV generated point clouds by minimum altitude sampling (fix resolution of sampling gridsize)
get_traindata

Extracts training data from a raster stack using vector data as a mask.
fileProcStatus

returns the status of saga modules
read_gpx

Read a GPX file.
pacman

example raster data set for demonstration usage
setHomePath

Checks if running on a specified computer domain
shape2grass

converts OGR to GRASS vector
pc_2D_mdtm

Create a Digital Terrain Model from UAV generated point clouds by minimum altitude sampling (multiple resolutions of sampling gridsize)
rgb

RGB Orthoimagefrom an arbitray MOF plot
xyz2tif

Read, convert and write xyz DEM/DSM Data as typically provided by the Authorities to GeoTiff.
getCrayon

colorize the cat outputs
rgb_indices

RGB indices
otb_stat

Calculates local statistics for a given kernel size
linkGI

convenient function to establish all link2GI links
otbtex_edge

Calculates edges for a given kernel size.
saga2r

converts SAGA raster to R raster object
pc_2D_dsm

Create a Digital Terrain Model from UAV generated point clouds by minimum altitude sampling
poly_stat

Calculate descriptive statistics of raster as segmented by polygons
make_bandnames

treepos_FT

'ForestTools' tree top detection
morpho_dem

calculates most important DEM parameters
treepos_GWS

Find potential tree positions using a canopy height model
poly_maxpos

extract for all polygons the position of the maximum value of the applied raster(s).
mrbiko

DEM data set of Marburg-Biedenkopf
treepos_RL

'rLiDAR' based tree detection of a LiDAR-derived Canopy Height Model (CHM)
poly_metrics

calculate morphometric features of polygons.
treepos_lidR

tree top detection based on local maxima filters as provided by 'lidR'
predict_rgb

classify images using raster predict
split2SAGA

Split multiband image to single band SAGA files
tile_eq

divide a lidR las* or lascatalog object by given factors
trp_seg

Optional tree position raster map
uavRst

Unmanned Aerial Vehicle Remote Sensing Tools - some cool tools to manipulate and analyze UAV derived RGB ortho imagery and point clouds.
chm_seg

Canopy height model raster map
chmseg_RL

Watershed segmentation based on 'rLiDAR'
digitize

Easy digitizing of vector features within your rstudio session (or any browser)
crown_filter

basic filtering of crown polygons using altitude, area and other optional thresholds
colorspace

imagemagick based function to transform the RGB color space into another
calc_ext

Convenient function to preprocess synthetic raster bands from a given RGB image and/or DTM/DSM data.
chmseg_FT

Watershed segmentation based on 'ForestTools'
chmseg_ITC

Decision tree segmentation method to grow individual tree crowns based on 'itcSegment'
ffs_train

Forward feature selection based on rf model