geetools.composite.medoid#
- geetools.composite.medoid(collection, bands=None, discard_zeros=False)#
Medoid Composite. Adapted from https://www.mdpi.com/2072-4292/5/12/6481.
- Parameters:
collection (ee.ImageCollection) – the collection to composite
bands (list) – the bands to use for computation. The composite will include all bands
discard_zeros (bool) – Masked and pixels with value zero will not be use for computation. Improves dark zones.
- Returns:
the Medoid Composite
- Return type:
ee.Image