VisualizationOptions
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
अनुरोध किए गए डेटा का 8-बिट आरजीबी विज़ुअलाइज़ेशन बनाने का तरीका बताता है.
JSON के काेड में दिखाना |
{
"ranges": [
{
object (DoubleRange )
}
],
"paletteColors": [
string
],
"gamma": number,
"opacity": number
} |
फ़ील्ड |
ranges[] |
object (DoubleRange )
अगर यह मौजूद है, तो विज़ुअलाइज़ करने के लिए डेटा वैल्यू की रेंज तय करता है. वैल्यू की इस रेंज को, नतीजे वाली इमेज में 0 से 255 (काले से सफ़ेद) पर मैप किया जाएगा. साथ ही, इस रेंज से बाहर की वैल्यू को क्लैंप किया जाएगा. विज़ुअलाइज़ किए जा रहे हर बैंड के लिए एक रेंज तय की जा सकती है या सभी बैंड पर लागू होने वाली एक रेंज तय की जा सकती है.
|
paletteColors[] |
string
अगर मौजूद है, तो कलर पैलेट के तौर पर लागू करने के लिए, सीएसएस स्टाइल के आरजीबी कलर आइडेंटिफ़ायर का क्रम तय करता है. सिर्फ़ एक डेटा बैंड को विज़ुअलाइज़ करते समय ही इस्तेमाल किया जा सकता है.
|
gamma |
number
अगर यह मौजूद है, तो इमेज पर लागू करने के लिए, गैमा सुधार फ़ैक्टर की पूरी जानकारी देता है.
|
opacity |
number
अगर यह मौजूद है, तो इमेज पर लागू होने वाला ओपैसिटी फ़ैक्टर बताता है. यह 0.0 से 1.0 के बीच होता है.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eVisualizes data as an 8-bit RGB image by mapping data values to colors.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization through ranges, color palettes, gamma correction, and opacity.\u003c/p\u003e\n"],["\u003cp\u003eUses JSON representation for specifying visualization parameters such as data ranges, color palettes, gamma, and opacity.\u003c/p\u003e\n"],["\u003cp\u003eProvides flexibility to define data ranges for each band individually or apply a single range across all bands.\u003c/p\u003e\n"],["\u003cp\u003eEnables visualization of a single data band with a custom color palette or multiple bands with black-to-white mapping based on the provided ranges.\u003c/p\u003e\n"]]],[],null,["# VisualizationOptions\n\nDescribes how to produce an 8-bit RGB visualization of the requested data.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"ranges\": [ { object (/earth-engine/reference/rest/v1beta/DoubleRange) } ], \"paletteColors\": [ string ], \"gamma\": number, \"opacity\": number } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ranges[]` | `object (`[DoubleRange](/earth-engine/reference/rest/v1beta/DoubleRange)`)` If present, specifies the range of data values to visualize. This range of values will be mapped to 0-255 (black to white) in the resulting image, and values outside this range will be clamped. May specify as one range for each band being visualized or else a single range to be applied to all bands. |\n| `paletteColors[]` | `string` If present, specifies sequence of CSS-style RGB color identifiers to apply as a color palette. Only allowed when visualizing a single data band. |\n| `gamma` | `number` If present, specifies an overall gamma correction factor to apply to the image. |\n| `opacity` | `number` If present, specifies an overall opacity factor to apply to the image, in the range 0.0 to 1.0. |"]]