公告:所有在
2025 年 4 月 15 日之前注册使用 Earth Engine 的非商业项目都必须
验证是否符合非商业性质的资格条件,才能继续使用 Earth Engine。
ee.Image.unmix
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
通过计算伪逆并将其乘以每个像素,使用给定的端元对每个像素进行解混。返回一个双精度型图片,其波段数与端元数相同。
用法 | 返回 |
---|
Image.unmix(endmembers, sumToOne, nonNegative) | 图片 |
参数 | 类型 | 详细信息 |
---|
此:image | 图片 | 输入图片。 |
endmembers | 列表 | 要进行非混合的端元。 |
sumToOne | 布尔值,默认值:false | 将输出限制为总和为 1。 |
nonNegative | 布尔值,默认值:false | 将输出限制为非负数。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eUnmixes image pixels using provided endmembers to determine the proportion of each endmember present in each pixel.\u003c/p\u003e\n"],["\u003cp\u003eReturns an image where each pixel represents the fractional contribution of each endmember, with the number of bands equaling the number of endmembers.\u003c/p\u003e\n"],["\u003cp\u003eOffers optional constraints to force the output values to sum to one or to be non-negative.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an image, a list of endmembers, and optional boolean parameters for sum-to-one and non-negative constraints as input.\u003c/p\u003e\n"]]],["The core functionality is to unmix an input image's pixels using provided endmembers. This is achieved by calculating the pseudo-inverse and applying it to each pixel, resulting in an output image with bands corresponding to the number of endmembers. Optional constraints include forcing the output values to sum to one ( `sumToOne`) or be non-negative (`nonNegative`). The function takes a list of `endmembers` and the input `image` to perform this.\n"],null,["# ee.Image.unmix\n\nUnmix each pixel with the given endmembers, by computing the pseudo-inverse and multiplying it through each pixel. Returns an image of doubles with the same number of bands as endmembers.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------|---------|\n| Image.unmix`(endmembers, `*sumToOne* `, `*nonNegative*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-------------------------|-------------------------------------------|\n| this: `image` | Image | The input image. |\n| `endmembers` | List | The endmembers to unmix with. |\n| `sumToOne` | Boolean, default: false | Constrain the outputs to sum to one. |\n| `nonNegative` | Boolean, default: false | Constrain the outputs to be non-negative. |"]]