Stay organized with collections
Save and categorize content based on your preferences.
To reduce an Image, use image.reduce(). Reducing an image
functions in an analogous way to imageCollection.reduce(), except the
bands of the image are input to the reducer rather than the images in the collection. The
output is also an image with number of bands equal to number of reducer outputs. For
example:
[[["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."],[[["`image.reduce()` processes an image's bands with a reducer, similar to how `imageCollection.reduce()` processes images in a collection."],["It outputs a new image with band count equal to the reducer's output count, for instance, using `ee.Reducer.max()` results in a single-band image with the maximum value across the input bands."],["The provided code demonstrates reducing a Landsat 8 image to a single-band image representing the maximum value across selected bands (B4, B3, B2)."]]],[]]