ee_extra.Spectral.core.tasseledCap#
- ee_extra.Spectral.core.tasseledCap(x)[source]#
Calculates tasseled cap brightness, wetness, and greenness components for an image or image collection.
Tasseled cap transformations are applied using coefficients published for these supported platforms:
Sentinel-2 MSI Level 1C [1]
Landsat 9 OLI-2 SR [2]
Landsat 9 OLI-2 TOA [2]
Landsat 8 OLI SR [2]
Landsat 8 OLI TOA [2]
Landsat 7 ETM+ TOA [3]
Landsat 5 TM Raw DN [4]
Landsat 4 TM Raw DN [5]
Landsat 4 TM Surface Reflectance [6]
MODIS NBAR [7]
- Parameters:
x (
Union
[Image
,ImageCollection
]) – Image or Image Collection to calculate tasseled cap components for. Must belong to a supported platform.- Return type:
Union
[Image
,ImageCollection
]- Returns:
Image or Image Collection with the tasseled cap components as new bands.
References
Examples
>>> import ee >>> from ee_extra.Spectral.core import tasseledCap >>> ee.Initialize() >>> img = ee.Image("LANDSAT/LT05/C01/T1/LT05_044034_20081011") >>> img = tasseledCap(img)