Stay organized with collections
Save and categorize content based on your preferences.
For each band, an output band of the same name is created with the value at the given position extracted from the input multidimensional pixel in that band.
Usage
Returns
Image.arrayGet(position)
Image
Argument
Type
Details
this: image
Image
Array to get an element from.
position
Image
The coordinates of the element to get. There must be as many scalar bands as there are dimensions in the input image.
[[["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."],[[["`arrayGet` extracts a single value from a specific position within a multidimensional array image, creating a new image band containing that value."],["The position within the array is specified using an Image where each band represents the index along a different dimension of the array."],["The output image has the same name as the input band and contains the extracted value at the specified position for each pixel."],["This function is useful for accessing individual elements or slices of data within a larger array structure."]]],[]]