公告:凡是在
2025 年 4 月 15 日前註冊使用 Earth Engine 的非商業專案,都必須
驗證非商業用途資格,才能繼續存取 Earth Engine。
ee.Image.unmix
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用指定端成員取消混合每個像素,方法是計算偽反矩陣,然後將每個像素乘以該矩陣。傳回雙精度浮點數的圖片,頻帶數量與端元相同。
用量 | 傳回 |
---|
Image.unmix(endmembers, sumToOne, nonNegative) | 圖片 |
引數 | 類型 | 詳細資料 |
---|
這個:image | 圖片 | 輸入圖片。 |
endmembers | 清單 | 要取消混合的端部成員。 |
sumToOne | 布林值,預設值為 false | 將輸出內容限制為總和為一。 |
nonNegative | 布林值,預設值為 false | 將輸出內容限制為非負數。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]