VisualizationOptions
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อธิบายวิธีสร้างการแสดงข้อมูลผ่านภาพ RGB 8 บิตของข้อมูลที่ขอ
การแสดง JSON |
{
"ranges": [
{
object (DoubleRange )
}
],
"paletteColors": [
string
],
"gamma": number,
"opacity": number
} |
ช่อง |
ranges[] |
object (DoubleRange )
หากมี จะระบุช่วงของค่าข้อมูลที่จะแสดงเป็นภาพ ระบบจะแมปช่วงค่านี้กับ 0-255 (สีดําเป็นสีขาว) ในรูปภาพที่ได้ และค่าที่อยู่นอกช่วงนี้จะได้รับการจำกัด อาจระบุเป็นช่วงเดียวสําหรับแต่ละย่านความถี่ที่แสดงเป็นภาพ หรือระบุช่วงเดียวที่จะใช้กับย่านความถี่ทั้งหมดก็ได้
|
paletteColors[] |
string
(หากมี) ระบุลําดับตัวระบุสี RGB สไตล์ CSS เพื่อใช้เป็นชุดสี ใช้ได้เฉพาะเมื่อแสดงภาพแถบข้อมูลเดียว
|
gamma |
number
(หากมี) ระบุปัจจัยการแก้ไขแกมมาโดยรวมที่จะใช้กับรูปภาพ
|
opacity |
number
(หากมี) ระบุตัวคูณความทึบแสงโดยรวมที่จะใช้กับรูปภาพ ซึ่งอยู่ในช่วง 0.0 ถึง 1.0
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 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. |"]]