ee.Reducer.max
Creates a reducer that outputs the maximum value of its (first) input. If numInputs is greater than one, also outputs the corresponding values of the additional inputs.
Usage | Returns | ee.Reducer.max(numInputs) | Reducer |
Argument | Type | Details | numInputs | Integer, default: 1 | The number of inputs. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["This reducer determines the maximum value of its primary input."],["If specified with `numInputs` greater than 1, it also returns the corresponding values from the other input bands at the location of the maximum value."],["Use `ee.Reducer.max()` to create an instance of this reducer, optionally specifying the number of inputs to consider."]]],[]]