إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Image.spectralDilation
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تحسب هذه الدالة التمدد الطيفي/المكاني للصورة من خلال حساب المسافة الطيفية لكل بكسل ضمن نواة هيكلية من النقطة المركزية لجميع وحدات البكسل ضمن النواة، ثم تأخذ النتيجة الأبعد. راجِع "استخراج الأعضاء النهائية المكانية/الطيفية من خلال العمليات الشكلية المتعددة الأبعاد". IEEE transactions on geoscience and remote sensing 40.9 (2002): 2025-2041.
الاستخدام | المرتجعات |
---|
Image.spectralDilation(metric, kernel, useCentroid) | صورة |
الوسيطة | النوع | التفاصيل |
---|
هذا: image | صورة | الصورة المدخَلة |
metric | سلسلة، القيمة التلقائية: "sam" | مقياس المسافة الطيفية المطلوب استخدامه يجب أن تكون إحدى القيم التالية: "sam" (spectral angle mapper) أو "sid" (spectral information divergence) أو "sed" (squared Euclidean distance) أو "emd" (earth movers distance). |
kernel | النواة، القيمة التلقائية: null | نواة الاتصال القيمة التلقائية هي مربّع بنصف قطر 1 (متصل بـ 8 اتجاهات). |
useCentroid | قيمة منطقية، القيمة التلقائية: false | إذا كانت القيمة "صحيح"، يتم احتساب المسافات من متوسط جميع وحدات البكسل ضمن النواة بدلاً من وحدة البكسل المركزية للنواة. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eComputes the spectral/spatial dilation of an image based on the spectral distance of pixels within a kernel.\u003c/p\u003e\n"],["\u003cp\u003eUses a specified spectral distance metric (SAM, SID, SED, or EMD) to calculate distances.\u003c/p\u003e\n"],["\u003cp\u003eOffers options to define the kernel shape and whether to use the centroid or center pixel for distance calculations.\u003c/p\u003e\n"],["\u003cp\u003eOutputs an image representing the spectral dilation result.\u003c/p\u003e\n"]]],[],null,["# ee.Image.spectralDilation\n\nComputes the spectral/spatial dilation of an image by computing the spectral distance of each pixel under a structuring kernel from the centroid of all pixels under the kernel and taking the most distant result. See 'Spatial/spectral endmember extraction by multidimensional morphological operations.' IEEE transactions on geoscience and remote sensing 40.9 (2002): 2025-2041.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------------------------------------------------|---------|\n| Image.spectralDilation`(`*metric* `, `*kernel* `, `*useCentroid*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `metric` | String, default: \"sam\" | The spectral distance metric to use. One of 'sam' (spectral angle mapper), 'sid' (spectral information divergence), 'sed' (squared Euclidean distance), or 'emd' (earth movers distance). |\n| `kernel` | Kernel, default: null | Connectedness kernel. Defaults to a square of radius 1 (8-way connected). |\n| `useCentroid` | Boolean, default: false | If true, distances are computed from the mean of all pixels under the kernel instead of the kernel's center pixel. |"]]