PyramidingPolicy
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इमेज बैंड के कम रिज़ॉल्यूशन वाले वर्शन बनाते समय इस्तेमाल किया जाने वाला एल्गोरिदम. डिफ़ॉल्ट रूप से, मास्क को इनपुट मास्क के औसत के तौर पर कैलकुलेट किया जाता है. इससे उस इनपुट डेटा का कुल वेट दिखता है जिस पर अनुरोध किए गए आउटपुट के आंकड़े कैलकुलेट किए गए थे. SAMPLE के मामले में, सैंपल किए गए पिक्सल के मास्क का सीधे तौर पर इस्तेमाल किया जाता है.
Enums |
PYRAMIDING_POLICY_UNSPECIFIED |
जानकारी नहीं दी गई है. |
MEAN |
आउटपुट पिक्सल, इनपुट पिक्सल का मास्क-वेटेड औसत होता है. इसका इस्तेमाल, सीधे तौर पर देखे गए नतीजों और तापमान जैसी लगातार बदलती मात्राओं के लिए किया जाना चाहिए. |
SAMPLE |
आउटपुट पिक्सल, ऊपर-बाईं ओर मौजूद इनपुट पिक्सल जैसा ही होता है. इसका इस्तेमाल QA/बिटमास्क बैंड या अन्य नॉन-कंटीन्यूअस फ़ील्ड के लिए किया जाना चाहिए. जैसे, पिक्सल हासिल करने की तारीख. |
MIN |
आउटपुट पिक्सल, इनपुट पिक्सल की सबसे छोटी वैल्यू होती है. |
MAX |
आउटपुट पिक्सल, इनपुट पिक्सल की सबसे बड़ी वैल्यू होती है. |
MODE |
आउटपुट पिक्सल, इनपुट पिक्सल का मास्क-वेटेड मोड होता है. इसका इस्तेमाल लैंडकवर बैंड के लिए किया जाना चाहिए. |
MEDIAN |
आउटपुट पिक्सल, इनपुट पिक्सल का मास्क-वेटेड मीडियन होता है. अगर दो वैल्यू बराबर हैं, तो बीच की दो वैल्यू का औसत इस्तेमाल किया जाता है. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को 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\u003eThe pyramiding policy determines how reduced-resolution versions of image bands are created, impacting the representation of pixel values at lower resolutions.\u003c/p\u003e\n"],["\u003cp\u003eBy default, the \u003ccode\u003eMEAN\u003c/code\u003e policy is used, calculating the output pixel as the average of input pixels, weighted by their masks, ideal for continuous data like temperature.\u003c/p\u003e\n"],["\u003cp\u003eAlternative policies like \u003ccode\u003eSAMPLE\u003c/code\u003e, \u003ccode\u003eMIN\u003c/code\u003e, \u003ccode\u003eMAX\u003c/code\u003e, \u003ccode\u003eMODE\u003c/code\u003e, and \u003ccode\u003eMEDIAN\u003c/code\u003e offer different methods for pixel value determination, catering to various data types such as QA bands, categorical data, and more.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSAMPLE\u003c/code\u003e policy directly uses the upper-left input pixel for the output, suitable for non-continuous fields like date of acquisition or QA bitmask bands.\u003c/p\u003e\n"],["\u003cp\u003eUsers can choose the most appropriate policy depending on the nature of the data and desired outcome for image reduction.\u003c/p\u003e\n"]]],[],null,["# PyramidingPolicy\n\nThe algorithm to be used when creating reduced-resolution versions of an image band. By default, the mask is computed as the MEAN of the input masks, reflecting the total weight of the input data over which the requested output statistic was calculated. In the case of SAMPLE, the sampled pixel's mask is used directly.\n\n| Enums ||\n|---------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `PYRAMIDING_POLICY_UNSPECIFIED` | Not specified. |\n| `MEAN` | Output pixel is the mask-weighted mean of the input pixels. Should be used for direct observation results and continuous quantities like temperature. |\n| `SAMPLE` | Output pixel is identical to the upper-left input pixel. Should be used for QA/bitmask bands or other non-continuous fields like date of pixel acquisition. |\n| `MIN` | Output pixel is the minimum value of the input pixels. |\n| `MAX` | Output pixel is the maximum value of the input pixels. |\n| `MODE` | Output pixel is the mask-weighted mode of the input pixels. Should be used for landcover bands. |\n| `MEDIAN` | Output pixel is the mask-weighted median of the input pixels. In case of a tie, the mean of the middle two values is used. |"]]