rgbi: RGB indices

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/rgbi.R

Description

This function calculates various spectral indices from a RGB Raster* object.

Usage

1
2
rgbi(rgb, rgbi = c("red", "green", "blue", "VVI", "VARI", "NDTI", "RI", "CI",
  "BI", "SI", "HI", "TGI", "GLI", "NGRDI"))

Arguments

rgb

A RasterStack or RasterBrick object. 3 bands are mandatory (usually red, green and blue).

Value

A RasterLayer with the index calculates as:
VARI (green-red)/(green+red-blue). A Visible Atmospherically Resistant Index (VARI)
BI sqrt((R**2+G**2+B*2)/3 Brightness Index
SI (R-B)/(R+B) Spectra Slope Saturation Index
HI (2*R-G-B)/(G-B) Primary colours Hue Index
CI (R-G)/(R+G) Soil Colour Index
RI R**2/(B*G**3) Redness Index
NDTI (R-G)/(R+G) Normalized difference turbidity index Water
NGRDI (G-R)/(G+R) Normalized green red difference index (sometimes GRVI) Tucker (1979) VVI (1-(r-30)/(r+30))*(1-(g-50)/(g+50))*(1-(b-1)/(b+1))
TGI -0.5[190(R670-R550)-120(R670 - R480)] The triangular greenness index (TGI) estimates chlorophyll concentration in leaves and canopies
GLI Green leaf index Vis GLI (2*g - r - b)/(2*g + r + b) Louhaichi et al. (2001)

Author(s)

Chris Reudenbach, (VVI) Florian Detsch, (VVI) Tim Appelhans

References

Planetary Habitability Laboratory (2015): Visible Vegetation Index (VVI). Available online via http://phl.upr.edu/projects/visible-vegetation-index-vvi.

Lacaux, J. P., Tourre, Y. M., Vignolles, C., Ndione, J. A., and Lafaye, M.: Classification of ponds from high-spatial resolution remote sensing: Application to Rift Valley Fever epidemics in Senegal, Remote Sens. Environ., 106, 66-74, 2007.

Gitelson, A., et al.: Vegetation and Soil Lines in Visible Spectral Space: A Concept and Technique for Remote Estimation of Vegetation Fraction. International Journal of Remote Sensing 23 (2002): 2537-2562. (VARI)

MADEIRA, J., BEDIDI, A., CERVELLE, B., POUGET, M. and FLAY, N., 1997, Visible spectrometric indices of hematite (Hm) and goethite (Gt) content in lateritic soils: 5490 N. Levin et al. the application of a Thematic Mapper (TM) image for soil-mapping in Brasilia, Brazil. International Journal of Remote Sensing, 18, pp. 2835-2852.

MATHIEU, R., POUGET, M., CERVELLE, B. and ESCADAFAL, R., 1998, Relationships between satellite-based radiometric indices simulated using laboratory reflectance data and typic soil colour of an arid environment. Remote Sensing of Environment, 66, pp. 17-28.

Louhaichi, M., Borman, M.M., Johnson, D.E., 2001. Spatially located platform and aerial photography for documentation of grazing impacts on wheat. Geocarto International 16, 65-70.

Tucker, C.J., 1979. Red and photographic infrared linear combinations for monitoring vegetation. Remote Sensing of Environment 8, 127-150.

See Also

Wavelength ranges for overlapping digital camera bands are: red 580-670 nm, green 480-610 nm, and blue 400-520 nm (Hunt et al., 2005) http://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=2161&context=usdaarsfacpub

Examples

1
2
3
4
5
6
7
library(raster)
url <- "https://upload.wikimedia.org/wikipedia/commons/2/28/RGB_illumination.jpg"
dFile <- download.file(url, "Image.jpg")
img <- stack("Image.jpg") 
plotRGB(img)
rgbI <- rgbi(img)
plot(rgbI, col = gray(255:0/255))

gisma/robubu documentation built on May 17, 2019, 5:28 a.m.