README.md

Sentinel-2 Processing R Package

by Philipp Glahe

This R package was developed for the use with the Sentinel2Processing-App.

Link: Sentinel-2 Processing-App

The R package has the following functions:

The main functions of the package are • FCC: Creates a False Colour Composite Image using the Band Combination R=NIR, G=Red, B=Green • calcNDVI: Calculates the NDVI of an Image • showDifferencesOnImage: Indicates NDVI differences between two images The helper functions used are • NDVIDifferences: Calculates the NDVI differences • rescale: Rescales the NDVI images from 0-255 to -1-1 • checkExtent: Proofs if a shapefile intersects an image • cropRaster: If the shapefile intersects a raster, these parts are cropped here and used for calculation • readShape: Reads in a shapefile • NDVI: Implements the NDVI formula (NIR-Red)/(NIR+Red) • NDVI_Result: Uses the NDVI formula and calculates the result

Usage

To use the package, simply run library(devtools) and then install_github("SENTINEL2Processing","dwalin93") inside R To use it with OpenCPU: Link to OpenCPU



dwalin93/SENTINEL2Processing documentation built on May 28, 2019, 12:56 p.m.