ee.Image.unmix
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Phân tách từng pixel bằng các thành phần cuối đã cho, bằng cách tính toán nghịch đảo giả và nhân nó với từng pixel. Trả về một hình ảnh gồm các số thực có cùng số lượng dải như thành phần cuối.
Cách sử dụng | Giá trị trả về |
---|
Image.unmix(endmembers, sumToOne, nonNegative) | Hình ảnh |
Đối số | Loại | Thông tin chi tiết |
---|
this: image | Hình ảnh | Hình ảnh đầu vào. |
endmembers | Danh sách | Các thành phần cuối cần tách. |
sumToOne | Boolean, mặc định: false | Hạn chế các đầu ra để tổng bằng 1. |
nonNegative | Boolean, mặc định: false | Hạn chế các đầu ra không được là số âm. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\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. |"]]