reflconv: Conversion to TOA Reflectance

Description Usage Arguments Value Author(s) References Examples

View source: R/land8tools.R

Description

Conversion to TOA reflectance of satellite data.

Usage

1
reflconv(x, Mp, Ap)

Arguments

x

Image to be converted, in matrix, data frame, or SpatialGridDataFrame format.

Mp

Band specific multiplicative rescaling factor from the metadata (MTL file) (REFLECTANCE_MULT_BAND_x, where x is the band number).

Ap

Band specific additive rescaling factor from the metadata (MTL file) (REFLECTANCE_ADD_BAND_x, where x is the band number).

Value

TOA spectral radiance.

Author(s)

Alexandre dos Santos

References

U.S. Geological Survey. 2015. Landsat 8 (L8) data users handbook. Version 1.0. 97p.

Examples

1
2
3
data(band5)
band5.dn<- as(band5, 'SpatialGridDataFrame')
band5.refl<-reflconv(band5.dn,2.0000E-05,-0.100000)

Example output



landsat8 documentation built on May 2, 2019, 9:11 a.m.

Related to reflconv in landsat8...