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
getScaleParamsGets the scale parameters for each band of the image.
getOffsetParamsGets the offset parameters for each band of the image.
scaleAndOffsetScales bands on an image according to their scale and offset parameters.
maskCloudsMasks clouds and shadows in an image.
Examples
>>> import ee, eemont >>> ee.Authenticate() >>> ee.Initialize() >>> S2 = ee.ImageCollection('COPERNICUS/S2_SR').first().preprocess()