ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Reducer.fixed2DHistogram
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি রিডুসার তৈরি করে যা নির্দিষ্ট সংখ্যক ফিক্সড-প্রস্থ বিন ব্যবহার করে ইনপুটগুলির একটি 2D হিস্টোগ্রাম গণনা করবে। উভয় অক্ষের [মিনিট, সর্বোচ্চ) সীমার বাইরের মানগুলি উপেক্ষা করা হয়৷ আউটপুট হল গণনার একটি 2D অ্যারে এবং xAxis এবং yAxis-এর জন্য বালতির নীচের প্রান্তগুলির 2 1-D অ্যারে। এই রিডুসার প্রতি-পিক্সেল ব্যবহারের জন্য উপযুক্ত, তবে এটি সর্বদা ওজনহীন। যেকোনো বালতির জন্য সর্বাধিক গণনা হল 2^31 - 1।
ব্যবহার | রিটার্নস | ee.Reducer.fixed2DHistogram(xMin, xMax, xSteps, yMin, yMax, ySteps) | হ্রাসকারী |
যুক্তি | টাইপ | বিস্তারিত | xMin | ভাসা | X অক্ষের প্রথম বালতির নিম্ন (অন্তর্ভুক্ত) আবদ্ধ। |
xMax | ভাসা | X অক্ষের শেষ বালতির উপরের (একচেটিয়া) আবদ্ধ। |
xSteps | পূর্ণসংখ্যা | X অক্ষে ব্যবহার করার জন্য বালতির সংখ্যা। |
yMin | ভাসা | Y অক্ষের প্রথম বালতির নিচের (অন্তর্ভুক্ত) আবদ্ধ। |
yMax | ভাসা | Y অক্ষের শেষ বালতির উপরের (একচেটিয়া) আবদ্ধ। |
ySteps | পূর্ণসংখ্যা | Y অক্ষে ব্যবহার করার জন্য বালতি সংখ্যা। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCreates a 2D histogram with a fixed number of bins for analyzing data distribution across two dimensions.\u003c/p\u003e\n"],["\u003cp\u003eIgnores values outside the defined range on either axis and limits the maximum count per bucket to 2^31 - 1.\u003c/p\u003e\n"],["\u003cp\u003eOutputs a 2D array of counts, along with 1D arrays for the x and y axis bucket boundaries.\u003c/p\u003e\n"],["\u003cp\u003eSuitable for per-pixel use but doesn't incorporate weighting.\u003c/p\u003e\n"],["\u003cp\u003eRequires specifying the range and number of bins for both x and y axes using the \u003ccode\u003eee.Reducer.fixed2DHistogram\u003c/code\u003e function.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.fixed2DHistogram\n\nCreates a reducer that will compute a 2D histogram of the inputs using a fixed number of fixed-width bins. Values outside of the \\[min, max) range on either axis are ignored. The output is a 2D array of counts, and 2 1-D arrays of bucket lower edges for the xAxis and the yAxis. This reducer is suitable for use per-pixel, however it is always unweighted. The maximum count for any bucket is 2\\^31 - 1.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------------------------------------------------------|---------|\n| `ee.Reducer.fixed2DHistogram(xMin, xMax, xSteps, yMin, yMax, ySteps)` | Reducer |\n\n| Argument | Type | Details |\n|----------|---------|----------------------------------------------------------------|\n| `xMin` | Float | The lower (inclusive) bound of the first bucket on the X axis. |\n| `xMax` | Float | The upper (exclusive) bound of the last bucket on the X axis. |\n| `xSteps` | Integer | The number of buckets to use on the X axis. |\n| `yMin` | Float | The lower (inclusive) bound of the first bucket on the Y axis. |\n| `yMax` | Float | The upper (exclusive) bound of the last bucket on the Y axis. |\n| `ySteps` | Integer | The number of buckets to use on the Y axis. |"]]