Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["`arrayMask` creates a masked array image by retaining elements where the mask image is non-zero."],["It can be applied to 1D or 2D array images, using either single-band or multi-band masks."],["If the mask has one band, it's applied to all bands of the input array image; otherwise, they must have the same number of bands."],["The masking operation effectively filters out array elements corresponding to zero values in the mask."],["This function is useful for selectively manipulating or analyzing specific elements within array images."]]],[]]