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.
UsageReturns
Image.unmix(endmembers, sumToOne, nonNegative)Image
ArgumentTypeDetails
this: imageImageThe input image.
endmembersListThe endmembers to unmix with.
sumToOneBoolean, default: falseConstrain the outputs to sum to one.
nonNegativeBoolean, default: falseConstrain the outputs to be non-negative.