ee.ImageCollection

ImageCollections को इन आर्ग्युमेंट से बनाया जा सकता है:

  - स्ट्रिंग: यह माना जाता है कि यह किसी कलेक्शन का नाम है,

  - इमेज की सूची या ऐसी कोई भी चीज़ जिसका इस्तेमाल इमेज बनाने के लिए किया जा सकता है.

  - एक इमेज.

  - कैलकुलेट किया गया ऑब्जेक्ट - जिसे कलेक्शन के तौर पर फिर से समझा गया है.

इस्तेमालरिटर्न
ee.ImageCollection(args)ImageCollection
आर्ग्यूमेंटटाइपविवरण
argsComputedObject|Image|List<Object>|Stringकंस्ट्रक्टर के आर्ग्युमेंट.

उदाहरण

कोड एडिटर (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));

Python सेटअप

Python API के बारे में जानकारी पाने और इंटरैक्टिव डेवलपमेंट के लिए geemap का इस्तेमाल करने के लिए, Python एनवायरमेंट पेज देखें.

import ee
import geemap.core as geemap

Colab (Python)

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

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

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