preprocess#
- geetools.ee_image_collection.ImageCollectionAccessor.preprocess(**kwargs)#
Pre-processes the image: masks clouds and shadows, and scales and offsets the image collection.
- Parameters:
**kwargs – Keywords arguments for
ee.ImageCollection.geetools.maskCloudsmethod.- Returns:
Pre-processed image.
- Return type:
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 each image of an :py:class:`ee.ImageCollection` (valid just for Surface Reflectance products).
Examples
import ee import geetools ee.Initialize() S2 = ee.ImageCollection('COPERNICUS/S2_SR').preprocess()