| synopsis || arguments || prev || next |

jp2_palette::get_signed

Java: Jp2_palette::Get_signed

bool get_signed( int lut_idx)

Java: boolean Get_signed( int lut_idx)

[Declared in "../apps/compressed_io/jp2.h"]

Go to class description.


Synopsis

Returns true if the indicated lookup table has a signed representation. Otherwise, returns false. Note that Palette LUT outputs are always converted to signed representations anyway, for consistency with Kakadu's general principle of using signed representations for all internal data processing operations.

For this reason, there are not many applications which should need to know whether the representation is signed or unsigned, except when writing the de-palettized samples to a file which is capable of representing either signed or unsigned quantites.


Arguments

lut_idx [int]

Must be in the range 0 through num_luts-1, where num_luts is the value returned by get_num_luts.


| top || synopsis || arguments || prev || next |