Learn R Programming

nightmares (version 0.0.2)

tasscap_oli: Tasselled Cap Transformation

Description

This function Convert Reclectance values to Brightness, Greenness and Wetness.

Usage

tasscap_oli(x)

Arguments

x

A raster stack containing the reflectance values of the first seven Landsat OLI bands.

Value

Layer 1 - Brightness.

Layer 2 - Greenness.

Layer 3 - Wetness.

References

Baig et al., 2014. Derivation of a tasselled cap transformation based on Landsat 8 at-satellite reflectance. Remote Sensing Letters 5(5), 423-431.

Examples

Run this code
# NOT RUN {
library(raster)
path_files <- system.file("extdata/", package="nightmares")
x <- stack(list.files(path_files,".tif", full.names=TRUE))
tasscap_oli(x)

# }

Run the code above in your browser using DataLab