eemont.image.scaleAndOffset¶
- eemont.image.scaleAndOffset(self)[source]¶
Scales bands on an image according to their scale and offset parameters.
Tip
Check more info about the supported platforms and image scaling the User Guide.
- Parameters
self (ee.Image [this]) – Image to scale.
- Returns
Scaled image.
- Return type
ee.Image
See also
getScaleParams
Gets the scale parameters for each band of the image.
getOffsetParams
Gets the offset parameters for each band of the image.
Examples
>>> import ee, eemont >>> ee.Authenticate() >>> ee.Initialize() >>> S2 = ee.ImageCollection('COPERNICUS/S2_SR').first().scaleAndOffset()