ee.Image.unmix
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."],[[["Unmixes image pixels using provided endmembers to determine the proportion of each endmember present in each pixel."],["Returns an image where each pixel represents the fractional contribution of each endmember, with the number of bands equaling the number of endmembers."],["Offers optional constraints to force the output values to sum to one or to be non-negative."],["Accepts an image, a list of endmembers, and optional boolean parameters for sum-to-one and non-negative constraints as input."]]],["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"]]