ee.Algorithms.CannyEdgeDetector
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी इमेज पर, Canny Edge Detection एल्गोरिदम लागू करता है. आउटपुट के तौर पर मिली इमेज के बैंड के नाम, इनपुट बैंड के नाम के जैसे ही होते हैं. इसमें शून्य से अलग वैल्यू, किनारों को दिखाती हैं. साथ ही, वैल्यू का मैग्नीट्यूड, ग्रेडिएंट मैग्नीट्यूड होता है.
इस्तेमाल | रिटर्न |
---|
ee.Algorithms.CannyEdgeDetector(image, threshold, sigma) | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
image | इमेज | वह इमेज जिस पर किनारों का पता लगाने की सुविधा लागू करनी है. |
threshold | फ़्लोट | थ्रेशोल्ड वैल्यू. अगर ग्रेडिएंट मैग्निट्यूड, इस थ्रेशोल्ड से ज़्यादा है, तो पिक्सल को सिर्फ़ किनारे का पता लगाने के लिए इस्तेमाल किया जाता है. |
sigma | फ़्लोट, डिफ़ॉल्ट: 1 | किनारे का पता लगाने से पहले, गॉसियन फ़िल्टर के लिए सिग्मा वैल्यू. 0 का मतलब है कि कोई फ़िल्टर लागू नहीं किया गया है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["\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. |"]]