تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
يستخرج هذا المشغّل منطقة مستطيلة من وحدات البكسل من صورة إلى مصفوفة ND لكل نطاق. يتم عرض المصفوفات في عنصر يحتفظ بالخصائص نفسها الخاصة بالصورة وشكل هندسي مطابق للشكل الهندسي المستخدَم لأخذ عينات من الصورة (أو بصمة الصورة إذا لم يتم تحديدها). يتم أخذ عيّنات من كل نطاق في إسقاط الإدخال الخاص به، وإذا لم يتم تحديد أي شكل هندسي، يتم أخذ العيّنات باستخدام مساحة التغطية. بالنسبة إلى النطاقات العددية، يكون صفيف الإخراج ثنائي الأبعاد. بالنسبة إلى نطاقات المصفوفة، تكون مصفوفة الإخراج (2+N)D حيث N هو عدد الأبعاد في النطاق الأصلي. في حال أخذ عيّنات من نطاقات مصفوفات، يجب أن تحتوي جميع المصفوفات على العدد نفسه من العناصر. إذا كان الجزء الذي تم أخذ عيّنات منه من النطاق محجوبًا بالكامل وتم تحديد قيمة تلقائية للمصفوفة، يتم استخدام قيمة المصفوفة التلقائية بدلاً من أخذ عيّنات من الصورة.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[[["يسهُل فهم المحتوى.","easyToUnderstand","thumb-up"],["ساعَدني المحتوى في حلّ مشكلتي.","solvedMyProblem","thumb-up"],["غير ذلك","otherUp","thumb-up"]],[["لا يحتوي على المعلومات التي أحتاج إليها.","missingTheInformationINeed","thumb-down"],["الخطوات معقدة للغاية / كثيرة جدًا.","tooComplicatedTooManySteps","thumb-down"],["المحتوى قديم.","outOfDate","thumb-down"],["ثمة مشكلة في الترجمة.","translationIssue","thumb-down"],["مشكلة في العيّنات / التعليمات البرمجية","samplesCodeIssue","thumb-down"],["غير ذلك","otherDown","thumb-down"]],["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["`sampleRectangle` extracts a rectangular region of pixels from a specified image into a multidimensional array for each band, preserving the image's original properties."],["The extracted region is defined by a geometry or defaults to the image's footprint, with each band sampled in its native projection."],["Output arrays are 2D for scalar bands and (2+N)D for array bands, where N represents the original band's dimensions, utilizing default values for masked or out-of-bounds pixels if provided."],["Users can customize the properties carried over from the original image and specify default values for masked or out-of-bounds pixel values."]]],["It extracts a rectangular pixel region from an image into an ND array per band, returning a feature with the same properties and geometry as the input. Bands are sampled in their input projection using a specified region or the image footprint. Output arrays are 2D for scalar bands and (2+N)D for array bands. If a sampled region is entirely masked, a specified default value or array is used. Properties from the image can be copied.\n"]]