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: imageImage

The input image.

endmembersList

The endmembers to unmix with.

sumToOneBoolean, default: false

Constrain the outputs to sum to one.

nonNegativeBoolean, default: false

Constrain the outputs to be non-negative.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!