إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Image.slice
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تختار هذه الدالة مجموعة متجاورة من النطاقات من صورة حسب الموضع.
الاستخدام | المرتجعات |
---|
Image.slice(start, end) | صورة |
الوسيطة | النوع | التفاصيل |
---|
هذا: image | صورة | الصورة التي سيتم اختيار النطاقات منها. |
start | عدد صحيح | تُستخدَم لتحديد موضع بداية التحديد. تختار الأرقام السالبة من النهاية، مع العدّ للخلف. |
end | عدد صحيح، القيمة التلقائية: null | المكان الذي سينتهي فيه التحديد في حال عدم تحديدها، يتم اختيار جميع النطاقات من موضع البداية إلى النهاية. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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. |"]]