إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
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.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eVisualizes data as an 8-bit RGB image by mapping data values to colors.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization through specifying data ranges, color palettes (for single-band data), gamma correction, and opacity.\u003c/p\u003e\n"],["\u003cp\u003eData ranges determine the mapping of values to a black-to-white scale, with values outside the range clamped.\u003c/p\u003e\n"],["\u003cp\u003eWhen visualizing a single band, a color palette can be used to assign specific colors to data values.\u003c/p\u003e\n"],["\u003cp\u003eGamma correction and opacity factors can further adjust the visual appearance of the image.\u003c/p\u003e\n"]]],["The provided information outlines parameters for creating an 8-bit RGB visualization. Key actions include specifying data value ranges via `ranges`, which map to a 0-255 scale. A color palette (`paletteColors`) can be set for single-band visualizations. `Gamma` adjusts overall image correction, and `opacity` controls transparency, with values from 0.0 to 1.0. These parameters allow control over how data is visually represented.\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/v1alpha/DoubleRange) } ], \"paletteColors\": [ string ], \"gamma\": number, \"opacity\": number } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ranges[]` | `object (`[DoubleRange](/earth-engine/reference/rest/v1alpha/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. |"]]