Conversion to TOA Reflectance

Share:

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)