VisualizationOptions

  • Visualizes data as an 8-bit RGB image by mapping data values to colors.

  • Allows customization through ranges, color palettes, gamma correction, and opacity.

  • Uses JSON representation for specifying visualization parameters such as data ranges, color palettes, gamma, and opacity.

  • Provides flexibility to define data ranges for each band individually or apply a single range across all bands.

  • Enables visualization of a single data band with a custom color palette or multiple bands with black-to-white mapping based on the provided ranges.

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.