Creates an array image where each array-valued pixel is masked with another array-valued pixel, retaining only the elements where the mask is non-zero. If the mask image has one band it will be applied to all the bands of 'input', otherwise they must have the same number of bands.
Usage | Returns |
---|---|
Image.arrayMask(mask) | Image |
Argument | Type | Details |
---|---|---|
this: input | Image | Array image to mask. |
mask | Image | Array image to mask with. |
Examples
JavaScript
// Your example goes here!
Python
# Your example goes here!