إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Image.focalMedian
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تطبِّق هذه الدالة فلتر reducer() مورفولوجيًا على كل نطاق من الصورة باستخدام نواة مُسمّاة أو مخصّصة.
الاستخدام | المرتجعات |
---|
Image.focalMedian(radius, kernelType, units, iterations, kernel) | صورة |
الوسيطة | النوع | التفاصيل |
---|
هذا: image | صورة | الصورة التي سيتم تطبيق العمليات عليها. |
radius | العدد العائم، القيمة التلقائية: 1.5 | تمثّل هذه السمة نصف قطر النواة المطلوب استخدامه. |
kernelType | سلسلة، القيمة التلقائية: "circle" | نوع النواة المطلوب استخدامه. تشمل الخيارات: "دائرة" و"مربّع" و"تقاطع" و"زائد" و"مثمّن" و"معيّن". |
units | سلسلة، القيمة التلقائية: "بكسل" | في حال عدم تحديد نواة، يحدّد هذا الإعداد ما إذا كانت النواة بالمتر أو بالبكسل. |
iterations | عدد صحيح، القيمة التلقائية: 1 | عدد المرات التي سيتم فيها تطبيق النواة المحدّدة. |
kernel | النواة، القيمة التلقائية: null | نظام تشغيل مخصّص في حال استخدامها، يتم تجاهل kernelType وradius. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eApplies a morphological reducer filter to each band of an image using a kernel.\u003c/p\u003e\n"],["\u003cp\u003eOffers options for kernel type including circle, square, cross, plus, octagon, and diamond, or allows for a custom kernel.\u003c/p\u003e\n"],["\u003cp\u003eThe radius of the kernel, units (pixels or meters), and number of iterations can be specified.\u003c/p\u003e\n"],["\u003cp\u003eThe filter is applied using the \u003ccode\u003efocalMedian()\u003c/code\u003e function, accepting arguments for radius, kernel type, units, iterations, and a custom kernel if desired.\u003c/p\u003e\n"]]],[],null,["# ee.Image.focalMedian\n\nApplies a morphological reducer() filter to each band of an image using a named or custom kernel.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------------------------------------------------------|---------|\n| Image.focalMedian`(`*radius* `, `*kernelType* `, `*units* `, `*iterations* `, `*kernel*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|---------------------------|------------------------------------------------------------------------------------------------------------|\n| this: `image` | Image | The image to which to apply the operations. |\n| `radius` | Float, default: 1.5 | The radius of the kernel to use. |\n| `kernelType` | String, default: \"circle\" | The type of kernel to use. Options include: 'circle', 'square', 'cross', 'plus', 'octagon', and 'diamond'. |\n| `units` | String, default: \"pixels\" | If a kernel is not specified, this determines whether the kernel is in meters or pixels. |\n| `iterations` | Integer, default: 1 | The number of times to apply the given kernel. |\n| `kernel` | Kernel, default: null | A custom kernel. If used, kernelType and radius are ignored. |"]]