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 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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. |"]]