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\u003e\u003ccode\u003eranges\u003c/code\u003e defines the data value range for visualization, mapping values to 0-255 (black to white).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003epaletteColors\u003c/code\u003e applies a color palette for single-band visualization using CSS-style RGB identifiers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egamma\u003c/code\u003e and \u003ccode\u003eopacity\u003c/code\u003e control the overall image appearance by adjusting gamma correction and transparency, respectively.\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/v1/DoubleRange) } ], \"paletteColors\": [ string ], \"gamma\": number, \"opacity\": number } ``` |\n\n| Fields ||\n|-------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ranges[]` | `object (`[DoubleRange](/earth-engine/reference/rest/v1/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. |"]]