ee.Image.slice
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस फ़ंक्शन की मदद से, इमेज में मौजूद बैंड के किसी ग्रुप को उसकी पोज़िशन के हिसाब से चुना जाता है.
इस्तेमाल | रिटर्न |
---|
Image.slice(start, end) | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: image | इमेज | वह इमेज जिससे बैंड चुनने हैं. |
start | पूर्णांक | चुनने की प्रोसेस कहां से शुरू करनी है. नेगेटिव नंबर, पीछे की ओर गिनती करके आखिर से चुनते हैं. |
end | पूर्णांक, डिफ़ॉल्ट: null | चुने गए टेक्स्ट का आखिरी अक्षर. अगर इसे शामिल नहीं किया जाता है, तो यह शुरुआती पोज़िशन से लेकर आखिर तक के सभी बैंड चुनता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eSelects a contiguous range of bands from a given image based on their position.\u003c/p\u003e\n"],["\u003cp\u003eUses \u003ccode\u003estart\u003c/code\u003e and optional \u003ccode\u003eend\u003c/code\u003e parameters to define the range of bands to be selected, supporting negative indexing for selecting from the end.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new Image object containing only the selected bands.\u003c/p\u003e\n"]]],["This document describes the `Image.slice` function, which extracts a subset of bands from an image. It takes two integer arguments: `start`, indicating the beginning band index (supporting negative indexing), and an optional `end` to specify the final band. If `end` is absent, it selects all bands from `start` to the end. The function returns a new `Image` object containing the selected contiguous bands.\n"],null,["# ee.Image.slice\n\nSelects a contiguous group of bands from an image by position.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------|---------|\n| Image.slice`(start, `*end*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|------------------------|-----------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image from which to select bands. |\n| `start` | Integer | Where to start the selection. Negative numbers select from the end, counting backwards. |\n| `end` | Integer, default: null | Where to end the selection. If omitted, selects all bands from the start position to the end. |"]]