VisualizationOptions
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
תיאור של יצירת תצוגה חזותית של 8 ביט בפורמט RGB של הנתונים המבוקשים.
ייצוג ב-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.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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. |"]]