सूचना: 15 अप्रैल, 2025 से पहले, Earth Engine का इस्तेमाल करने के लिए रजिस्टर किए गए सभी गैर-व्यावसायिक प्रोजेक्ट को, Earth Engine का ऐक्सेस बनाए रखने के लिए, गैर-व्यावसायिक इस्तेमाल की ज़रूरी शर्तों की पुष्टि करनी होगी.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
यह फ़ंक्शन, हर बैंड के पिक्सल को हर पिक्सल के हिसाब से एक ही ऐरे में जोड़ता है. अगर कोई इनपुट बैंड मास्क किया गया है, तो नतीजे को मास्क कर दिया जाएगा.
इस्तेमाल
रिटर्न
Image.toArray(axis)
इमेज
आर्ग्यूमेंट
टाइप
विवरण
यह: image
इमेज
बैंड की इमेज, जिसे हर पिक्सल के हिसाब से ऐरे में बदलना है. बैंड में स्केलर पिक्सल या एक जैसे डाइमेंशन वाले ऐरे पिक्सल होने चाहिए.
axis
पूर्णांक, डिफ़ॉल्ट: 0
जिस ऐक्सिस के साथ जोड़ना है; यह कम से कम 0 और ज़्यादा से ज़्यादा इनपुट के डाइमेंशन का होना चाहिए. अगर ऐक्सिस, इनपुट के डाइमेंशन के बराबर है, तो नतीजे में इनपुट से एक डाइमेंशन ज़्यादा होगा.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["`Image.toArray()` converts an image's band values into an array for each pixel, creating an \"array image\"."],["The optional `axis` argument controls the dimension along which the bands are concatenated in the array image."],["Array images can be displayed and inspected, with the first element of the array represented visually."],["This function enables analysis and manipulation of multi-band images by treating pixel values as arrays."]]],["The `toArray()` method concatenates pixel values from an image's bands into a single array per pixel. It takes an optional `axis` argument to specify the concatenation direction; the default is 0. The method converts the multi-band image to an array image, resulting in a single \"array\" band. If any input band has masked pixels, the resulting array will also be masked. You can use `toArray(1)` to create 2D array image or `toArray(2)` to create 3D array.\n"]]