Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Images and Image Collections

Output

Accessing a single Image

Clipping an image to a bounding box

Accessing an ImageCollection

Filter

Filtering is used to to get a smaller ImageCollection from a larger one. In Earth Engine, a filter can limit a large ImageCollection using a combination of criterion such as date, location, or other image characteristics, and return a smaller ImageCollection.

📌 REMINDER

  1. You can always chain and combine filters. For example, you can combine a filterDate with a filterBounds to return an ImageCollection with images that both satisfy a given date criteria AND intersect a given geometry.

  2. Chained filter operations are executed from LEFT to RIGHT.

  3. The order of the filters affect the performance/speed of the filtering especially for large and complex processing. In Earth Engine, it is good practice to order the filters with the filterBounds first, followed by metadata filters in order of decreasing specificity.

Map

When we map a function to an ImageCollection, it applies the operations to each image resulting in a processed ImageCollection as output. For example, in this exercise, we will add an EVI band to the images we filtered above.

Reduce

The last step of the Filter-Map-Reduce process is Reducing. Reducers in GEE are just functions that aggregate data.

In this example, we will get the mean value of the NDVI band for each pixel in each Image in the Image Collection and display the results.

Time-series data

Temporal filter

Aggregation

Combining images

Bands and indices

Thresholds

Masks