Stay organized with collections Save and categorize content based on your preferences.
Reduces elements of each array pixel.

Image.arrayReduce(reducer, axes, fieldAxis)Image
this: inputImageInput image.
reducerReducerThe reducer to apply
axesListThe list of array axes to reduce in each pixel. The output will have a length of 1 in all these axes.
fieldAxisInteger, default: nullThe axis for the reducer's input and output fields. Only required if the reducer has multiple inputs or outputs.