公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Filter.not
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
返回输入过滤条件的相反过滤条件,即当且仅当输入过滤条件不匹配时,结果过滤条件才会匹配。
参数 | 类型 | 详细信息 |
---|
此:filter | 过滤 | Filter 实例。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis function inverts the effect of a given filter, returning a new filter that matches only when the original filter doesn't.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilter.not()\u003c/code\u003e method can be used on a Filter instance, resulting in a new Filter with the opposite matching behavior.\u003c/p\u003e\n"],["\u003cp\u003eThis method accepts one argument: the original filter instance (\u003ccode\u003ethis\u003c/code\u003e) to be negated.\u003c/p\u003e\n"]]],["The `Filter.not()` method inverts a filter's behavior. It takes a `Filter` instance as input and returns a new `Filter`. This new `Filter` will match only when the original filter does not. In essence, it reverses the matching logic of the input filter. The `this: filter` argument specifies the `Filter` instance to be inverted.\n"],null,["# ee.Filter.not\n\n\u003cbr /\u003e\n\nReturns the opposite of the input filter, i.e. the resulting filter will match if and only if the input filter doesn't match.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------|---------|\n| Filter.not`()` | Filter |\n\n| Argument | Type | Details |\n|----------------|--------|----------------------|\n| this: `filter` | Filter | The Filter instance. |"]]