On this page

Class GradientColoringFragment

Use color gradient to generate coloring from the pixel values.

Hierarchy (View Summary)

Index

Constructors

Methods

  • Get the value in the unit interval [0, 1] computed with .decode.min and .decode.max

    Parameters

    • value: number

    Returns number

  • Get real world values of the given pixel (with rgb or rgba in [0, 1]) for the channel(s) specified in .decode.channel

    Parameters

    Returns number | number[]

  • Given a value in the unit interval [0, 1] get the real world value bounded by .decode.min and .decode.max

    Parameters

    • value: number

    Returns number

Was this helpful?
SDK JS
Modules
Reference
classes
GradientColoringFragment