إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Algorithms.CannyEdgeDetector
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تطبِّق خوارزمية رصد الحواف Canny على صورة. الناتج هو صورة تحمل نطاقاتها الأسماء نفسها التي تحملها نطاقات الصورة المدخلة، وتشير فيها القيم غير الصفرية إلى الحواف، بينما يشير مقدار القيمة إلى مقدار التدرج.
الاستخدام | المرتجعات |
---|
ee.Algorithms.CannyEdgeDetector(image, threshold, sigma) | صورة |
الوسيطة | النوع | التفاصيل |
---|
image | صورة | الصورة التي سيتم تطبيق ميزة "رصد الحواف" عليها |
threshold | عدد عائم | قيمة الحدّ الأدنى لا يتم أخذ البكسل في الاعتبار لرصد الحواف إلا إذا كان مقدار التدرّج اللوني أعلى من هذا الحد. |
sigma | عدد عائم، القيمة التلقائية: 1 | قيمة سيغما لفلتر غاوسي يتم تطبيقه قبل رصد الحواف يعني الرقم 0 عدم تطبيق أي فلترة. |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eIdentifies edges within an image by calculating gradient magnitude and applying a threshold.\u003c/p\u003e\n"],["\u003cp\u003eReturns an image where non-zero values represent edges, and the magnitude of the value corresponds to the gradient magnitude.\u003c/p\u003e\n"],["\u003cp\u003eOffers customization options through a threshold for gradient magnitude and a sigma value for pre-filtering.\u003c/p\u003e\n"]]],[],null,["# ee.Algorithms.CannyEdgeDetector\n\nApplies the Canny edge detection algorithm to an image. The output is an image whose bands have the same names as the input bands, and in which non-zero values indicate edges, and the magnitude of the value is the gradient magnitude.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------|---------|\n| `ee.Algorithms.CannyEdgeDetector(image, threshold, `*sigma*`)` | Image |\n\n| Argument | Type | Details |\n|-------------|-------------------|---------------------------------------------------------------------------------------------------------------------------|\n| `image` | Image | The image on which to apply edge detection. |\n| `threshold` | Float | Threshold value. The pixel is only considered for edge detection if the gradient magnitude is higher than this threshold. |\n| `sigma` | Float, default: 1 | Sigma value for a gaussian filter applied before edge detection. 0 means apply no filtering. |"]]