Learn R Programming

⚠️There's a newer version (1.0.0) of this package.Take me there.

RStoolbox

RStoolbox is an R package providing a wide range of tools for your every-day remote sensing processing needs. The available tool-set covers many aspects from data import, pre-processing, data analysis, image classification and graphical display. RStoolbox builds upon the raster package, which makes it suitable for processing large data-sets even on smaller workstations. Moreover in most parts decent support for parallel processing is implemented.

For more details have a look at the functions overview.

Installation

The package is now on CRAN and can be installed as usual via

install.packages("RStoolbox")

To install the latest version from GitHub you need to have r-base-dev (Linux) or Rtools (Windows) installed. Then run the following lines:

library(devtools)
install_github("bleutner/RStoolbox")

Copy Link

Version

Install

install.packages('RStoolbox')

Monthly Downloads

1,515

Version

0.2.4

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Last Published

January 8th, 2019

Functions in RStoolbox (0.2.4)

oneHotEncode

One-hot encode a raster or vector
fortify.raster

Fortify method for classes from the raster package.
predict.superClass

Predict a raster map based on a superClass model fit.
histMatch

Image to Image Contrast Matching
predict.unsuperClass

Predict a raster map based on a unsuperClass model fit.
rsOpts

Set global options for RStoolbox
rasterEntropy

Multi-layer Pixel Entropy
readSLI

Read ENVI spectral libraries
rasterPCA

Principal Component Analysis for Rasters
rlogo

Rlogo as RasterBrick
getMeta

Extract bandwise information from ImageMetaData
RStoolbox

RStoolbox: A Collection of Remote Sensing Tools
rescaleImage

Linear Image Rescaling
lsat

Landsat 5TM Example Data
rasterCVA

Change Vector Analysis
radCor

Radiometric Calibration and Correction
mesma

Multiple Endmember Spectral Mixture Analysis (Spectral Unmixing)
spectralIndices

Spectral Indices
srtm

SRTM Digital Elevation Model
classifyQA

Classify Landsat QA bands
cloudMask

Simple Cloud Detection
unsuperClass

Unsupervised Classification
sam

Spectral Angle Mapper
ggR

Plot RasterLayers in ggplot with greyscale
getValidation

Extract validation results from superClass objects
validateMap

Map accuracy assessment
pifMatch

Pseudo-Invariant Features based Image Matching
panSharpen

Pan Sharpen Imagery / Image Fusion
readEE

Tidy import tool for EarthExplorer .csv export files
readMeta

Read Landsat MTL metadata files
stackMeta

Import separate Landsat files into single stack
saveRSTBX

Save and Read RStoolbox Classification Results
superClass

Supervised Classification
writeSLI

Write ENVI spectral libraries
tasseledCap

Tasseled Cap Transformation
topCor

Topographic Illumination Correction
ImageMetaData

ImageMetaData Class
coregisterImages

Image to Image Co-Registration based on Mutual Information
estimateHaze

Estimate Image Haze for Dark Object Subtraction (DOS)
decodeQA

Decode QA flags to bit-words
cloudShadowMask

Cloud Shadow Masking for Flat Terrain
encodeQA

Encode QA Conditions to Integers
fCover

Fractional Cover Analysis
normImage

Normalize Raster Images: Center and Scale
ggRGB

Create ggplot2 Raster Plots with RGB from 3 RasterLayers