ee.ImageCollection.or
Reduces an image collection by setting each pixel to 1 if and only if any of the non-masked values at that pixel are non-zero across the stack of all matching bands. Bands are matched by name.
Usage | Returns | ImageCollection.or() | Image |
Argument | Type | Details | this: collection | ImageCollection | The image collection to reduce. |
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-06-05 UTC.
[null,null,["Last updated 2024-06-05 UTC."],[[["Reduces an image collection to a single image where pixels are set to 1 if any corresponding non-masked pixel in the collection is non-zero."],["Band matching across images within the collection is based on band names for pixel comparison."],["The reduction process considers only non-masked pixel values, ignoring masked areas in the input image collection."],["This operation is accessible through the `ImageCollection.or()` method and returns a single image as its output."]]],[]]