intlut
Convert integer values using lookup table
Syntax
Description
Examples
Input Arguments
Output Arguments
Algorithms
When
A
has data typeuint8
oruint16
, an offset of 1 is applied when indexing into the lookup table. For example, if an element ofA
has the value alpha, then the corresponding element inB
has the valuelut
(alpha+1).When
A
has data typeint16
, an additional offset of 32768 is applied to the lookup table index. For example, if an element ofA
has the value alpha, then the corresponding element inB
has the valuelut
(alpha+32768+1).