公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.ImageCollection.or
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
通过以下方式缩减影像集合:当且仅当所有匹配波段堆栈中相应像素处的任何非掩码值不为零时,将每个像素设置为 1。系统会按名称匹配频段。
用法 | 返回 |
---|
ImageCollection.or() | 图片 |
参数 | 类型 | 详细信息 |
---|
此:collection | ImageCollection | 要缩减的图片集合。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[[["\u003cp\u003eReduces 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.\u003c/p\u003e\n"],["\u003cp\u003eBand matching across images within the collection is based on band names for pixel comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe reduction process considers only non-masked pixel values, ignoring masked areas in the input image collection.\u003c/p\u003e\n"],["\u003cp\u003eThis operation is accessible through the \u003ccode\u003eImageCollection.or()\u003c/code\u003e method and returns a single image as its output.\u003c/p\u003e\n"]]],[],null,["# ee.ImageCollection.or\n\nReduces 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.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| ImageCollection.or`()` | Image |\n\n| Argument | Type | Details |\n|--------------------|-----------------|---------------------------------|\n| this: `collection` | ImageCollection | The image collection to reduce. |"]]