ee.ImageCollection

Stay organized with collections Save and categorize content based on your preferences.

ImageCollections can be constructed from the following arguments:

  - A string: assumed to be the name of a collection,

  - A list of images, or anything that can be used to construct an image.

  - A single image.

  - A computed object - reinterpreted as a collection.

UsageReturns
ee.ImageCollection(args)ImageCollection
ArgumentTypeDetails
argsComputedObject|Image|ListThe constructor arguments.

Examples

Code Editor (JavaScript)

print('Image collection from a string',
      ee.ImageCollection('COPERNICUS/S2_SR').limit(3));

var img1 = ee.Image('COPERNICUS/S2_SR/20170328T083601_20170328T084228_T35RNK');
var img2 = ee.Image('COPERNICUS/S2_SR/20170328T083601_20170328T084228_T35RNL');
var img3 = ee.Image('COPERNICUS/S2_SR/20170328T083601_20170328T084228_T35RNM');
print('Image collection from a list of images',
      ee.ImageCollection([img1, img2, img3]));

print('Image collection from a single image',
      ee.ImageCollection(img1));