ee.Image.medialAxis
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह नोड, इनपुट इमेज के पहले बैंड के शून्य वैल्यू वाले पिक्सल के डिसक्रीट मीडियल ऐक्सिस की गणना करता है. इससे चार बैंड मिलते हैं:
मीडियल - मीडियल ऐक्सिस पॉइंट, दूरी के हिसाब से स्केल किए जाते हैं.
कवरेज - हर मीडियल ऐक्सिस पॉइंट के साथ काम करने वाले पॉइंट की संख्या.
xlabel - यह हर पिक्सल के लिए, पावर पॉइंट से हॉरिज़ॉन्टल दूरी होती है.
ylabel - हर पिक्सल के लिए, पावर पॉइंट से वर्टिकल दूरी.
इस्तेमाल | रिटर्न |
---|
Image.medialAxis(neighborhood, units) | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: image | इमेज | इनपुट इमेज. |
neighborhood | पूर्णांक, डिफ़ॉल्ट: 256 | पिक्सल में आस-पास के पिक्सल का साइज़. |
units | स्ट्रिंग, डिफ़ॉल्ट: "pixels" | फ़िलहाल, सिर्फ़ 'पिक्सल' को आस-पास की इकाइयों के तौर पर इस्तेमाल किया जा सकता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eComputes the discrete medial axis transform of the zero-valued pixels in the first band of an image.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a 4-band image representing medial axis points, their support, and distances to power points.\u003c/p\u003e\n"],["\u003cp\u003eAccepts an input image, neighborhood size, and units as parameters for customization.\u003c/p\u003e\n"]]],["This function calculates the discrete medial axis of an image's zero-valued pixels. It returns an image with four bands: `medial` (medial axis points scaled by distance), `coverage` (number of supporting points), `xlabel` (horizontal distance to the power point), and `ylabel` (vertical distance to the power point). The function accepts an input image, neighborhood size (default: 256 pixels), and units (only 'pixels' supported). It is called using `Image.medialAxis()`.\n"],null,["# ee.Image.medialAxis\n\nComputes the discrete medial axis of the zero valued pixels of the first band of the input. Outputs 4 bands:\n\n\u003cbr /\u003e\n\nmedial - the medial axis points, scaled by the distance.\n\ncoverage - the number of points supporting each medial axis point.\n\nxlabel - the horizontal distance to the power point for each pixel.\n\nylabel - the vertical distance to the power point for each pixel.\n\n| Usage | Returns |\n|--------------------------------------------------|---------|\n| Image.medialAxis`(`*neighborhood* `, `*units*`)` | Image |\n\n| Argument | Type | Details |\n|----------------|---------------------------|-----------------------------------------------------------------------|\n| this: `image` | Image | The input image. |\n| `neighborhood` | Integer, default: 256 | Neighborhood size in pixels. |\n| `units` | String, default: \"pixels\" | The units of the neighborhood, currently only 'pixels' are supported. |"]]