VisualizationOptions
Describes how to produce an 8-bit RGB visualization of the requested data.
JSON representation |
{
"ranges": [
{
object (DoubleRange )
}
],
"paletteColors": [
string
],
"gamma": number,
"opacity": number
} |
Fields |
ranges[] |
object (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.
|
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.
|
gamma |
number
If present, specifies an overall gamma correction factor to apply to the image.
|
opacity |
number
If present, specifies an overall opacity factor to apply to the image, in the range 0.0 to 1.0.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["Visualizes data as an 8-bit RGB image by mapping data values to colors."],["Allows customization through specifying data ranges, color palettes (for single-band data), gamma correction, and opacity."],["Data ranges determine the mapping of values to a black-to-white scale, with values outside the range clamped."],["When visualizing a single band, a color palette can be used to assign specific colors to data values."],["Gamma correction and opacity factors can further adjust the visual appearance of the image."]]],["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"]]