| synopsis || arguments || prev || next |
Overload navigation: 1, 2
void get_lut( int lut_idx, float lut[])
Java: void Get_lut( int lut_idx, float[] lut)
[Declared in "../apps/compressed_io/jp2.h"]
Offsets and normalizes the original information for the indicated palette lookup table, writing the result to the supplied lut array. The lut entries are filled out as signed, normalized quantities in the range -0.5 to +0.5.
Must be in the range 0 through num_luts-1, where num_luts is the value returned by get_num_luts.
Regardless of whether get_signed returns true or false, the entries in this array are filled out with signed data, normalized to the range -0.5 to +0.5. The normalization is such that -0.5 corresponds to a value of -2^{B-1} and +0.5 corresponds to a value of +2^{B-1}, where B is the bit-depth returned by get_bit_depth; unsigned LUT outputs may be obtained by adding +0.5 to each entry.