ee.Image.unmix
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Rozdziel każdy piksel za pomocą podanych elementów końcowych, obliczając pseudoodwrotność i mnożąc ją przez każdy piksel. Zwraca obraz liczb zmiennoprzecinkowych o takiej samej liczbie pasm jak elementy końcowe.
Wykorzystanie | Zwroty |
---|
Image.unmix(endmembers, sumToOne, nonNegative) | Obraz |
Argument | Typ | Szczegóły |
---|
to: image | Obraz | Obraz wejściowy. |
endmembers | Lista | Elementy końcowe, które mają zostać rozdzielone. |
sumToOne | Wartość logiczna, domyślnie: false | Ogranicz dane wyjściowe tak, aby ich suma wynosiła 1. |
nonNegative | Wartość logiczna, domyślnie: false | Ogranicz wyniki do wartości nieujemnych. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]