ee.Image.reduce

Applies a reducer to all of the bands of an image.

The reducer must have a single input and will be called at each pixel to reduce the stack of band values.

The output image will have one band for each reducer output.

UsageReturns
Image.reduce(reducer)Image
ArgumentTypeDetails
this: imageImage

The image to reduce.

reducerReducer

The reducer to apply to the given image.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!