eemont.image.preprocess¶
- eemont.image.preprocess(self, **kwargs)[source]¶
Pre-processes the image: masks clouds and shadows, and scales and offsets the image.
Tip
Check more info here about the supported platforms, Image Scaling and Masking Clouds and Shadows.
- Parameters
self (ee.Image [this]) – Image to pre-process.
**kwargs – Keywords arguments for maskClouds().
- Returns
Pre-processed 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.
scaleAndOffset
Scales bands on an image according to their scale and offset parameters.
maskClouds
Masks clouds and shadows in an image.
Examples
>>> import ee, eemont >>> ee.Authenticate() >>> ee.Initialize() >>> S2 = ee.ImageCollection('COPERNICUS/S2_SR').first().preprocess()