Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Image.unmix
Stay organized with collections
Save and categorize content based on your preferences.
Unmix 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.
Usage | Returns | Image.unmix(endmembers, sumToOne, nonNegative) | Image |
Argument | Type | Details | this: image | Image | The input image. |
endmembers | List | The endmembers to unmix with. |
sumToOne | Boolean, default: false | Constrain the outputs to sum to one. |
nonNegative | Boolean, default: false | Constrain the outputs to be non-negative. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 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. |"]]