On this page
Properties

Interface DecoderOptions

Describes how to read the data value from the input files.

interface DecoderOptions {
    channel: UsedRgbChannel;
    max: number;
    min: number;
}
Index

Properties

Properties

Channel to be used to read the value from - "r"/"g"/"b". If more letters are present ("rg"), each channel is decoded separately and then the vector length is calculated.

Irrelevant when decoding data for VolumeLayer.

max: number

Maximum value encoded in each channel.

min: number

Minimum value encoded in each channel. (Value of 0 in the raster = this value.)

Was this helpful?
SDK JS
Modules
Reference
interfaces
DecoderOptions