BSI: BSI - Bare Soil Index

Description Usage Arguments Value References Examples

Description

BSI can be used for soil mapping and crop identification. This index relates the Blue, Red, Near Infrared and Short Wave Infrared bands.

Usage

1
BSI(B, R, NIR, SWIR1)

Arguments

B

A raster layer object with the reflectance values for the Blue band.

R

A raster layer object with the reflectance values for the Red band.

NIR

A raster layer object with the reflectance values for the Near Infrared band.

SWIR1

A raster layer object with the reflectance values for the Short Wave Infrared band.

Value

BSI - Bare Soil Index.

References

Rikimaru et al., 2002. Tropical forest cover density mapping. Tropical Ecology, 43, 39-47. https://www.geo.university/pages/spectral-indices-with-multispectral-satellite-data.

Examples

1
2
3
4
5
library(raster)
path_files <- system.file("extdata/", package="nightmares")
bands <- stack(list.files(path_files,".tif", full.names=TRUE))
x <- ref_oli(bands, sun.elev= 67.97)
BSI(x[[2]], x[[4]], x[[5]], x[[6]])

nightmares documentation built on Oct. 23, 2020, 7:15 p.m.