ee.Reducer.forEachBand
Creates a Reducer by combining a copy of the given reducer for each band in the given image using the band names as output names.
Usage | Returns |
---|
Reducer.forEachBand(image) | Reducer |
Argument | Type | Details |
---|
this: reducer | Reducer | |
image | Image | |
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-09-19 UTC.
[null,null,["Last updated 2024-09-19 UTC."],[[["Creates a reducer that processes each band of an image separately."],["Output reducer uses the original band names for the output bands."],["`forEachBand` takes an image as input and applies the reducer to each band."],["The method can be called on an existing reducer object."]]],[]]