ঘোষণা : 15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পিক্সেল প্রতি একটি একক অ্যারেতে প্রতিটি ব্যান্ড থেকে পিক্সেলগুলিকে সংযুক্ত করে৷ কোনো ইনপুট ব্যান্ড মাস্ক করা হলে ফলাফল মাস্ক করা হবে।
ব্যবহার
রিটার্নস
Image.toArray ( axis )
ছবি
যুক্তি
টাইপ
বিস্তারিত
এই: image
ছবি
পিক্সেল প্রতি একটি অ্যারেতে রূপান্তর করার জন্য ব্যান্ডের ছবি। ব্যান্ডে অবশ্যই স্কেলার পিক্সেল বা সমান মাত্রার অ্যারে পিক্সেল থাকতে হবে।
axis
পূর্ণসংখ্যা, ডিফল্ট: 0
বরাবর সংযুক্ত অক্ষ; কমপক্ষে 0 হতে হবে এবং ইনপুটগুলির সর্বাধিক মাত্রা হতে হবে। যদি অক্ষটি ইনপুটগুলির মাত্রার সমান হয়, তাহলে ফলাফলের ইনপুটগুলির চেয়ে 1টি বেশি মাত্রা থাকবে৷
[[["সহজে বোঝা যায়","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-24 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"]]