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\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. |"]]