browser-image
    Preparing search index...

    ol/layer/WebGLTile that corrects the drawn map on the GPU with the pipeline of its EnhancedGeoTIFF source (created with correctTiles: false), or of its correction over any other tile source. Without WebGL2 it draws the tiles as read.

    Hierarchy

    • WebGLTileLayer
      • GpuCorrectedTileLayer
    Index
    frames: number = 0

    Frames corrected so far.

    • OpenLayers draws neighbouring WebGL layers of the same class name on one canvas, so a layer that colors, corrects or blends what it drew would do it to the layers under it too. Such a layer gets a class name of its own, hence a canvas of its own; the others keep sharing one (a WebGL context fewer each).

      Returns string

    • Colors the corrected map with a color scale (pseudo-color): each pixel by its gray value, black at one end of the scale and white at the other. Meant for monochrome images (a SAR scene, one band); a colored image is colored by its luminance. Null shows the image as corrected. Done on the GPU after the correction, so a new scale only redraws the map; without WebGL2 the map is shown uncolored.

      Parameters

      Returns void

    • Parameters

      • frameState: FrameState | null

        Frame state.

      • target: HTMLElement

        Target which the renderer may (but need not) use for rendering its content.

      Returns HTMLElement

      The rendered element.