ee.Image.cluster
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इमेज पर क्लस्टरर लागू करता है. यह 0 से N तक की वैल्यू वाला एक बैंड दिखाता है. इससे पता चलता है कि हर पिक्सल को कौनसा क्लस्टर असाइन किया गया है.
इस्तेमाल | रिटर्न |
---|
Image.cluster(clusterer, outputName) | इमेज |
आर्ग्यूमेंट | टाइप | विवरण |
---|
यह: image | इमेज | क्लस्टर करने के लिए इमेज. इसमें क्लस्टरर के स्कीमा के सभी बैंड शामिल होने चाहिए. |
clusterer | क्लस्टरर | इस्तेमाल किया जाने वाला क्लस्टरर. |
outputName | स्ट्रिंग, डिफ़ॉल्ट: "cluster" | आउटपुट बैंड का नाम. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eApplies a provided clusterer to an image, assigning each pixel to a cluster.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new single-band image where pixel values (0 to N) represent their assigned cluster.\u003c/p\u003e\n"],["\u003cp\u003eRequires an input image containing all bands specified in the clusterer's schema.\u003c/p\u003e\n"],["\u003cp\u003eUsers can specify the name of the output band containing cluster assignments.\u003c/p\u003e\n"]]],[],null,["# ee.Image.cluster\n\nApplies a clusterer to an image. Returns a new image with a single band containing values from 0 to N, indicating the cluster each pixel is assigned to.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------------------------|---------|\n| Image.cluster`(clusterer, `*outputName*`)` | Image |\n\n| Argument | Type | Details |\n|---------------|----------------------------|-----------------------------------------------------------------------------|\n| this: `image` | Image | The image to cluster. Must contain all the bands in the clusterer's schema. |\n| `clusterer` | Clusterer | The clusterer to use. |\n| `outputName` | String, default: \"cluster\" | The name of the output band. |"]]